CustomerBalanceResourceCashBalanceTransactionResourceUnappliedFromPaymentTransaction.fromJson constructor

CustomerBalanceResourceCashBalanceTransactionResourceUnappliedFromPaymentTransaction.fromJson(
  1. Object? json
)

Implementation

factory CustomerBalanceResourceCashBalanceTransactionResourceUnappliedFromPaymentTransaction.fromJson(
    Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return CustomerBalanceResourceCashBalanceTransactionResourceUnappliedFromPaymentTransaction(
      paymentIntent: PaymentIntentOrId.fromJson(map['payment_intent']));
}