/// <summary> /// Initializes a new instance of the /// OBWriteDomesticStandingOrderResponse4DataMultiAuthorisation class. /// </summary> /// <param name="status">Specifies the status of the authorisation flow /// in code form. Possible values include: 'Authorised', /// 'AwaitingFurtherAuthorisation', 'Rejected'</param> /// <param name="numberRequired">Number of authorisations required for /// payment order (total required at the start of the multi /// authorisation journey).</param> /// <param name="numberReceived">Number of authorisations /// received.</param> /// <param name="lastUpdateDateTime">Last date and time at the /// authorisation flow 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="expirationDateTime">Date and time at which the /// requested authorisation flow must be completed.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> public OBWriteDomesticStandingOrderResponse4DataMultiAuthorisation(OBWriteDomesticStandingOrderResponse4DataMultiAuthorisationStatusEnum status, int?numberRequired = default(int?), int?numberReceived = default(int?), System.DateTimeOffset?lastUpdateDateTime = default(System.DateTimeOffset?), System.DateTimeOffset?expirationDateTime = default(System.DateTimeOffset?)) { Status = status; NumberRequired = numberRequired; NumberReceived = numberReceived; LastUpdateDateTime = lastUpdateDateTime; ExpirationDateTime = expirationDateTime; CustomInit(); }
internal static string ToSerializedValue(this OBWriteDomesticStandingOrderResponse4DataMultiAuthorisationStatusEnum value) { switch (value) { case OBWriteDomesticStandingOrderResponse4DataMultiAuthorisationStatusEnum.Authorised: return("Authorised"); case OBWriteDomesticStandingOrderResponse4DataMultiAuthorisationStatusEnum.AwaitingFurtherAuthorisation: return("AwaitingFurtherAuthorisation"); case OBWriteDomesticStandingOrderResponse4DataMultiAuthorisationStatusEnum.Rejected: return("Rejected"); } return(null); }