Exemplo n.º 1
0
 public BaseQR(Enums.Version version, Enums.InvoiceType type, string name, string companyId)
 {
     Version   = version;
     Type      = type;
     Name      = name;
     CompanyId = companyId;
 }
Exemplo n.º 2
0
        public Invoice()
        {
            this._accountid = string.Empty;
            this._transactionid = 0;
            this._type = C5.Enums.InvoiceType.Invoice;

            this._date = DateTime.Now;
            this._duedate = DateTime.Now;

            this._name = string.Empty;
            this._address1 = string.Empty;
            this._address2 = string.Empty;
            this._city = string.Empty;
            this._zipcode = string.Empty;
            this._attention = string.Empty;

            this._total = 0;
            this._subtotal = 0;
            this._vat = 0;

            this._lines = new List<InvoiceLine> ();
        }