TreasuryOutboundPaymentsResourceReturnedStatus.fromJson constructor

TreasuryOutboundPaymentsResourceReturnedStatus.fromJson(
  1. Object? json
)

Implementation

factory TreasuryOutboundPaymentsResourceReturnedStatus.fromJson(
    Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return TreasuryOutboundPaymentsResourceReturnedStatus(
    code: TreasuryOutboundPaymentReturnedDetailsCode.fromJson(map['code']),
    transaction: TreasuryTransactionOrId.fromJson(map['transaction']),
  );
}