/// <summary>
 /// Initializes a new instance of the <see cref="OBWriteDataInternational2" /> class.
 /// </summary>
 /// <param name="consentId">OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource. (required).</param>
 /// <param name="initiation">initiation (required).</param>
 public OBWriteDataInternational2(string consentId = default(string), OBInternational2 initiation = default(OBInternational2))
 {
     // to ensure "consentId" is required (not null)
     this.ConsentId = consentId ?? throw new ArgumentNullException("consentId is a required property for OBWriteDataInternational2 and cannot be null");
     // to ensure "initiation" is required (not null)
     this.Initiation = initiation ?? throw new ArgumentNullException("initiation is a required property for OBWriteDataInternational2 and cannot be null");
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OBWriteDataInternationalConsent2" /> class.
 /// </summary>
 /// <param name="initiation">initiation (required).</param>
 /// <param name="authorisation">authorisation.</param>
 public OBWriteDataInternationalConsent2(OBInternational2 initiation = default(OBInternational2), OBAuthorisation1 authorisation = default(OBAuthorisation1))
 {
     // to ensure "initiation" is required (not null)
     this.Initiation    = initiation ?? throw new ArgumentNullException("initiation is a required property for OBWriteDataInternationalConsent2 and cannot be null");
     this.Authorisation = authorisation;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OBWriteDataInternationalResponse2" /> class.
 /// </summary>
 /// <param name="internationalPaymentId">OB: Unique identification as assigned by the ASPSP to uniquely identify the international payment resource. (required).</param>
 /// <param name="consentId">OB: Unique identification as assigned by the ASPSP to uniquely identify the consent resource. (required).</param>
 /// <param name="creationDateTime">Date and time at which the message was created. 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="status">status (required).</param>
 /// <param name="statusUpdateDateTime">Date and time at which the resource status was updated. 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="expectedExecutionDateTime">Expected execution date and time for the payment resource. 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="expectedSettlementDateTime">Expected settlement date and time for the payment resource. 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="charges">Set of elements used to provide details of a charge for the payment initiation..</param>
 /// <param name="exchangeRateInformation">exchangeRateInformation.</param>
 /// <param name="initiation">initiation (required).</param>
 /// <param name="multiAuthorisation">multiAuthorisation.</param>
 public OBWriteDataInternationalResponse2(string internationalPaymentId = default(string), string consentId = default(string), DateTimeOffset creationDateTime = default(DateTimeOffset), OBTransactionIndividualStatus1Code status = default(OBTransactionIndividualStatus1Code), DateTimeOffset statusUpdateDateTime = default(DateTimeOffset), DateTimeOffset expectedExecutionDateTime = default(DateTimeOffset), DateTimeOffset expectedSettlementDateTime = default(DateTimeOffset), List <OBCharge2> charges = default(List <OBCharge2>), OBExchangeRate2 exchangeRateInformation = default(OBExchangeRate2), OBInternational2 initiation = default(OBInternational2), OBMultiAuthorisation1 multiAuthorisation = default(OBMultiAuthorisation1))
 {
     // to ensure "internationalPaymentId" is required (not null)
     this.InternationalPaymentId = internationalPaymentId ?? throw new ArgumentNullException("internationalPaymentId is a required property for OBWriteDataInternationalResponse2 and cannot be null");
     // to ensure "consentId" is required (not null)
     this.ConsentId            = consentId ?? throw new ArgumentNullException("consentId is a required property for OBWriteDataInternationalResponse2 and cannot be null");
     this.CreationDateTime     = creationDateTime;
     this.Status               = status;
     this.StatusUpdateDateTime = statusUpdateDateTime;
     // to ensure "initiation" is required (not null)
     this.Initiation = initiation ?? throw new ArgumentNullException("initiation is a required property for OBWriteDataInternationalResponse2 and cannot be null");
     this.ExpectedExecutionDateTime  = expectedExecutionDateTime;
     this.ExpectedSettlementDateTime = expectedSettlementDateTime;
     this.Charges = charges;
     this.ExchangeRateInformation = exchangeRateInformation;
     this.MultiAuthorisation      = multiAuthorisation;
 }