示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OBPartyIdentification43" /> class.
 /// </summary>
 /// <param name="name">Name by which a party is known and which is usually used to identify that party..</param>
 /// <param name="postalAddress">postalAddress.</param>
 public OBPartyIdentification43(string name = default(string), OBPostalAddress6 postalAddress = default(OBPostalAddress6))
 {
     this.Name          = name;
     this.PostalAddress = postalAddress;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="OBDomesticScheduled2" /> 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. (required).</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="localInstrument">User community specific instrument. Usage: This element is used to specify a local instrument, local clearing option and/or further qualify the service or service level..</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&#39;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 (required).</param>
 /// <param name="instructedAmount">instructedAmount (required).</param>
 /// <param name="debtorAccount">debtorAccount.</param>
 /// <param name="creditorAccount">creditorAccount (required).</param>
 /// <param name="creditorPostalAddress">creditorPostalAddress.</param>
 /// <param name="remittanceInformation">remittanceInformation.</param>
 /// <param name="supplementaryData">Additional information that can not be captured in the structured fields and/or any other specific block..</param>
 public OBDomesticScheduled2(string instructionIdentification = default(string), string endToEndIdentification = default(string), string localInstrument = default(string), DateTimeOffset requestedExecutionDateTime = default(DateTimeOffset), OBDomestic2InstructedAmount instructedAmount = default(OBDomestic2InstructedAmount), OBCashAccountDebtor4 debtorAccount = default(OBCashAccountDebtor4), OBCashAccountCreditor3 creditorAccount = default(OBCashAccountCreditor3), OBPostalAddress6 creditorPostalAddress = default(OBPostalAddress6), OBRemittanceInformation1 remittanceInformation = default(OBRemittanceInformation1), Object supplementaryData = default(Object))
 {
     // to ensure "instructionIdentification" is required (not null)
     this.InstructionIdentification  = instructionIdentification ?? throw new ArgumentNullException("instructionIdentification is a required property for OBDomesticScheduled2 and cannot be null");
     this.RequestedExecutionDateTime = requestedExecutionDateTime;
     // to ensure "instructedAmount" is required (not null)
     this.InstructedAmount = instructedAmount ?? throw new ArgumentNullException("instructedAmount is a required property for OBDomesticScheduled2 and cannot be null");
     // to ensure "creditorAccount" is required (not null)
     this.CreditorAccount        = creditorAccount ?? throw new ArgumentNullException("creditorAccount is a required property for OBDomesticScheduled2 and cannot be null");
     this.EndToEndIdentification = endToEndIdentification;
     this.LocalInstrument        = localInstrument;
     this.DebtorAccount          = debtorAccount;
     this.CreditorPostalAddress  = creditorPostalAddress;
     this.RemittanceInformation  = remittanceInformation;
     this.SupplementaryData      = supplementaryData;
 }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OBBranchAndFinancialInstitutionIdentification6" /> class.
 /// </summary>
 /// <param name="schemeName">Name of the identification scheme, in a coded form as published in an external list..</param>
 /// <param name="identification">Unique and unambiguous identification of the servicing institution..</param>
 /// <param name="name">Name by which an agent is known and which is usually used to identify that agent..</param>
 /// <param name="postalAddress">postalAddress.</param>
 public OBBranchAndFinancialInstitutionIdentification6(string schemeName = default(string), string identification = default(string), string name = default(string), OBPostalAddress6 postalAddress = default(OBPostalAddress6))
 {
     this.SchemeName     = schemeName;
     this.Identification = identification;
     this.Name           = name;
     this.PostalAddress  = postalAddress;
 }