CustomerBalanceResourceCashBalanceTransactionResourceRefundedFromPaymentTransaction.fromJson constructor

CustomerBalanceResourceCashBalanceTransactionResourceRefundedFromPaymentTransaction.fromJson(
  1. Object? json
)

Implementation

factory CustomerBalanceResourceCashBalanceTransactionResourceRefundedFromPaymentTransaction.fromJson(
    Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return CustomerBalanceResourceCashBalanceTransactionResourceRefundedFromPaymentTransaction(
      refund: RefundOrId.fromJson(map['refund']));
}