/// <summary> /// Initializes a new instance of the <see cref="CreditCardInformation" /> class. /// </summary> /// <param name="Address">A complex element containing the credit card billing address information. This can be the same as billing address and follows the same rules as billingAddress. It contains the following elements: street1, street2, city, state, zip, zipPlus4, phone, fax, and country..</param> /// <param name="CardNumber">The number on the credit card..</param> /// <param name="CardType">The credit card type. Valid values are: visa, mastercard, or amex..</param> /// <param name="ExpirationMonth">The month that the credit card expires (1-12)..</param> /// <param name="ExpirationYear">The year 4 digit year in which the credit card expires..</param> /// <param name="NameOnCard">The exact name printed on the credit card..</param> public CreditCardInformation(AddressInformation Address = null, string CardNumber = null, string CardType = null, string ExpirationMonth = null, string ExpirationYear = null, string NameOnCard = null) { this.Address = Address; this.CardNumber = CardNumber; this.CardType = CardType; this.ExpirationMonth = ExpirationMonth; this.ExpirationYear = ExpirationYear; this.NameOnCard = NameOnCard; }
/// <summary> /// Initializes a new instance of the <see cref="PaymentProcessorInformation" /> class. /// </summary> /// <param name="Address">.</param> /// <param name="BillingAgreementId">.</param> /// <param name="Email">.</param> public PaymentProcessorInformation(AddressInformation Address = null, string BillingAgreementId = null, string Email = null) { this.Address = Address; this.BillingAgreementId = BillingAgreementId; this.Email = Email; }
/// <summary> /// Initializes a new instance of the <see cref="AddressInformationInput" /> class. /// </summary> /// <param name="AddressInformation">A complex type that contains the following information for the new account (all string content): address1, address2, city, country, fax, phone, postalCode and state. ###### Note: If country is US (United States) then State codes are validated for US States. Otherwise, State is treated as a non-validated string and serves the purpose of entering a state/province/region. The maximum characters for the strings are: * address1, address2, city, country and state: 100 characters * postalCode, phone, and fax: 20 characters .</param> /// <param name="DisplayLevelCode">Specifies the display level for the recipient. Valid values are: * ReadOnly * Editable * DoNotDisplay.</param> /// <param name="ReceiveInResponse">When set to **true**, the information needs to be returned in the response..</param> public AddressInformationInput(AddressInformation AddressInformation = null, string DisplayLevelCode = null, string ReceiveInResponse = null) { this.AddressInformation = AddressInformation; this.DisplayLevelCode = DisplayLevelCode; this.ReceiveInResponse = ReceiveInResponse; }