예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BankAccountDetail" /> class.
 /// </summary>
 /// <param name="id">Id of this account.</param>
 /// <param name="storeNames">Store Names that are attached to this account.</param>
 /// <param name="accountState">Status of Account.</param>
 /// <param name="stripeConnectedAccountInfo">Information about the Stripe connected account associated with this bank account (if any).</param>
 /// <param name="bankAddress">Address lf the bank.</param>
 /// <param name="bankCountryCode">CountryCode of the Bank Account.</param>
 /// <param name="accountHolderAddress">Account Holders Address.</param>
 /// <param name="accountHolderCountryCode">Account Holders Country Code.</param>
 /// <param name="vatNumber">Account Holders Vat Number.</param>
 /// <param name="currencyCode">Currency of Account.</param>
 /// <param name="storeIds">List of stores to attach to Account.</param>
 /// <param name="bankName">Name of Bank.</param>
 /// <param name="accountName">Name of this account.</param>
 /// <param name="iban">IBAN of this account.</param>
 /// <param name="swift">SWIFT of this bank account.</param>
 /// <param name="nationalClearingCode">National Clearing Code (BSB in Australia, Routing Number in USA/Canada, NCC in NZ).</param>
 /// <param name="populatedAccountFields">A list of one or more populated account fields (field key-value pairs).  If this list contains at least one item, the Iban, Swift and NationalClearingCode fields will be ignored..</param>
 /// <param name="rejectionReason">Reason for Rejection.</param>
 /// <param name="businessType">Business Type.</param>
 public BankAccountDetail(int?id = default(int?), List <string> storeNames = default(List <string>), AccountStateEnum?accountState = default(AccountStateEnum?), StripeConnectedAccountInfo stripeConnectedAccountInfo = default(StripeConnectedAccountInfo), string bankAddress = default(string), string bankCountryCode = default(string), string accountHolderAddress = default(string), string accountHolderCountryCode = default(string), string vatNumber = default(string), CurrencyCodeEnum?currencyCode = default(CurrencyCodeEnum?), List <int?> storeIds = default(List <int?>), string bankName = default(string), string accountName = default(string), string iban = default(string), string swift = default(string), string nationalClearingCode = default(string), List <AccountFieldKeyValuePair> populatedAccountFields = default(List <AccountFieldKeyValuePair>), string rejectionReason = default(string), BusinessTypeEnum?businessType = default(BusinessTypeEnum?))
 {
     this.Id           = id;
     this.StoreNames   = storeNames;
     this.AccountState = accountState;
     this.StripeConnectedAccountInfo = stripeConnectedAccountInfo;
     this.BankAddress              = bankAddress;
     this.BankCountryCode          = bankCountryCode;
     this.AccountHolderAddress     = accountHolderAddress;
     this.AccountHolderCountryCode = accountHolderCountryCode;
     this.VatNumber              = vatNumber;
     this.CurrencyCode           = currencyCode;
     this.StoreIds               = storeIds;
     this.BankName               = bankName;
     this.AccountName            = accountName;
     this.Iban                   = iban;
     this.Swift                  = swift;
     this.NationalClearingCode   = nationalClearingCode;
     this.PopulatedAccountFields = populatedAccountFields;
     this.RejectionReason        = rejectionReason;
     this.BusinessType           = businessType;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BankAccountSummary" /> class.
 /// </summary>
 /// <param name="id">Id of this account.</param>
 /// <param name="storeNames">Store Names that are attached to this account.</param>
 /// <param name="accountState">Status of Account.</param>
 /// <param name="currencyCode">Currency of Account.</param>
 /// <param name="stripeConnectedAccountInfo">Information about the Stripe connected account associated with this bank account (if any).</param>
 /// <param name="accountName">Name of this account.</param>
 /// <param name="iban">IBAN of this account.</param>
 /// <param name="swift">SWIFT of this bank account.</param>
 /// <param name="nationalClearingCode">National Clearing Code (BSB in Australia, Routing Number in USA/Canada, NCC in NZ).</param>
 /// <param name="populatedAccountFields">A list of one or more populated account fields (field key-value pairs).  If this list contains at least one item, the Iban, Swift and NationalClearingCode fields will be ignored..</param>
 /// <param name="rejectionReason">Reason for Rejection.</param>
 /// <param name="businessType">Business Type.</param>
 public BankAccountSummary(int?id = default(int?), List <string> storeNames = default(List <string>), AccountStateEnum?accountState = default(AccountStateEnum?), string currencyCode = default(string), StripeConnectedAccountInfo stripeConnectedAccountInfo = default(StripeConnectedAccountInfo), string accountName = default(string), string iban = default(string), string swift = default(string), string nationalClearingCode = default(string), List <AccountFieldKeyValuePair> populatedAccountFields = default(List <AccountFieldKeyValuePair>), string rejectionReason = default(string), BusinessTypeEnum?businessType = default(BusinessTypeEnum?))
 {
     this.Id           = id;
     this.StoreNames   = storeNames;
     this.AccountState = accountState;
     this.CurrencyCode = currencyCode;
     this.StripeConnectedAccountInfo = stripeConnectedAccountInfo;
     this.AccountName            = accountName;
     this.Iban                   = iban;
     this.Swift                  = swift;
     this.NationalClearingCode   = nationalClearingCode;
     this.PopulatedAccountFields = populatedAccountFields;
     this.RejectionReason        = rejectionReason;
     this.BusinessType           = businessType;
 }