PaymentIntentNextActionKonbiniFamilymart.fromJson constructor

PaymentIntentNextActionKonbiniFamilymart.fromJson(
  1. Object? json
)

Implementation

factory PaymentIntentNextActionKonbiniFamilymart.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentIntentNextActionKonbiniFamilymart(
    confirmationNumber: map['confirmation_number'] == null
        ? null
        : (map['confirmation_number'] as String),
    paymentCode: (map['payment_code'] as String),
  );
}