CheckoutResponseModel.fromJson constructor

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

Implementation

CheckoutResponseModel.fromJson(Map<String, dynamic> json) {
  checkoutUrl = json['checkout_url'];
  amount = json['amount'];
  currency = json['currency'];
  spOrderId = json['sp_order_id'];
  customerOrderId = json['customer_order_id'];
  customerName = json['customer_name'];
  customerAddress = json['customer_address'];
  customerCity = json['customer_city'];
  customerPhone = json['customer_phone'];
  customerEmail = json['customer_email'];
  clientIp = json['client_ip'];
  intent = json['intent'];
  transactionStatus = json['transactionStatus'];
}