PaymentData.fromMap constructor

PaymentData.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory PaymentData.fromMap(Map<String, dynamic> json) => PaymentData(
      name: json["name"] == null ? null : json["name"],
      email: json["email"] == null ? null : json["email"],
      mobileNo: json["mobileNo"] == null ? null : json["mobileNo"],
      accountNo: json["accountNo"] == null ? null : json["accountNo"],
      cardNo: json["cardNo"] == null ? null : json["cardNo"],
      expiryMonth: json["expiryMonth"] == null ? null : json["expiryMonth"],
      expiryYear: json["expiryYear"] == null ? null : json["expiryYear"],
      securityCode: json["securityCode"] == null ? null : json["securityCode"],
      pin: json["pin"] == null ? null : json["pin"],
      cardBank: json["cardBank"] == null ? null : json["cardBank"],
      cardCountry: json["cardCountry"] == null ? null : json["cardCountry"],
      cardTokenize: json["cardTokenize"] == null ? null : json["cardTokenize"],
      interestType: json["interestType"] == null ? null : json["interestType"],
      installmentPeriod: json["installmentPeriod"] == null ? null : json["installmentPeriod"],
      token: json["token"] == null ? null : json["token"],
      qrType: json["qrType"] == null ? null : json["qrType"],
      fxRateId: json["fxRateID"] == null ? null : json["fxRateID"],
      billingAddress1: json["billingAddress1"] == null ? null : json["billingAddress1"],
      billingAddress2: json["billingAddress2"] == null ? null : json["billingAddress2"],
      billingAddress3: json["billingAddress3"] == null ? null : json["billingAddress3"],
      billingCity: json["billingCity"] == null ? null : json["billingCity"],
      billingState: json["billingState"] == null ? null : json["billingState"],
      billingPostalCode: json["billingPostalCode"] == null ? null : json["billingPostalCode"],
      billingCountryCode: json["billingCountryCode"] == null ? null : json["billingCountryCode"],
    );