/// <summary> /// Initializes a new instance of the /// OBWriteDomesticConsentResponse5Data class. /// </summary> /// <param name="consentId">OB: Unique identification as assigned by /// the ASPSP to uniquely identify the consent resource.</param> /// <param name="creationDateTime">Date and time at which the resource /// 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</param> /// <param name="status">Specifies the status of consent resource in /// code form. Possible values include: 'Authorised', /// 'AwaitingAuthorisation', 'Consumed', 'Rejected'</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</param> /// <param name="initiation">The Initiation payload is sent by the /// initiating party to the ASPSP. It is used to request movement of /// funds from the debtor account to a creditor for a single domestic /// payment.</param> /// <param name="readRefundAccount">Specifies to share the refund /// account details with PISP. Possible values include: 'No', /// 'Yes'</param> /// <param name="cutOffDateTime">Specified cut-off date and time for /// the payment consent.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="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="authorisation">The authorisation type request from the /// TPP.</param> /// <param name="sCASupportData">Supporting Data provided by TPP, when /// requesting SCA Exemption.</param> public OBWriteDomesticConsentResponse5Data(string consentId, System.DateTimeOffset creationDateTime, OBWriteDomesticConsentResponse5DataStatusEnum status, System.DateTimeOffset statusUpdateDateTime, OBWriteDomesticConsentResponse5DataInitiation initiation, OBWriteDomesticConsentResponse5DataReadRefundAccountEnum?readRefundAccount = default(OBWriteDomesticConsentResponse5DataReadRefundAccountEnum?), System.DateTimeOffset?cutOffDateTime = default(System.DateTimeOffset?), System.DateTimeOffset?expectedExecutionDateTime = default(System.DateTimeOffset?), System.DateTimeOffset?expectedSettlementDateTime = default(System.DateTimeOffset?), IList <OBWriteDomesticConsentResponse5DataChargesItem> charges = default(IList <OBWriteDomesticConsentResponse5DataChargesItem>), OBWriteDomesticConsentResponse5DataAuthorisation authorisation = default(OBWriteDomesticConsentResponse5DataAuthorisation), OBWriteDomesticConsentResponse5DataSCASupportData sCASupportData = default(OBWriteDomesticConsentResponse5DataSCASupportData), OBDebtorIdentification1 debtor = default(OBDebtorIdentification1)) { ConsentId = consentId; CreationDateTime = creationDateTime; Status = status; StatusUpdateDateTime = statusUpdateDateTime; ReadRefundAccount = readRefundAccount; CutOffDateTime = cutOffDateTime; ExpectedExecutionDateTime = expectedExecutionDateTime; ExpectedSettlementDateTime = expectedSettlementDateTime; Charges = charges; Initiation = initiation; Authorisation = authorisation; SCASupportData = sCASupportData; Debtor = debtor; CustomInit(); }
/// <summary> /// Initializes a new instance of the OBWriteDomesticResponse5Data /// class. /// </summary> /// <param name="domesticPaymentId">OB: Unique identification as /// assigned by the ASPSP to uniquely identify the domestic payment /// resource.</param> /// <param name="consentId">OB: Unique identification as assigned by /// the ASPSP to uniquely identify the consent resource.</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</param> /// <param name="status">Specifies the status of the payment /// information group. Possible values include: /// 'AcceptedCreditSettlementCompleted', 'AcceptedSettlementCompleted', /// 'AcceptedSettlementInProcess', 'AcceptedWithoutPosting', 'Pending', /// 'Rejected'</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</param> /// <param name="initiation">The Initiation payload is sent by the /// initiating party to the ASPSP. It is used to request movement of /// funds from the debtor account to a creditor for a single domestic /// payment.</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="refund">Unambiguous identification of the refund /// account to which a refund will be made as a result of the /// transaction.</param> /// <param name="multiAuthorisation">The multiple authorisation flow /// response from the ASPSP.</param> public OBWriteDomesticResponse5Data(string domesticPaymentId, string consentId, System.DateTimeOffset creationDateTime, OBWriteDomesticResponse5DataStatusEnum status, System.DateTimeOffset statusUpdateDateTime, OBWriteDomesticResponse5DataInitiation initiation, System.DateTimeOffset?expectedExecutionDateTime = default(System.DateTimeOffset?), System.DateTimeOffset?expectedSettlementDateTime = default(System.DateTimeOffset?), OBWriteDomesticResponse5DataRefund refund = default(OBWriteDomesticResponse5DataRefund), IList <OBWriteDomesticResponse5DataChargesItem> charges = default(IList <OBWriteDomesticResponse5DataChargesItem>), OBWriteDomesticResponse5DataMultiAuthorisation multiAuthorisation = default(OBWriteDomesticResponse5DataMultiAuthorisation), OBDebtorIdentification1 debtor = default(OBDebtorIdentification1)) { DomesticPaymentId = domesticPaymentId; ConsentId = consentId; CreationDateTime = creationDateTime; Status = status; StatusUpdateDateTime = statusUpdateDateTime; ExpectedExecutionDateTime = expectedExecutionDateTime; ExpectedSettlementDateTime = expectedSettlementDateTime; Refund = refund; Charges = charges; Initiation = initiation; MultiAuthorisation = multiAuthorisation; Debtor = debtor; CustomInit(); }