CardPaymentData.fromJson constructor

CardPaymentData.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CardPaymentData.fromJson(Map<String, dynamic> json) =>
    CardPaymentData(
      id: json["id"],
      type: json["type"],
      category: json["category"],
      nextAction: json["next_action"],
      name: json["name"],
      last4: json["last4"],
      acsCheck: json["acs_check"],
      cvvCheck: json["cvv_check"],
      expirationYear: json["expiration_year"],
      expirationMonth: json["expiration_month"],
      fingerprintToken: json["fingerprint_token"],
      redirectUrl: json["redirect_url"],
    );