Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OBWriteInternationalStandingOrder4DataInitiation" /> class.
 /// </summary>
 /// <param name="frequency">Individual Definitions: EvryDay - Every day EvryWorkgDay - Every working day IntrvlWkDay - An interval specified in weeks (01 to 09), and the day within the week (01 to 07) WkInMnthDay - A monthly interval, specifying the week of the month (01 to 05) and day within the week (01 to 07) IntrvlMnthDay - An interval specified in months (between 01 to 06, 12, 24), specifying the day within the month (-5 to -1, 1 to 31) QtrDay - Quarterly (either ENGLISH, SCOTTISH, or RECEIVED).  ENGLISH &#x3D; Paid on the 25th March, 24th June, 29th September and 25th December.  SCOTTISH &#x3D; Paid on the 2nd February, 15th May, 1st August and 11th November. RECEIVED &#x3D; Paid on the 20th March, 19th June, 24th September and 20th December.  Individual Patterns: EvryDay (ScheduleCode) EvryWorkgDay (ScheduleCode) IntrvlWkDay:IntervalInWeeks:DayInWeek (ScheduleCode + IntervalInWeeks + DayInWeek) WkInMnthDay:WeekInMonth:DayInWeek (ScheduleCode + WeekInMonth + DayInWeek) IntrvlMnthDay:IntervalInMonths:DayInMonth (ScheduleCode + IntervalInMonths + DayInMonth) QtrDay: + either (ENGLISH, SCOTTISH or RECEIVED) ScheduleCode + QuarterDay The regular expression for this element combines five smaller versions for each permitted pattern. To aid legibility - the components are presented individually here: EvryDay EvryWorkgDay IntrvlWkDay:0[1-9]:0[1-7] WkInMnthDay:0[1-5]:0[1-7] IntrvlMnthDay:(0[1-6]|12|24):(-0[1-5]|0[1-9]|[12][0-9]|3[01]) QtrDay:(ENGLISH|SCOTTISH|RECEIVED) Full Regular Expression: ^(EvryDay)$|^(EvryWorkgDay)$|^(IntrvlWkDay:0[1-9]:0[1-7])$|^(WkInMnthDay:0[1-5]:0[1-7])$|^(IntrvlMnthDay:(0[1-6]|12|24):(-0[1-5]|0[1-9]|[12][0-9]|3[01]))$|^(QtrDay:(ENGLISH|SCOTTISH|RECEIVED))$ (required).</param>
 /// <param name="reference">Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction. Usage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money. If the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor&#39;s reference or payment remittance identification should be quoted in the end-to-end transaction identification..</param>
 /// <param name="numberOfPayments">Number of the payments that will be made in completing this frequency sequence including any executed since the sequence start date..</param>
 /// <param name="firstPaymentDateTime">The date on which the first payment for a Standing Order schedule will be made.All dates in the JSON payloads are represented in ISO 8601 date-time format.  All date-time fields in responses must include the timezone. An example is below: 2017-04-05T10:43:07+00:00 (required).</param>
 /// <param name="finalPaymentDateTime">The date on which the final payment for a Standing Order schedule will be made.All dates in the JSON payloads are represented in ISO 8601 date-time format.  All date-time fields in responses must include the timezone. An example is below: 2017-04-05T10:43:07+00:00.</param>
 /// <param name="purpose">Specifies the external purpose code in the format of character string with a maximum length of 4 characters. The list of valid codes is an external code list published separately. External code sets can be downloaded from www.iso20022.org..</param>
 /// <param name="extendedPurpose">Specifies the purpose of an international payment, when there is no corresponding 4 character code available in the ISO20022 list of Purpose Codes..</param>
 /// <param name="chargeBearer">chargeBearer.</param>
 /// <param name="currencyOfTransfer">Specifies the currency of the to be transferred amount, which is different from the currency of the debtor&#39;s account. (required).</param>
 /// <param name="destinationCountryCode">Country in which Credit Account is domiciled. Code to identify a country, a dependency, or another area of particular geopolitical interest, on the basis of country names obtained from the United Nations (ISO 3166, Alpha-2 code)..</param>
 /// <param name="instructedAmount">instructedAmount (required).</param>
 /// <param name="debtorAccount">debtorAccount.</param>
 /// <param name="creditor">creditor.</param>
 /// <param name="creditorAgent">creditorAgent.</param>
 /// <param name="creditorAccount">creditorAccount (required).</param>
 /// <param name="supplementaryData">Additional information that can not be captured in the structured fields and/or any other specific block..</param>
 public OBWriteInternationalStandingOrder4DataInitiation(string frequency = default(string), string reference = default(string), string numberOfPayments = default(string), DateTimeOffset firstPaymentDateTime = default(DateTimeOffset), DateTimeOffset finalPaymentDateTime = default(DateTimeOffset), string purpose = default(string), string extendedPurpose = default(string), OBChargeBearerType1Code?chargeBearer = default(OBChargeBearerType1Code?), string currencyOfTransfer = default(string), string destinationCountryCode = default(string), OBWriteDomestic2DataInitiationInstructedAmount instructedAmount = default(OBWriteDomestic2DataInitiationInstructedAmount), OBWriteDomesticStandingOrder3DataInitiationDebtorAccount debtorAccount = default(OBWriteDomesticStandingOrder3DataInitiationDebtorAccount), OBWriteInternational3DataInitiationCreditor creditor = default(OBWriteInternational3DataInitiationCreditor), OBWriteInternationalStandingOrder4DataInitiationCreditorAgent creditorAgent = default(OBWriteInternationalStandingOrder4DataInitiationCreditorAgent), OBWriteInternationalStandingOrder4DataInitiationCreditorAccount creditorAccount = default(OBWriteInternationalStandingOrder4DataInitiationCreditorAccount), Dictionary <string, Object> supplementaryData = default(Dictionary <string, Object>))
 {
     // to ensure "frequency" is required (not null)
     this.Frequency            = frequency ?? throw new ArgumentNullException("frequency is a required property for OBWriteInternationalStandingOrder4DataInitiation and cannot be null");
     this.FirstPaymentDateTime = firstPaymentDateTime;
     // to ensure "currencyOfTransfer" is required (not null)
     this.CurrencyOfTransfer = currencyOfTransfer ?? throw new ArgumentNullException("currencyOfTransfer is a required property for OBWriteInternationalStandingOrder4DataInitiation and cannot be null");
     // to ensure "instructedAmount" is required (not null)
     this.InstructedAmount = instructedAmount ?? throw new ArgumentNullException("instructedAmount is a required property for OBWriteInternationalStandingOrder4DataInitiation and cannot be null");
     // to ensure "creditorAccount" is required (not null)
     this.CreditorAccount      = creditorAccount ?? throw new ArgumentNullException("creditorAccount is a required property for OBWriteInternationalStandingOrder4DataInitiation and cannot be null");
     this.Reference            = reference;
     this.NumberOfPayments     = numberOfPayments;
     this.FinalPaymentDateTime = finalPaymentDateTime;
     this.Purpose                = purpose;
     this.ExtendedPurpose        = extendedPurpose;
     this.ChargeBearer           = chargeBearer;
     this.DestinationCountryCode = destinationCountryCode;
     this.DebtorAccount          = debtorAccount;
     this.Creditor               = creditor;
     this.CreditorAgent          = creditorAgent;
     this.SupplementaryData      = supplementaryData;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OBWriteDomesticStandingOrder3DataInitiation" /> class.
 /// </summary>
 /// <param name="frequency">Individual Definitions: EvryDay - Every day EvryWorkgDay - Every working day IntrvlWkDay - An interval specified in weeks (01 to 09), and the day within the week (01 to 07) WkInMnthDay - A monthly interval, specifying the week of the month (01 to 05) and day within the week (01 to 07) IntrvlMnthDay - An interval specified in months (between 01 to 06, 12, 24), specifying the day within the month (-5 to -1, 1 to 31) QtrDay - Quarterly (either ENGLISH, SCOTTISH, or RECEIVED).  ENGLISH &#x3D; Paid on the 25th March, 24th June, 29th September and 25th December.  SCOTTISH &#x3D; Paid on the 2nd February, 15th May, 1st August and 11th November. RECEIVED &#x3D; Paid on the 20th March, 19th June, 24th September and 20th December.  Individual Patterns: EvryDay (ScheduleCode) EvryWorkgDay (ScheduleCode) IntrvlWkDay:IntervalInWeeks:DayInWeek (ScheduleCode + IntervalInWeeks + DayInWeek) WkInMnthDay:WeekInMonth:DayInWeek (ScheduleCode + WeekInMonth + DayInWeek) IntrvlMnthDay:IntervalInMonths:DayInMonth (ScheduleCode + IntervalInMonths + DayInMonth) QtrDay: + either (ENGLISH, SCOTTISH or RECEIVED) ScheduleCode + QuarterDay The regular expression for this element combines five smaller versions for each permitted pattern. To aid legibility - the components are presented individually here: EvryDay EvryWorkgDay IntrvlWkDay:0[1-9]:0[1-7] WkInMnthDay:0[1-5]:0[1-7] IntrvlMnthDay:(0[1-6]|12|24):(-0[1-5]|0[1-9]|[12][0-9]|3[01]) QtrDay:(ENGLISH|SCOTTISH|RECEIVED) Full Regular Expression: ^(EvryDay)$|^(EvryWorkgDay)$|^(IntrvlWkDay:0[1-9]:0[1-7])$|^(WkInMnthDay:0[1-5]:0[1-7])$|^(IntrvlMnthDay:(0[1-6]|12|24):(-0[1-5]|0[1-9]|[12][0-9]|3[01]))$|^(QtrDay:(ENGLISH|SCOTTISH|RECEIVED))$ (required).</param>
 /// <param name="reference">Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction. Usage: If available, the initiating party should provide this reference in the structured remittance information, to enable reconciliation by the creditor upon receipt of the amount of money. If the business context requires the use of a creditor reference or a payment remit identification, and only one identifier can be passed through the end-to-end chain, the creditor&#39;s reference or payment remittance identification should be quoted in the end-to-end transaction identification..</param>
 /// <param name="numberOfPayments">Number of the payments that will be made in completing this frequency sequence including any executed since the sequence start date..</param>
 /// <param name="firstPaymentDateTime">The date on which the first payment for a Standing Order schedule will be made.All dates in the JSON payloads are represented in ISO 8601 date-time format.  All date-time fields in responses must include the timezone. An example is below: 2017-04-05T10:43:07+00:00 (required).</param>
 /// <param name="recurringPaymentDateTime">The date on which the first recurring payment for a Standing Order schedule will be made.  Usage: This must be populated only if the first recurring date is different to the first payment date.All dates in the JSON payloads are represented in ISO 8601 date-time format.  All date-time fields in responses must include the timezone. An example is below: 2017-04-05T10:43:07+00:00.</param>
 /// <param name="finalPaymentDateTime">The date on which the final payment for a Standing Order schedule will be made.All dates in the JSON payloads are represented in ISO 8601 date-time format.  All date-time fields in responses must include the timezone. An example is below: 2017-04-05T10:43:07+00:00.</param>
 /// <param name="firstPaymentAmount">firstPaymentAmount (required).</param>
 /// <param name="recurringPaymentAmount">recurringPaymentAmount.</param>
 /// <param name="finalPaymentAmount">finalPaymentAmount.</param>
 /// <param name="debtorAccount">debtorAccount.</param>
 /// <param name="creditorAccount">creditorAccount (required).</param>
 /// <param name="supplementaryData">Additional information that can not be captured in the structured fields and/or any other specific block..</param>
 public OBWriteDomesticStandingOrder3DataInitiation(string frequency = default(string), string reference = default(string), string numberOfPayments = default(string), DateTimeOffset firstPaymentDateTime = default(DateTimeOffset), DateTimeOffset recurringPaymentDateTime = default(DateTimeOffset), DateTimeOffset finalPaymentDateTime = default(DateTimeOffset), OBWriteDomesticStandingOrder3DataInitiationFirstPaymentAmount firstPaymentAmount = default(OBWriteDomesticStandingOrder3DataInitiationFirstPaymentAmount), OBWriteDomesticStandingOrder3DataInitiationRecurringPaymentAmount recurringPaymentAmount = default(OBWriteDomesticStandingOrder3DataInitiationRecurringPaymentAmount), OBWriteDomesticStandingOrder3DataInitiationFinalPaymentAmount finalPaymentAmount = default(OBWriteDomesticStandingOrder3DataInitiationFinalPaymentAmount), OBWriteDomesticStandingOrder3DataInitiationDebtorAccount debtorAccount = default(OBWriteDomesticStandingOrder3DataInitiationDebtorAccount), OBWriteDomesticStandingOrder3DataInitiationCreditorAccount creditorAccount = default(OBWriteDomesticStandingOrder3DataInitiationCreditorAccount), Dictionary <string, Object> supplementaryData = default(Dictionary <string, Object>))
 {
     // to ensure "frequency" is required (not null)
     this.Frequency            = frequency ?? throw new ArgumentNullException("frequency is a required property for OBWriteDomesticStandingOrder3DataInitiation and cannot be null");
     this.FirstPaymentDateTime = firstPaymentDateTime;
     // to ensure "firstPaymentAmount" is required (not null)
     this.FirstPaymentAmount = firstPaymentAmount ?? throw new ArgumentNullException("firstPaymentAmount is a required property for OBWriteDomesticStandingOrder3DataInitiation and cannot be null");
     // to ensure "creditorAccount" is required (not null)
     this.CreditorAccount          = creditorAccount ?? throw new ArgumentNullException("creditorAccount is a required property for OBWriteDomesticStandingOrder3DataInitiation and cannot be null");
     this.Reference                = reference;
     this.NumberOfPayments         = numberOfPayments;
     this.RecurringPaymentDateTime = recurringPaymentDateTime;
     this.FinalPaymentDateTime     = finalPaymentDateTime;
     this.RecurringPaymentAmount   = recurringPaymentAmount;
     this.FinalPaymentAmount       = finalPaymentAmount;
     this.DebtorAccount            = debtorAccount;
     this.SupplementaryData        = supplementaryData;
 }