ApplePayModel.fromJson constructor

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

Implementation

ApplePayModel.fromJson(Map<String, dynamic> json) {
  type = json['type'];
  company = json['company'];
  name = json['name'];
  number = json['number'];
  message = json['message'];
  gatewayId = json['gateway_id'];
  referenceNumber = json['reference_number'];
}