Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentMethodResource" /> class.
 /// </summary>
 /// <param name="_Default">_Default.</param>
 /// <param name="Disabled">Whether this payment method is disabled or not.</param>
 /// <param name="ExpirationDate">The expiration date for the payment method, expressed as seconds since epoch. Typically used for credit card payment methods.</param>
 /// <param name="ExpirationMonth">The expiration month (1 - 12) for the payment method. Typically used for credit card payment methods.</param>
 /// <param name="ExpirationYear">The expiration year for the payment method. Typically used for credit card payment methods.</param>
 /// <param name="Last4">The last 4 digits of the account number for the payment method. Typically used for credit card payment methods.</param>
 /// <param name="Name">The user friendly name of the resource (required).</param>
 /// <param name="PaymentMethodType">The type of payment method. Must be a pre-existing value (required).</param>
 /// <param name="PaymentType">The generic payment type. Default is card.</param>
 /// <param name="Sort">The sort value for the payment method.</param>
 /// <param name="Token">The unique token for the payment method.</param>
 /// <param name="UniqueKey">An optional unique identifier.</param>
 /// <param name="UserId">The user&#39;s id. If null, indicates a shared payment method that any user can use (i.e., &#39;wallet&#39;).</param>
 /// <param name="Verified">Verified.</param>
 public PaymentMethodResource(bool?_Default = default(bool?), bool?Disabled = default(bool?), long?ExpirationDate = default(long?), int?ExpirationMonth = default(int?), int?ExpirationYear = default(int?), string Last4 = default(string), string Name = default(string), PaymentMethodTypeResource PaymentMethodType = default(PaymentMethodTypeResource), PaymentTypeEnum?PaymentType = default(PaymentTypeEnum?), int?Sort = default(int?), string Token = default(string), string UniqueKey = default(string), int?UserId = default(int?), bool?Verified = default(bool?))
 {
     // to ensure "Name" is required (not null)
     if (Name == null)
     {
         throw new InvalidDataException("Name is a required property for PaymentMethodResource and cannot be null");
     }
     else
     {
         this.Name = Name;
     }
     // to ensure "PaymentMethodType" is required (not null)
     if (PaymentMethodType == null)
     {
         throw new InvalidDataException("PaymentMethodType is a required property for PaymentMethodResource and cannot be null");
     }
     else
     {
         this.PaymentMethodType = PaymentMethodType;
     }
     this._Default        = _Default;
     this.Disabled        = Disabled;
     this.ExpirationDate  = ExpirationDate;
     this.ExpirationMonth = ExpirationMonth;
     this.ExpirationYear  = ExpirationYear;
     this.Last4           = Last4;
     this.PaymentType     = PaymentType;
     this.Sort            = Sort;
     this.Token           = Token;
     this.UniqueKey       = UniqueKey;
     this.UserId          = UserId;
     this.Verified        = Verified;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EArchiveFormAttributesInternetSale" /> class.
 /// </summary>
 /// <param name="url">İnternet adresi.</param>
 /// <param name="paymentType">Ödeme tipi.</param>
 /// <param name="paymentPlatform">Ödeme platformu - *(iyzico, payu gibi)*.</param>
 /// <param name="paymentDate">Ödeme tarihi.</param>
 public EArchiveFormAttributesInternetSale(string url = default(string), PaymentTypeEnum?paymentType = default(PaymentTypeEnum?), string paymentPlatform = default(string), DateTime?paymentDate = default(DateTime?))
 {
     this.Url             = url;
     this.PaymentType     = paymentType;
     this.PaymentPlatform = paymentPlatform;
     this.PaymentDate     = paymentDate;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CompanyIdeArchivesDataAttributesInternetSale" /> class.
 /// </summary>
 /// <param name="Url">İnternet adresi.</param>
 /// <param name="PaymentType">Ödeme tipi.</param>
 /// <param name="PaymentPlatform">Ödeme platformu - *(iyzico, payu gibi)*.</param>
 /// <param name="PaymentDate">Ödeme tarihi.</param>
 public CompanyIdeArchivesDataAttributesInternetSale(string Url = default(string), PaymentTypeEnum?PaymentType = default(PaymentTypeEnum?), string PaymentPlatform = default(string), DateTime?PaymentDate = default(DateTime?))
 {
     this.Url             = Url;
     this.PaymentType     = PaymentType;
     this.PaymentPlatform = PaymentPlatform;
     this.PaymentDate     = PaymentDate;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UpdatePersonalAccountForm" /> class.
 /// </summary>
 /// <param name="numberRangeNumber">numberRangeNumber (Kreditoren-/Debitoren-Nummernkreis), the number of the number range for the personal account. If personalAccountNumber is not provided, the first available number for the provided numberRangeNumber is generated for the personal account.   If numberRangeNumber not provided,  the first found number range will be used. We recommend setting \&quot;numberRangeNumber\&quot; if more than one number ranges for this account type(debitor or kreditor) exist otherwise errors may occur if the number range is full.  The default number ranges in the Scopevisio desktop applications are \&quot;2\&quot; for debitors and \&quot;3\&quot; for creditors.</param>
 /// <param name="group">group (Kundengruppe/Kreditorengruppe), if the given group does not exist, it is created and assigned to the personal account..</param>
 /// <param name="vatCode">vatCode(Steuerkennzeichen) for the personal account. Please see vat matrix (Steuermatrix) in the Scopevisio client if you wish other than the standard allowable values..</param>
 /// <param name="paymentType">paymentType(Zahlungsart) for the pesonal account..</param>
 /// <param name="vatNumber">vatNumber(Steuernummer).</param>
 /// <param name="vatId">vatId (Umsatzsteuer-ID).</param>
 /// <param name="currency">currency(Währung), the ISO 4217 alphabetic currency code.</param>
 /// <param name="language">language(Sprache), please check the Scopeviso client application for allowable values.</param>
 /// <param name="paymentTermId">paymentTermId (Zahlungsbedingung id), the id of the wished payment term for the personal account. If an existing paymentTerm should be assigned to the personal account, then use \&quot;paymentTermId\&quot; . If a new paymentTerm should be created, use the parameter \&quot;paymentTermForm\&quot;. If both \&quot;paymentTermId\&quot; and \&quot;paymentTermForm\&quot; are provided, a payment term with the given \&quot;paymentTermId\&quot; is searched. If not found,the \&quot;paymentTermForm\&quot; is used. If a payment term with the given name is found, then it is assigned to the personal account, a new payment term is created otherwise..</param>
 /// <param name="paymentTermForm">paymentTermForm.</param>
 public UpdatePersonalAccountForm(long numberRangeNumber = default(long), string group = default(string), VatCodeEnum?vatCode = default(VatCodeEnum?), PaymentTypeEnum?paymentType = default(PaymentTypeEnum?), string vatNumber = default(string), string vatId = default(string), string currency = default(string), string language = default(string), long paymentTermId = default(long), PaymentTermForm paymentTermForm = default(PaymentTermForm))
 {
     this.NumberRangeNumber = numberRangeNumber;
     this.Group             = group;
     this.VatCode           = vatCode;
     this.PaymentType       = paymentType;
     this.VatNumber         = vatNumber;
     this.VatId             = vatId;
     this.Currency          = currency;
     this.Language          = language;
     this.PaymentTermId     = paymentTermId;
     this.PaymentTermForm   = paymentTermForm;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="InvoiceUpdateParams" /> class.
 /// </summary>
 /// <param name="bookingDate">売上計上日.</param>
 /// <param name="companyAddress1">市区町村・番地 (デフォルトは事業所設定情報が補完されます).</param>
 /// <param name="companyAddress2">建物名・部屋番号など (デフォルトは事業所設定情報が補完されます).</param>
 /// <param name="companyContactInfo">事業所担当者名 (デフォルトは事業所設定情報が補完されます).</param>
 /// <param name="companyId">事業所ID (required).</param>
 /// <param name="companyName">事業所名 (デフォルトは事業所設定情報が補完されます).</param>
 /// <param name="companyPrefectureCode">都道府県コード(0:北海道、1:青森、2:岩手、3:宮城、4:秋田、5:山形、6:福島、7:茨城、8:栃木、9:群馬、10:埼玉、11:千葉、12:東京、13:神奈川、14:新潟、15:富山、16:石川、17:福井、18:山梨、19:長野、20:岐阜、21:静岡、22:愛知、23:三重、24:滋賀、25:京都、26:大阪、27:兵庫、28:奈良、29:和歌山、30:鳥取、31:島根、32:岡山、33:広島、34:山口、35:徳島、36:香川、37:愛媛、38:高知、39:福岡、40:佐賀、41:長崎、42:熊本、43:大分、44:宮崎、45:鹿児島、46:沖縄) (デフォルトは事業所設定情報が補完されます).</param>
 /// <param name="companyZipcode">郵便番号 (デフォルトは事業所設定情報が補完されます).</param>
 /// <param name="description">概要.</param>
 /// <param name="dueDate">期日 (yyyy-mm-dd).</param>
 /// <param name="invoiceContents">請求内容.</param>
 /// <param name="invoiceLayout">請求書レイアウト * &#x60;default_classic&#x60; - レイアウト1/クラシック (デフォルト)  * &#x60;standard_classic&#x60; - レイアウト2/クラシック  * &#x60;envelope_classic&#x60; - 封筒1/クラシック  * &#x60;carried_forward_standard_classic&#x60; - レイアウト3(繰越金額欄あり)/クラシック  * &#x60;carried_forward_envelope_classic&#x60; - 封筒2(繰越金額欄あり)/クラシック  * &#x60;default_modern&#x60; - レイアウト1/モダン  * &#x60;standard_modern&#x60; - レイアウト2/モダン  * &#x60;envelope_modern&#x60; - 封筒/モダン.</param>
 /// <param name="invoiceNumber">請求書番号 (デフォルト: 自動採番されます).</param>
 /// <param name="invoiceStatus">請求書ステータス  (draft: 下書き (デフォルト), issue: 発行(請求先ワークフローを利用している場合は承認済の請求書にのみ指定できます)).</param>
 /// <param name="issueDate">請求日 (yyyy-mm-dd).</param>
 /// <param name="message">メッセージ (デフォルト: 下記の通りご請求申し上げます。).</param>
 /// <param name="notes">備考.</param>
 /// <param name="partnerAddress1">取引先市区町村・番地 (デフォルトはpartner_idもしくははpartner_codeで指定された取引先設定情報が補完されます).</param>
 /// <param name="partnerAddress2">取引先建物名・部屋番号など (デフォルトはpartner_idもしくははpartner_codeで指定された取引先設定情報が補完されます).</param>
 /// <param name="partnerCode">取引先コード.</param>
 /// <param name="partnerContactInfo">取引先担当者名.</param>
 /// <param name="partnerDisplayName">請求書に表示する取引先名 (required).</param>
 /// <param name="partnerId">取引先ID.</param>
 /// <param name="partnerPrefectureCode">取引先都道府県コード(0:北海道、1:青森、2:岩手、3:宮城、4:秋田、5:山形、6:福島、7:茨城、8:栃木、9:群馬、10:埼玉、11:千葉、12:東京、13:神奈川、14:新潟、15:富山、16:石川、17:福井、18:山梨、19:長野、20:岐阜、21:静岡、22:愛知、23:三重、24:滋賀、25:京都、26:大阪、27:兵庫、28:奈良、29:和歌山、30:鳥取、31:島根、32:岡山、33:広島、34:山口、35:徳島、36:香川、37:愛媛、38:高知、39:福岡、40:佐賀、41:長崎、42:熊本、43:大分、44:宮崎、45:鹿児島、46:沖縄) (デフォルトはpartner_idもしくははpartner_codeで指定された取引先設定情報が補完されます).</param>
 /// <param name="partnerTitle">敬称(御中、様、(空白)の3つから選択) (required).</param>
 /// <param name="partnerZipcode">取引先郵便番号 (デフォルトはpartner_idもしくははpartner_codeで指定された取引先設定情報が補完されます).</param>
 /// <param name="paymentBankInfo">支払口座.</param>
 /// <param name="paymentType">支払方法 (振込: transfer, 引き落とし: direct_debit).</param>
 /// <param name="taxEntryMethod">請求書の消費税計算方法(inclusive: 内税表示, exclusive: 外税表示 (デフォルト)).</param>
 /// <param name="title">タイトル (デフォルト: 請求書).</param>
 /// <param name="useVirtualTransferAccount">振込専用口座の利用(利用しない: not_use(デフォルト), 利用する: use).</param>
 public InvoiceUpdateParams(string bookingDate = default(string), string companyAddress1 = default(string), string companyAddress2 = default(string), string companyContactInfo = default(string), int companyId = default(int), string companyName = default(string), int companyPrefectureCode = default(int), string companyZipcode = default(string), string description = default(string), string dueDate = default(string), List <InvoiceUpdateParamsInvoiceContents> invoiceContents = default(List <InvoiceUpdateParamsInvoiceContents>), InvoiceLayoutEnum?invoiceLayout = default(InvoiceLayoutEnum?), string invoiceNumber = default(string), InvoiceStatusEnum?invoiceStatus = default(InvoiceStatusEnum?), string issueDate = default(string), string message = default(string), string notes = default(string), string partnerAddress1 = default(string), string partnerAddress2 = default(string), string partnerCode = default(string), string partnerContactInfo = default(string), string partnerDisplayName = default(string), int?partnerId = default(int?), int partnerPrefectureCode = default(int), string partnerTitle = default(string), string partnerZipcode = default(string), string paymentBankInfo = default(string), PaymentTypeEnum?paymentType = default(PaymentTypeEnum?), TaxEntryMethodEnum?taxEntryMethod = default(TaxEntryMethodEnum?), string title = default(string), UseVirtualTransferAccountEnum?useVirtualTransferAccount = default(UseVirtualTransferAccountEnum?))
 {
     this.CompanyId = companyId;
     // to ensure "partnerDisplayName" is required (not null)
     this.PartnerDisplayName = partnerDisplayName ?? throw new ArgumentNullException("partnerDisplayName is a required property for InvoiceUpdateParams and cannot be null");
     // to ensure "partnerTitle" is required (not null)
     this.PartnerTitle          = partnerTitle ?? throw new ArgumentNullException("partnerTitle is a required property for InvoiceUpdateParams and cannot be null");
     this.BookingDate           = bookingDate;
     this.CompanyAddress1       = companyAddress1;
     this.CompanyAddress2       = companyAddress2;
     this.CompanyContactInfo    = companyContactInfo;
     this.CompanyName           = companyName;
     this.CompanyPrefectureCode = companyPrefectureCode;
     this.CompanyZipcode        = companyZipcode;
     this.Description           = description;
     this.DueDate                   = dueDate;
     this.InvoiceContents           = invoiceContents;
     this.InvoiceLayout             = invoiceLayout;
     this.InvoiceNumber             = invoiceNumber;
     this.InvoiceStatus             = invoiceStatus;
     this.IssueDate                 = issueDate;
     this.Message                   = message;
     this.Notes                     = notes;
     this.PartnerAddress1           = partnerAddress1;
     this.PartnerAddress2           = partnerAddress2;
     this.PartnerCode               = partnerCode;
     this.PartnerContactInfo        = partnerContactInfo;
     this.PartnerId                 = partnerId;
     this.PartnerPrefectureCode     = partnerPrefectureCode;
     this.PartnerZipcode            = partnerZipcode;
     this.PaymentBankInfo           = paymentBankInfo;
     this.PaymentType               = paymentType;
     this.TaxEntryMethod            = taxEntryMethod;
     this.Title                     = title;
     this.UseVirtualTransferAccount = useVirtualTransferAccount;
 }
Пример #6
0
        /// <summary>
        /// Initializes a new instance of the <see cref="PhoneNumberInfo" /> class.
        /// Initializes a new instance of the <see cref="PhoneNumberInfo" />class.
        /// </summary>
        /// <param name="Id">Internal identifier of a phone number.</param>
        /// <param name="Country">Country.</param>
        /// <param name="Extension">Extension.</param>
        /// <param name="Features">Indicates if this phone number is enabled to appear as CallerId and/or to send outbound SMS from it. Returned only for the request of Extension phone number list.</param>
        /// <param name="Location">Location (City, State). Filled for local US numbers.</param>
        /// <param name="PaymentType">Payment type. &#39;External&#39; is returned for forwarded numbers which are not terminated in the RingCentral phone system.</param>
        /// <param name="PhoneNumber">Phone number.</param>
        /// <param name="Status">Status of a phone number. If the value is &#39;Normal&#39;, the phone number is ready to be used. Otherwise it is an external number not yet ported to RingCentral.</param>
        /// <param name="Type">Phone number type.</param>
        /// <param name="UsageType">Usage type of the phone number.</param>

        public PhoneNumberInfo(int?Id = null, CountryInfo Country = null, PhoneNumberInfoExtensionInfo Extension = null, List <string> Features = null, string Location = null, PaymentTypeEnum?PaymentType = null, string PhoneNumber = null, string Status = null, TypeEnum?Type = null, UsageTypeEnum?UsageType = null)
        {
            this.Id          = Id;
            this.Country     = Country;
            this.Extension   = Extension;
            this.Features    = Features;
            this.Location    = Location;
            this.PaymentType = PaymentType;
            this.PhoneNumber = PhoneNumber;
            this.Status      = Status;
            this.Type        = Type;
            this.UsageType   = UsageType;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="PhoneLinesInfoPhoneNumberInfo" /> class.
        /// Initializes a new instance of the <see cref="PhoneLinesInfoPhoneNumberInfo" />class.
        /// </summary>
        /// <param name="Id">Internal identifier of a phone number.</param>
        /// <param name="Country">Country.</param>
        /// <param name="Location">Location (City, State). Filled for local US numbers.</param>
        /// <param name="PaymentType">Payment type. &#39;External&#39; is returned for forwarded numbers which are not terminated in the RingCentral phone system.</param>
        /// <param name="PhoneNumber">Phone number.</param>
        /// <param name="Status">Status of a phone number. If the value is &#39;Normal&#39;, the phone number is ready to be used. Otherwise it is an external number not yet ported to RingCentral.</param>
        /// <param name="Type">Phone number type.</param>
        /// <param name="UsageType">Usage type of the phone number.</param>

        public PhoneLinesInfoPhoneNumberInfo(int?Id = null, CountryInfo Country = null, string Location = null, PaymentTypeEnum?PaymentType = null, string PhoneNumber = null, string Status = null, TypeEnum?Type = null, UsageTypeEnum?UsageType = null)
        {
            this.Id          = Id;
            this.Country     = Country;
            this.Location    = Location;
            this.PaymentType = PaymentType;
            this.PhoneNumber = PhoneNumber;
            this.Status      = Status;
            this.Type        = Type;
            this.UsageType   = UsageType;
        }
Пример #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InvoicesUpdateParams" /> class.
 /// </summary>
 /// <param name="companyId">事業所ID (required).</param>
 /// <param name="issueDate">請求日 (yyyy-mm-dd).</param>
 /// <param name="partnerId">取引先ID.</param>
 /// <param name="partnerCode">取引先コード.</param>
 /// <param name="invoiceNumber">請求書番号 (デフォルト: 自動採番されます).</param>
 /// <param name="title">タイトル (デフォルト: 請求書).</param>
 /// <param name="dueDate">期日 (yyyy-mm-dd).</param>
 /// <param name="bookingDate">売上計上日.</param>
 /// <param name="description">概要.</param>
 /// <param name="invoiceStatus">請求書ステータス  (draft: 下書き (デフォルト), issue: 発行(請求先ワークフローを利用している場合は承認済の請求書にのみ指定できます)).</param>
 /// <param name="partnerName">取引先名.</param>
 /// <param name="partnerTitle">敬称(御中、様、(空白)の3つから選択).</param>
 /// <param name="partnerContactInfo">取引先担当者名.</param>
 /// <param name="companyName">事業所名 (デフォルトは事業所設定情報が補完されます).</param>
 /// <param name="companyZipcode">郵便番号 (デフォルトは事業所設定情報が補完されます).</param>
 /// <param name="companyPrefectureCode">都道府県コード(0:北海道、1:青森、2:岩手、3:宮城、4:秋田、5:山形、6:福島、7:茨城、8:栃木、9:群馬、10:埼玉、11:千葉、12:東京、13:神奈川、14:新潟、15:富山、16:石川、17:福井、18:山梨、19:長野、20:岐阜、21:静岡、22:愛知、23:三重、24:滋賀、25:京都、26:大阪、27:兵庫、28:奈良、29:和歌山、30:鳥取、31:島根、32:岡山、33:広島、34:山口、35:徳島、36:香川、37:愛媛、38:高知、39:福岡、40:佐賀、41:長崎、42:熊本、43:大分、44:宮崎、45:鹿児島、46:沖縄) (デフォルトは事業所設定情報が補完されます).</param>
 /// <param name="companyAddress1">市区町村・番地 (デフォルトは事業所設定情報が補完されます).</param>
 /// <param name="companyAddress2">建物名・部屋番号など (デフォルトは事業所設定情報が補完されます).</param>
 /// <param name="companyContactInfo">事業所担当者名 (デフォルトは事業所設定情報が補完されます).</param>
 /// <param name="paymentType">支払方法 (振込: transfer, 引き落とし: direct_debit).</param>
 /// <param name="paymentBankInfo">支払口座.</param>
 /// <param name="useVirtualTransferAccount">振込専用口座の利用(利用しない: not_use(デフォルト), 利用する: use).</param>
 /// <param name="message">メッセージ (デフォルト: 下記の通りご請求申し上げます。).</param>
 /// <param name="notes">備考.</param>
 /// <param name="invoiceLayout">レイアウト(default_classic: レイアウト1/クラシック (デフォルト), standard_classic: レイアウト2/クラシック, envelope_classic: 封筒1/クラシック, carried_forward_standard_classic: レイアウト3(繰越金額欄あり)/クラシック, carried_forward_envelope_classic: 封筒2(繰越金額欄あり)/クラシック, default_modern: レイアウト1/モダン, standard_modern: レイアウト2/モダン, envelope_modern: 封筒/モダン).</param>
 /// <param name="taxEntryMethod">請求書の消費税計算方法(inclusive: 内税表示, exclusive: 外税表示 (デフォルト)).</param>
 /// <param name="invoiceContents">請求内容.</param>
 public InvoicesUpdateParams(int companyId = default(int), string issueDate = default(string), int partnerId = default(int), string partnerCode = default(string), string invoiceNumber = default(string), string title = default(string), string dueDate = default(string), string bookingDate = default(string), string description = default(string), InvoiceStatusEnum?invoiceStatus = default(InvoiceStatusEnum?), string partnerName = default(string), string partnerTitle = default(string), string partnerContactInfo = default(string), string companyName = default(string), string companyZipcode = default(string), int companyPrefectureCode = default(int), string companyAddress1 = default(string), string companyAddress2 = default(string), string companyContactInfo = default(string), PaymentTypeEnum?paymentType = default(PaymentTypeEnum?), string paymentBankInfo = default(string), UseVirtualTransferAccountEnum?useVirtualTransferAccount = default(UseVirtualTransferAccountEnum?), string message = default(string), string notes = default(string), InvoiceLayoutEnum?invoiceLayout = default(InvoiceLayoutEnum?), TaxEntryMethodEnum?taxEntryMethod = default(TaxEntryMethodEnum?), List <InvoicesUpdateParamsInvoiceContents> invoiceContents = default(List <InvoicesUpdateParamsInvoiceContents>))
 {
     this.CompanyId                 = companyId;
     this.IssueDate                 = issueDate;
     this.PartnerId                 = partnerId;
     this.PartnerCode               = partnerCode;
     this.InvoiceNumber             = invoiceNumber;
     this.Title                     = title;
     this.DueDate                   = dueDate;
     this.BookingDate               = bookingDate;
     this.Description               = description;
     this.InvoiceStatus             = invoiceStatus;
     this.PartnerName               = partnerName;
     this.PartnerTitle              = partnerTitle;
     this.PartnerContactInfo        = partnerContactInfo;
     this.CompanyName               = companyName;
     this.CompanyZipcode            = companyZipcode;
     this.CompanyPrefectureCode     = companyPrefectureCode;
     this.CompanyAddress1           = companyAddress1;
     this.CompanyAddress2           = companyAddress2;
     this.CompanyContactInfo        = companyContactInfo;
     this.PaymentType               = paymentType;
     this.PaymentBankInfo           = paymentBankInfo;
     this.UseVirtualTransferAccount = useVirtualTransferAccount;
     this.Message                   = message;
     this.Notes                     = notes;
     this.InvoiceLayout             = invoiceLayout;
     this.TaxEntryMethod            = taxEntryMethod;
     this.InvoiceContents           = invoiceContents;
 }
Пример #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CardDepositResponse" /> class.
 /// </summary>
 /// <param name="amount">amount (required).</param>
 /// <param name="authCode">authCode (required).</param>
 /// <param name="captured">captured (required).</param>
 /// <param name="fee">fee (required).</param>
 /// <param name="fraudPass">fraudPass (required).</param>
 /// <param name="id">id (required).</param>
 /// <param name="methodId">methodId (required).</param>
 /// <param name="paymentType">paymentType.</param>
 /// <param name="providerId">providerId (required).</param>
 /// <param name="redirectUrl">redirectUrl (required).</param>
 /// <param name="state">state (required).</param>
 /// <param name="threeDSecure">threeDSecure (required).</param>
 /// <param name="timestamp">timestamp (required).</param>
 public CardDepositResponse(string amount = default(string), string authCode = default(string), DateTime?captured = default(DateTime?), string fee = default(string), bool?fraudPass = default(bool?), string id = default(string), string methodId = default(string), PaymentTypeEnum?paymentType = default(PaymentTypeEnum?), string providerId = default(string), string redirectUrl = default(string), StateEnum state = default(StateEnum), bool?threeDSecure = default(bool?), string timestamp = default(string))
 {
     // to ensure "amount" is required (not null)
     if (amount == null)
     {
         throw new InvalidDataException("amount is a required property for CardDepositResponse and cannot be null");
     }
     else
     {
         this.Amount = amount;
     }
     // to ensure "authCode" is required (not null)
     if (authCode == null)
     {
         throw new InvalidDataException("authCode is a required property for CardDepositResponse and cannot be null");
     }
     else
     {
         this.AuthCode = authCode;
     }
     // to ensure "captured" is required (not null)
     if (captured == null)
     {
         throw new InvalidDataException("captured is a required property for CardDepositResponse and cannot be null");
     }
     else
     {
         this.Captured = captured;
     }
     // to ensure "fee" is required (not null)
     if (fee == null)
     {
         throw new InvalidDataException("fee is a required property for CardDepositResponse and cannot be null");
     }
     else
     {
         this.Fee = fee;
     }
     // to ensure "fraudPass" is required (not null)
     if (fraudPass == null)
     {
         throw new InvalidDataException("fraudPass is a required property for CardDepositResponse and cannot be null");
     }
     else
     {
         this.FraudPass = fraudPass;
     }
     // to ensure "id" is required (not null)
     if (id == null)
     {
         throw new InvalidDataException("id is a required property for CardDepositResponse and cannot be null");
     }
     else
     {
         this.Id = id;
     }
     // to ensure "methodId" is required (not null)
     if (methodId == null)
     {
         throw new InvalidDataException("methodId is a required property for CardDepositResponse and cannot be null");
     }
     else
     {
         this.MethodId = methodId;
     }
     // to ensure "providerId" is required (not null)
     if (providerId == null)
     {
         throw new InvalidDataException("providerId is a required property for CardDepositResponse and cannot be null");
     }
     else
     {
         this.ProviderId = providerId;
     }
     // to ensure "redirectUrl" is required (not null)
     if (redirectUrl == null)
     {
         throw new InvalidDataException("redirectUrl is a required property for CardDepositResponse and cannot be null");
     }
     else
     {
         this.RedirectUrl = redirectUrl;
     }
     // to ensure "state" is required (not null)
     if (state == null)
     {
         throw new InvalidDataException("state is a required property for CardDepositResponse and cannot be null");
     }
     else
     {
         this.State = state;
     }
     // to ensure "threeDSecure" is required (not null)
     if (threeDSecure == null)
     {
         throw new InvalidDataException("threeDSecure is a required property for CardDepositResponse and cannot be null");
     }
     else
     {
         this.ThreeDSecure = threeDSecure;
     }
     // to ensure "timestamp" is required (not null)
     if (timestamp == null)
     {
         throw new InvalidDataException("timestamp is a required property for CardDepositResponse and cannot be null");
     }
     else
     {
         this.Timestamp = timestamp;
     }
     this.PaymentType = paymentType;
 }
Пример #10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StartSubscriptionRequest" /> class.
 /// </summary>
 /// <param name="CallbackUrl">CallbackUrl.</param>
 /// <param name="CompanySiteName">CompanySiteName.</param>
 /// <param name="CouponCode">CouponCode.</param>
 /// <param name="Editable">Editable.</param>
 /// <param name="Offer">Offer.</param>
 /// <param name="PaymentCard">PaymentCard.</param>
 /// <param name="PaymentType">PaymentType.</param>
 /// <param name="Price">Price.</param>
 /// <param name="PrivacyPolicyUrl">PrivacyPolicyUrl.</param>
 /// <param name="ProductType">ProductType.</param>
 /// <param name="Subscriber">Subscriber.</param>
 /// <param name="SubscriberFromDb">SubscriberFromDb.</param>
 public StartSubscriptionRequest(string CallbackUrl = default(string), string CompanySiteName = default(string), string CouponCode = default(string), bool?Editable = default(bool?), Offer Offer = default(Offer), PaymentCard PaymentCard = default(PaymentCard), PaymentTypeEnum?PaymentType = default(PaymentTypeEnum?), decimal?Price = default(decimal?), bool?PrivacyPolicyUrl = default(bool?), ProductTypeEnum?ProductType = default(ProductTypeEnum?), Subscriber Subscriber = default(Subscriber), Subscriber SubscriberFromDb = default(Subscriber))
 {
     this.CallbackUrl      = CallbackUrl;
     this.CompanySiteName  = CompanySiteName;
     this.CouponCode       = CouponCode;
     this.Editable         = Editable;
     this.Offer            = Offer;
     this.PaymentCard      = PaymentCard;
     this.PaymentType      = PaymentType;
     this.Price            = Price;
     this.PrivacyPolicyUrl = PrivacyPolicyUrl;
     this.ProductType      = ProductType;
     this.Subscriber       = Subscriber;
     this.SubscriberFromDb = SubscriberFromDb;
 }