CustomerBalanceResourceCashBalanceTransactionResourceAppliedToPaymentTransaction.fromJson constructor

CustomerBalanceResourceCashBalanceTransactionResourceAppliedToPaymentTransaction.fromJson(
  1. Object? json
)

Implementation

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