CreateCustomerTokenRequest.fromJson constructor
CreateCustomerTokenRequest.fromJson(
- dynamic json
Implementation
CreateCustomerTokenRequest.fromJson(dynamic json) {
appId = json['app_id'];
firstName = json['first_name'];
lastName = json['last_name'];
email = json['email'];
phoneNumber = json['phone_number'];
cardType = json['card_type'];
cardBrand = json['card_brand'];
card = json['card'];
device = json['device'] != null ? Device.fromJson(json['device']) : null;
deviceId = json['device_id'];
}