Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AddressBookDTO" /> class.
 /// </summary>
 /// <param name="id">Unique identifier of the address book.</param>
 /// <param name="businessName">Business name.</param>
 /// <param name="fax">Fax number.</param>
 /// <param name="address">Address.</param>
 /// <param name="location">Location.</param>
 /// <param name="postalCode">Postal code.</param>
 /// <param name="province">Province.</param>
 /// <param name="country">Country.</param>
 /// <param name="email">Enail address.</param>
 /// <param name="phoneNumber">Phone number.</param>
 /// <param name="cellPhone">Call phone number.</param>
 /// <param name="state">Possible values:  0: Active  1: NotActive .</param>
 /// <param name="type">Possible values:  0: User  1: Group  2: Business .</param>
 /// <param name="addressBookCategoryId">Unique identifier of the category.</param>
 /// <param name="businessUnit">BusinessUnit code.</param>
 /// <param name="_class">Class.</param>
 /// <param name="fiscalCode">Fiscal Code.</param>
 /// <param name="vatNumber">Partita Iva.</param>
 /// <param name="priority">Possible values:  0: NoSend  1: Fax  2: Email  3: Fax_Email  4: Email_Fax  5: Fax_Plus_Mail  6: Print .</param>
 /// <param name="addressBookBusinessUnitCode">Business Unit code for not internal user.</param>
 /// <param name="addressBookNote">Note.</param>
 /// <param name="externalCode">External Code.</param>
 /// <param name="additionalFields">Additional fields.</param>
 /// <param name="contacts">Contacts.</param>
 public AddressBookDTO(int?id = default(int?), string businessName = default(string), string fax = default(string), string address = default(string), string location = default(string), string postalCode = default(string), string province = default(string), string country = default(string), string email = default(string), string phoneNumber = default(string), string cellPhone = default(string), int?state = default(int?), int?type = default(int?), int?addressBookCategoryId = default(int?), string businessUnit = default(string), string _class = default(string), string fiscalCode = default(string), string vatNumber = default(string), int?priority = default(int?), string addressBookBusinessUnitCode = default(string), string addressBookNote = default(string), string externalCode = default(string), AdditionalConcreteFields additionalFields = default(AdditionalConcreteFields), List <ContactDTO> contacts = default(List <ContactDTO>))
 {
     this.Id                          = id;
     this.BusinessName                = businessName;
     this.Fax                         = fax;
     this.Address                     = address;
     this.Location                    = location;
     this.PostalCode                  = postalCode;
     this.Province                    = province;
     this.Country                     = country;
     this.Email                       = email;
     this.PhoneNumber                 = phoneNumber;
     this.CellPhone                   = cellPhone;
     this.State                       = state;
     this.Type                        = type;
     this.AddressBookCategoryId       = addressBookCategoryId;
     this.BusinessUnit                = businessUnit;
     this.Class                       = _class;
     this.FiscalCode                  = fiscalCode;
     this.VatNumber                   = vatNumber;
     this.Priority                    = priority;
     this.AddressBookBusinessUnitCode = addressBookBusinessUnitCode;
     this.AddressBookNote             = addressBookNote;
     this.ExternalCode                = externalCode;
     this.AdditionalFields            = additionalFields;
     this.Contacts                    = contacts;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AddressBookDTO" /> class.
 /// </summary>
 /// <param name="Id">Unique identifier of the address book.</param>
 /// <param name="BusinessName">Business name.</param>
 /// <param name="Fax">Fax number.</param>
 /// <param name="Address">Address.</param>
 /// <param name="Location">Location.</param>
 /// <param name="PostalCode">Postal code.</param>
 /// <param name="Province">Province.</param>
 /// <param name="Country">Country.</param>
 /// <param name="Email">Enail address.</param>
 /// <param name="PhoneNumber">Phone number.</param>
 /// <param name="CellPhone">Call phone number.</param>
 /// <param name="State">Possible values:  0: Active  1: NotActive .</param>
 /// <param name="Type">Possible values:  0: User  1: Group  2: Business .</param>
 /// <param name="AddressBookCategoryId">Unique identifier of the category.</param>
 /// <param name="BusinessUnit">BusinessUnit code.</param>
 /// <param name="_Class">Class.</param>
 /// <param name="FiscalCode">Fiscal Code.</param>
 /// <param name="VatNumber">Partita Iva.</param>
 /// <param name="Priority">Possible values:  0: NoSend  1: Fax  2: Email  3: Fax_Email  4: Email_Fax  5: Fax_Plus_Mail  6: Print .</param>
 /// <param name="AddressBookBusinessUnitCode">Business Unit code for not internal user.</param>
 /// <param name="AddressBookNote">Note.</param>
 /// <param name="ExternalCode">External Code.</param>
 /// <param name="AdditionalFields">Additional fields.</param>
 /// <param name="Contacts">Contacts.</param>
 public AddressBookDTO(int?Id = default(int?), string BusinessName = default(string), string Fax = default(string), string Address = default(string), string Location = default(string), string PostalCode = default(string), string Province = default(string), string Country = default(string), string Email = default(string), string PhoneNumber = default(string), string CellPhone = default(string), int?State = default(int?), int?Type = default(int?), int?AddressBookCategoryId = default(int?), string BusinessUnit = default(string), string _Class = default(string), string FiscalCode = default(string), string VatNumber = default(string), int?Priority = default(int?), string AddressBookBusinessUnitCode = default(string), string AddressBookNote = default(string), string ExternalCode = default(string), AdditionalConcreteFields AdditionalFields = default(AdditionalConcreteFields), List <ContactDTO> Contacts = default(List <ContactDTO>))
 {
     this.Id                          = Id;
     this.BusinessName                = BusinessName;
     this.Fax                         = Fax;
     this.Address                     = Address;
     this.Location                    = Location;
     this.PostalCode                  = PostalCode;
     this.Province                    = Province;
     this.Country                     = Country;
     this.Email                       = Email;
     this.PhoneNumber                 = PhoneNumber;
     this.CellPhone                   = CellPhone;
     this.State                       = State;
     this.Type                        = Type;
     this.AddressBookCategoryId       = AddressBookCategoryId;
     this.BusinessUnit                = BusinessUnit;
     this._Class                      = _Class;
     this.FiscalCode                  = FiscalCode;
     this.VatNumber                   = VatNumber;
     this.Priority                    = Priority;
     this.AddressBookBusinessUnitCode = AddressBookBusinessUnitCode;
     this.AddressBookNote             = AddressBookNote;
     this.ExternalCode                = ExternalCode;
     this.AdditionalFields            = AdditionalFields;
     this.Contacts                    = Contacts;
 }