Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the
 /// OBWriteInternationalStandingOrderConsentResponse4DataInitiation
 /// 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 = Paid on the 25th March, 24th June, 29th September and
 /// 25th December.
 /// SCOTTISH = Paid on the 2nd February, 15th May, 1st August and 11th
 /// November.
 /// RECEIVED = 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))$</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</param>
 /// <param name="currencyOfTransfer">Specifies the currency of the to
 /// be transferred amount, which is different from the currency of the
 /// debtor's account.</param>
 /// <param name="instructedAmount">Amount of money to be moved between
 /// the debtor and creditor, before deduction of charges, expressed in
 /// the currency as ordered by the initiating party.
 /// Usage: This amount has to be transported unchanged through the
 /// transaction chain.</param>
 /// <param name="creditorAccount">Provides the details to identify the
 /// beneficiary account.</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'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="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="chargeBearer">Possible values include:
 /// 'BorneByCreditor', 'BorneByDebtor', 'FollowingServiceLevel',
 /// 'Shared'</param>
 /// <param name="debtorAccount">Provides the details to identify the
 /// debtor account.</param>
 /// <param name="creditor">Party to which an amount of money is
 /// due.</param>
 /// <param name="creditorAgent">Party that manages the account on
 /// behalf of the account owner, that is manages the registration and
 /// booking of entries on the account, calculates balances on the
 /// account and provides information about the account.
 /// This is the servicer of the beneficiary account.</param>
 public OBWriteInternationalStandingOrderConsentResponse4DataInitiation(string frequency, System.DateTimeOffset firstPaymentDateTime, string currencyOfTransfer, OBWriteInternationalStandingOrderConsentResponse4DataInitiationInstructedAmount instructedAmount, OBWriteInternationalStandingOrderConsentResponse4DataInitiationCreditorAccount creditorAccount, string reference = default(string), string numberOfPayments = default(string), System.DateTimeOffset?finalPaymentDateTime = default(System.DateTimeOffset?), string purpose = default(string), OBChargeBearerType1CodeEnum?chargeBearer = default(OBChargeBearerType1CodeEnum?), OBWriteInternationalStandingOrderConsentResponse4DataInitiationDebtorAccount debtorAccount = default(OBWriteInternationalStandingOrderConsentResponse4DataInitiationDebtorAccount), OBWriteInternationalStandingOrderConsentResponse4DataInitiationCreditor creditor = default(OBWriteInternationalStandingOrderConsentResponse4DataInitiationCreditor), OBWriteInternationalStandingOrderConsentResponse4DataInitiationCreditorAgent creditorAgent = default(OBWriteInternationalStandingOrderConsentResponse4DataInitiationCreditorAgent), IDictionary <string, object> supplementaryData = default(IDictionary <string, object>))
 {
     Frequency            = frequency;
     Reference            = reference;
     NumberOfPayments     = numberOfPayments;
     FirstPaymentDateTime = firstPaymentDateTime;
     FinalPaymentDateTime = finalPaymentDateTime;
     Purpose            = purpose;
     ChargeBearer       = chargeBearer;
     CurrencyOfTransfer = currencyOfTransfer;
     InstructedAmount   = instructedAmount;
     DebtorAccount      = debtorAccount;
     Creditor           = creditor;
     CreditorAgent      = creditorAgent;
     CreditorAccount    = creditorAccount;
     SupplementaryData  = supplementaryData;
     CustomInit();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the
 /// OBWriteInternationalConsentResponse3DataInitiation class.
 /// </summary>
 /// <param name="instructionIdentification">Unique identification as
 /// assigned by an instructing party for an instructed party to
 /// unambiguously identify the instruction.
 /// Usage: the  instruction identification is a point to point
 /// reference that can be used between the instructing party and the
 /// instructed party to refer to the individual instruction. It can be
 /// included in several messages related to the instruction.</param>
 /// <param name="endToEndIdentification">Unique identification assigned
 /// by the initiating party to unambiguously identify the transaction.
 /// This identification is passed on, unchanged, throughout the entire
 /// end-to-end chain.
 /// Usage: The end-to-end identification can be used for reconciliation
 /// or to link tasks relating to the transaction. It can be included in
 /// several messages related to the transaction.
 /// OB: The Faster Payments Scheme can only access 31 characters for
 /// the EndToEndIdentification field.</param>
 /// <param name="currencyOfTransfer">Specifies the currency of the to
 /// be transferred amount, which is different from the currency of the
 /// debtor's account.</param>
 /// <param name="instructedAmount">Amount of money to be moved between
 /// the debtor and creditor, before deduction of charges, expressed in
 /// the currency as ordered by the initiating party.
 /// Usage: This amount has to be transported unchanged through the
 /// transaction chain.</param>
 /// <param name="creditorAccount">Unambiguous identification of the
 /// account of the creditor to which a credit entry will be posted as a
 /// result of the payment transaction.</param>
 /// <param name="instructionPriority">Indicator of the urgency or order
 /// of importance that the instructing party would like the instructed
 /// party to apply to the processing of the instruction. Possible
 /// values include: 'Normal', 'Urgent'</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="chargeBearer">Possible values include:
 /// 'BorneByCreditor', 'BorneByDebtor', 'FollowingServiceLevel',
 /// 'Shared'</param>
 /// <param name="exchangeRateInformation">Provides details on the
 /// currency exchange rate and contract.</param>
 /// <param name="debtorAccount">Unambiguous identification of the
 /// account of the debtor to which a debit entry will be made as a
 /// result of the transaction.</param>
 /// <param name="creditor">Party to which an amount of money is
 /// due.</param>
 /// <param name="creditorAgent">Financial institution servicing an
 /// account for the creditor.</param>
 /// <param name="remittanceInformation">Information supplied to enable
 /// the matching of an entry with the items that the transfer is
 /// intended to settle, such as commercial invoices in an accounts'
 /// receivable system.</param>
 public OBWriteInternationalConsentResponse3DataInitiation(string instructionIdentification, string endToEndIdentification, string currencyOfTransfer, OBWriteInternationalConsentResponse3DataInitiationInstructedAmount instructedAmount, OBWriteInternationalConsentResponse3DataInitiationCreditorAccount creditorAccount, string localInstrument = default(string), OBWriteInternationalConsentResponse3DataInitiationInstructionPriorityEnum?instructionPriority = default(OBWriteInternationalConsentResponse3DataInitiationInstructionPriorityEnum?), string purpose = default(string), OBChargeBearerType1CodeEnum?chargeBearer = default(OBChargeBearerType1CodeEnum?), OBWriteInternationalConsentResponse3DataInitiationExchangeRateInformation exchangeRateInformation = default(OBWriteInternationalConsentResponse3DataInitiationExchangeRateInformation), OBWriteInternationalConsentResponse3DataInitiationDebtorAccount debtorAccount = default(OBWriteInternationalConsentResponse3DataInitiationDebtorAccount), OBWriteInternationalConsentResponse3DataInitiationCreditor creditor = default(OBWriteInternationalConsentResponse3DataInitiationCreditor), OBWriteInternationalConsentResponse3DataInitiationCreditorAgent creditorAgent = default(OBWriteInternationalConsentResponse3DataInitiationCreditorAgent), OBWriteInternationalConsentResponse3DataInitiationRemittanceInformation remittanceInformation = default(OBWriteInternationalConsentResponse3DataInitiationRemittanceInformation), IDictionary <string, object> supplementaryData = default(IDictionary <string, object>))
 {
     InstructionIdentification = instructionIdentification;
     EndToEndIdentification    = endToEndIdentification;
     LocalInstrument           = localInstrument;
     InstructionPriority       = instructionPriority;
     Purpose                 = purpose;
     ChargeBearer            = chargeBearer;
     CurrencyOfTransfer      = currencyOfTransfer;
     InstructedAmount        = instructedAmount;
     ExchangeRateInformation = exchangeRateInformation;
     DebtorAccount           = debtorAccount;
     Creditor                = creditor;
     CreditorAgent           = creditorAgent;
     CreditorAccount         = creditorAccount;
     RemittanceInformation   = remittanceInformation;
     SupplementaryData       = supplementaryData;
     CustomInit();
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the
 /// OBWriteInternationalScheduledResponse5DataInitiation class.
 /// </summary>
 /// <param name="instructionIdentification">Unique identification as
 /// assigned by an instructing party for an instructed party to
 /// unambiguously identify the instruction.
 /// Usage: the  instruction identification is a point to point
 /// reference that can be used between the instructing party and the
 /// instructed party to refer to the individual instruction. It can be
 /// included in several messages related to the instruction.</param>
 /// <param name="requestedExecutionDateTime">Date at which the
 /// initiating party requests the clearing agent to process the
 /// payment.
 /// Usage: This is the date on which the debtor's account is to be
 /// debited.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="currencyOfTransfer">Specifies the currency of the to
 /// be transferred amount, which is different from the currency of the
 /// debtor's account.</param>
 /// <param name="instructedAmount">Amount of money to be moved between
 /// the debtor and creditor, before deduction of charges, expressed in
 /// the currency as ordered by the initiating party.
 /// Usage: This amount has to be transported unchanged through the
 /// transaction chain.</param>
 /// <param name="creditorAccount">Unambiguous identification of the
 /// account of the creditor to which a credit entry will be posted as a
 /// result of the payment transaction.</param>
 /// <param name="endToEndIdentification">Unique identification assigned
 /// by the initiating party to unambiguously identify the transaction.
 /// This identification is passed on, unchanged, throughout the entire
 /// end-to-end chain.
 /// Usage: The end-to-end identification can be used for reconciliation
 /// or to link tasks relating to the transaction. It can be included in
 /// several messages related to the transaction.
 /// OB: The Faster Payments Scheme can only access 31 characters for
 /// the EndToEndIdentification field.</param>
 /// <param name="instructionPriority">Indicator of the urgency or order
 /// of importance that the instructing party would like the instructed
 /// party to apply to the processing of the instruction. Possible
 /// values include: 'Normal', 'Urgent'</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">Possible values include:
 /// 'BorneByCreditor', 'BorneByDebtor', 'FollowingServiceLevel',
 /// 'Shared'</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="exchangeRateInformation">Provides details on the
 /// currency exchange rate and contract.</param>
 /// <param name="debtorAccount">Unambiguous identification of the
 /// account of the debtor to which a debit entry will be made as a
 /// result of the transaction.</param>
 /// <param name="creditor">Party to which an amount of money is
 /// due.</param>
 /// <param name="creditorAgent">Financial institution servicing an
 /// account for the creditor.</param>
 /// <param name="remittanceInformation">Information supplied to enable
 /// the matching of an entry with the items that the transfer is
 /// intended to settle, such as commercial invoices in an accounts'
 /// receivable system.</param>
 public OBWriteInternationalScheduledResponse5DataInitiation(string instructionIdentification, System.DateTimeOffset requestedExecutionDateTime, string currencyOfTransfer, OBWriteInternationalScheduledResponse5DataInitiationInstructedAmount instructedAmount, OBWriteInternationalScheduledResponse5DataInitiationCreditorAccount creditorAccount, string endToEndIdentification = default(string), string localInstrument = default(string), OBWriteInternationalScheduledResponse5DataInitiationInstructionPriorityEnum?instructionPriority = default(OBWriteInternationalScheduledResponse5DataInitiationInstructionPriorityEnum?), string purpose = default(string), string extendedPurpose = default(string), OBChargeBearerType1CodeEnum?chargeBearer = default(OBChargeBearerType1CodeEnum?), string destinationCountryCode = default(string), OBWriteInternationalScheduledResponse5DataInitiationExchangeRateInformation exchangeRateInformation = default(OBWriteInternationalScheduledResponse5DataInitiationExchangeRateInformation), OBWriteInternationalScheduledResponse5DataInitiationDebtorAccount debtorAccount = default(OBWriteInternationalScheduledResponse5DataInitiationDebtorAccount), OBWriteInternationalScheduledResponse5DataInitiationCreditor creditor = default(OBWriteInternationalScheduledResponse5DataInitiationCreditor), OBWriteInternationalScheduledResponse5DataInitiationCreditorAgent creditorAgent = default(OBWriteInternationalScheduledResponse5DataInitiationCreditorAgent), OBWriteInternationalScheduledResponse5DataInitiationRemittanceInformation remittanceInformation = default(OBWriteInternationalScheduledResponse5DataInitiationRemittanceInformation), IDictionary <string, object> supplementaryData = default(IDictionary <string, object>))
 {
     InstructionIdentification = instructionIdentification;
     EndToEndIdentification    = endToEndIdentification;
     LocalInstrument           = localInstrument;
     InstructionPriority       = instructionPriority;
     Purpose                    = purpose;
     ExtendedPurpose            = extendedPurpose;
     ChargeBearer               = chargeBearer;
     RequestedExecutionDateTime = requestedExecutionDateTime;
     CurrencyOfTransfer         = currencyOfTransfer;
     DestinationCountryCode     = destinationCountryCode;
     InstructedAmount           = instructedAmount;
     ExchangeRateInformation    = exchangeRateInformation;
     DebtorAccount              = debtorAccount;
     Creditor                   = creditor;
     CreditorAgent              = creditorAgent;
     CreditorAccount            = creditorAccount;
     RemittanceInformation      = remittanceInformation;
     SupplementaryData          = supplementaryData;
     CustomInit();
 }
Exemple #4
0
 internal static string ToSerializedValue(this OBChargeBearerType1CodeEnum?value)
 {
     return(value == null ? null : ((OBChargeBearerType1CodeEnum)value).ToSerializedValue());
 }