Ejemplo n.º 1
0
 public Address(ltext token_prefix,
                string _StreetName,
                string _HouseNumber,
                string _ZIP,
                string _City,
                string _Country,
                string _State
                )
 {
     StreetName = _StreetName;
     HouseNumber = _HouseNumber;
     ZIP = _ZIP;
     City = _City;
     Country= _Country;
     State = _State;
     ltext ltAddress_prefix = token_prefix.AddAtTheEnd(lngToken.st_Address);
     token = new AddressToken(ltAddress_prefix,
                             StreetName,
                             HouseNumber,
                             ZIP,
                             City,
                             Country,
                             State
                             );
 }
Ejemplo n.º 2
0
        public Organisation(ltext token_prefix,
                            string _Name,
                            string _Tax_ID,
                            string _Registration_ID,
                            string _Atom_Office_Name,
                            string _BankName,
                            string _TRR,
                            string _Email,
                            string _HomePage,
                            string _PhoneNumber,
                            string _FaxNumber,
                            byte[] _Logo_Data,
                            string _StreetName,
                            string _HouseNumber,
                            string _ZIP,
                            string _City,
                            string _Country,
                            string _State
                            
                            )
        {
            Name = _Name;
            Tax_ID =                _Tax_ID;
            Registration_ID =       _Registration_ID;
            Atom_Office_Name =      _Atom_Office_Name;
            BankName =              _BankName;
            TRR =                   _TRR;
            Email =                 _Email;
            HomePage =              _HomePage;
            PhoneNumber =           _PhoneNumber;
            FaxNumber =             _FaxNumber;
            Logo_Data =             _Logo_Data;

            ltext token_prefix_Organisation = token_prefix.AddAtTheEnd(lngToken.st_Organisation);
            Address = new Address(token_prefix_Organisation,
                                    _StreetName,
                                    _HouseNumber,
                                    _ZIP,
                                    _City,
                                    _Country,
                                    _State);

            token = new OrganisationToken(token_prefix_Organisation,
                                            Name,
                                            Tax_ID,
                                            Registration_ID,
                                            Atom_Office_Name,
                                            BankName,
                                            TRR,
                                            Email,
                                            HomePage,
                                            PhoneNumber,
                                            FaxNumber,
                                            Logo_Data);
        }
Ejemplo n.º 3
0
 public Address(ltext token_prefix)
 {
     StreetName = "";
     HouseNumber = "";
     ZIP = "";
     City = "";
     Country= "";
     State = "";
     ltext ltAddress_prefix = token_prefix.AddAtTheEnd(lngToken.st_Address);
     token = new AddressToken(ltAddress_prefix);
 }
Ejemplo n.º 4
0
 public Person(ltext token_prefix,
                 bool _Gender,
                 string _FirstName,
                 string _LastName,
                 DateTime _DateOfBirth,
                 string _Tax_ID,
                 string _Registration_ID,
                 string _MobilePhoneNumber,
                 string _PhoneNumber,
                 string _Email,
                 string _CardNumber,
                 string _CardType,
                 byte[] _PersonImage,
                 string _StreetName,
                 string _HouseNumber,
                 string _ZIP,
                 string _City,
                 string _Country,
                 string _State
                 )
 {
     Gender = _Gender;
     FirstName = _FirstName;
     LastName = _LastName;
     DateOfBirth = _DateOfBirth;
     Tax_ID = _Tax_ID;
     Registration_ID = _Registration_ID;
     MobilePhoneNumber = _MobilePhoneNumber;
     PhoneNumber = _PhoneNumber;
     Email = _Email;
     CardNumber = _CardNumber;
     CardType = _CardType;
     PersonImage = _PersonImage;
     ltext token_prefix_Person = token_prefix.AddAtTheEnd(lngToken.st_Person);
     Address = new Address(token_prefix_Person, _StreetName,
                                    _HouseNumber,
                                    _ZIP,
                                    _City,
                                    _Country,
                                    _State);
     token = new PersonToken(token_prefix_Person,
                             Gender,
                             FirstName,
                             LastName,
                             DateOfBirth,
                             Tax_ID,
                             Registration_ID,
                             MobilePhoneNumber,
                             PhoneNumber,
                             Email,
                             CardNumber,
                             CardType);
 }
Ejemplo n.º 5
0
 public ItemSold(ltext token_prefix, ltext lt_StoreDivision,
                 string _Item_Name,
                 decimal _RetailPricePerUnit,
                 string _UnitName,
                 decimal _RetailPricePerUnitWithDiscount,
                 string _TaxationName,
                 decimal _dQuantity,
                 decimal _Discount,
                 decimal _ExtraDiscount,
                 string _CurrencySymbol,
                 decimal _TaxationRate,
                 decimal _TotalDiscount,
                 decimal _NetPrice,
                 decimal _TaxPrice,
                 decimal _PriceWithTax
                 )
 {
     StoreDivision = lt_StoreDivision.s;
     Item_Name = _Item_Name;
     RetailPricePerUnit = _RetailPricePerUnit;
     UnitName = _UnitName;
     RetailPricePerUnitWithDiscount = _RetailPricePerUnitWithDiscount;
     TaxationName = _TaxationName;
     dQuantity = _dQuantity;
     Discount = _Discount;
     ExtraDiscount = _ExtraDiscount;
     CurrencySymbol = _CurrencySymbol;
     TaxationRate = _TaxationRate;
     TotalDiscount = _TotalDiscount;
     NetPrice = _NetPrice;
     TaxPrice = _TaxPrice;
     PriceWithTax = _PriceWithTax;
     ltext token_ItemSold = token_prefix.AddAtTheEnd(lngToken.st_Item);
     token = new ItemSoldToken(token_ItemSold,
                              lt_StoreDivision,
                             _Item_Name,
                             _RetailPricePerUnit,
                             _UnitName,
                             _RetailPricePerUnitWithDiscount,
                             _TaxationName,
                             _dQuantity,
                             _Discount,
                             _ExtraDiscount,
                             _CurrencySymbol,
                             _TaxationRate,
                             _TotalDiscount,
                             _NetPrice,
                             _TaxPrice,
                             _PriceWithTax);
 }
Ejemplo n.º 6
0
        public Person(ltext token_prefix)
        {
            Gender = false;
            FirstName = "";
            LastName = "";
            DateOfBirth = DateTime.MinValue;
            Tax_ID = "";
            Registration_ID = "";
            MobilePhoneNumber = "";
            PhoneNumber = "";
            Email = "";
            CardNumber = "";
            CardType = "";
            PersonImage = null;
            ltext token_prefix_Person = token_prefix.AddAtTheEnd(lngToken.st_Person);
            Address = new Address(token_prefix_Person);

            token = new PersonToken(token_prefix_Person);
        }
Ejemplo n.º 7
0
 public Organisation(ltext token_prefix)
 {
     Name = "";
     Tax_ID = "";
     Registration_ID = "";
     Atom_Office_Name = "";
     BankName = "";
     TRR = "";
     Email = "";
     HomePage = "";
     PhoneNumber ="";
     FaxNumber = "";
     Logo_Data = null;
     ltext token_prefix_Organisation = token_prefix.AddAtTheEnd(lngToken.st_Organisation);
     Address = new Address(token_prefix_Organisation);
     token = new OrganisationToken(token_prefix_Organisation);
 }