Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AccountHolderDataOutbound" /> class.
 /// </summary>
 /// <param name="accountHolderName">__(OPTIONAL)__ The name of the cardholder&lt;br&gt; __Max Length:27__ .</param>
 /// <param name="accountHolderAddress">accountHolderAddress.</param>
 /// <param name="accountHolderEmailAddress">__(OPTIONAL)__ The e-mail address of the Account Holder&lt;br&gt; __Max Length:320__ .</param>
 /// <param name="accountHolderMobilePhoneNumber">accountHolderMobilePhoneNumber.</param>
 public AccountHolderDataOutbound(string accountHolderName = default(string), BillingAddress accountHolderAddress = default(BillingAddress), string accountHolderEmailAddress = default(string), PhoneNumber accountHolderMobilePhoneNumber = default(PhoneNumber))
 {
     this.AccountHolderName              = accountHolderName;
     this.AccountHolderAddress           = accountHolderAddress;
     this.AccountHolderEmailAddress      = accountHolderEmailAddress;
     this.AccountHolderMobilePhoneNumber = accountHolderMobilePhoneNumber;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AccountHolderData" /> class.
 /// </summary>
 /// <param name="accountHolderName">__(OPTIONAL)__ The name of the cardholder in the format LASTNAME/FIRSTNAME or FIRSTNAME LASTNAME&lt;br&gt; __Max Length:27__ .</param>
 /// <param name="accountHolderAddress">accountHolderAddress.</param>
 /// <param name="consumerIdentifier">__(OPTIONAL)__ Customer Identifier that may be required in some regions.&lt;br&gt; __Max Length:88__ .</param>
 /// <param name="accountHolderEmailAddress">__(OPTIONAL)__ The e-mail address of the Account Holder&lt;br&gt; __Max Length: 320__ .</param>
 /// <param name="accountHolderMobilePhoneNumber">accountHolderMobilePhoneNumber.</param>
 public AccountHolderData(string accountHolderName = default(string), BillingAddress accountHolderAddress = default(BillingAddress), string consumerIdentifier = default(string), string accountHolderEmailAddress = default(string), PhoneNumber accountHolderMobilePhoneNumber = default(PhoneNumber))
 {
     this.AccountHolderName              = accountHolderName;
     this.AccountHolderAddress           = accountHolderAddress;
     this.ConsumerIdentifier             = consumerIdentifier;
     this.AccountHolderEmailAddress      = accountHolderEmailAddress;
     this.AccountHolderMobilePhoneNumber = accountHolderMobilePhoneNumber;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CardInfoData" /> class.
 /// </summary>
 /// <param name="accountNumber">__(Required as minimum for Tokenization)__ The account number to be encrypted for tokenization. Only supplied if panUniqueReference or tokenUniqueReferenceForPanInfo is not present.   __Min Length:9__&lt;br&gt; __Max Length:19__ .</param>
 /// <param name="expiryMonth">__(Required as minimum for Tokenization)__ The expiry month for the account. Only supplied if panUniqueReference or tokenUniqueReferenceForPanInfo is not present. Two numeric digits must be supplied. __Format: MM__&lt;br&gt; __Exact Length:2__ .</param>
 /// <param name="expiryYear">__(Required as minimum for Tokenization)__  The expiry year for the account. Only supplied if panUniqueReference or tokenUniqueReferenceForPanInfo is not present. &lt;br&gt; __Format: YY__&lt;br&gt; __Exact Length:2__ .</param>
 /// <param name="source">(__Required as minimum for Tokenization__)  The source of the account.   __Max Length:32__ .</param>
 /// <param name="cardholderName">__(OPTIONAL)__ The name of the cardholder&lt;br&gt; __Max Length:27__ .</param>
 /// <param name="securityCode">__(OPTIONAL)__ The security code for the account can optionally be provided for Tokenization. If provided, the validity will be checked.  __Max Length:3__ .</param>
 /// <param name="billingAddress">billingAddress.</param>
 public CardInfoData(string accountNumber = default(string), string expiryMonth = default(string), string expiryYear = default(string), string source = default(string), string cardholderName = default(string), string securityCode = default(string), BillingAddress billingAddress = default(BillingAddress))
 {
     this.AccountNumber  = accountNumber;
     this.ExpiryMonth    = expiryMonth;
     this.ExpiryYear     = expiryYear;
     this.Source         = source;
     this.CardholderName = cardholderName;
     this.SecurityCode   = securityCode;
     this.BillingAddress = billingAddress;
 }