Payment.fromJson constructor
Payment.fromJson(
- Map<String?, dynamic> json
)
Implementation
Payment.fromJson(Map<String?, dynamic> json) {
accessKey = json['accessKey'];
amount = json['amount'];
applicationName = json['applicationName'];
authCode = json['authCode'];
brand = json['brand'];
cieloCode = json['cieloCode'];
description = json['description'];
discountedAmount = json['discountedAmount'];
externalId = json['externalId'];
id = json['id'];
installments = json['installments'];
mask = json['mask'];
merchantCode = json['merchantCode'];
paymentFields = json['paymentFields'] != null
? new PaymentFields.fromJson(json['paymentFields'])
: null;
primaryCode = json['primaryCode'];
requestDate = json['requestDate'];
secondaryCode = json['secondaryCode'];
terminal = json['terminal'];
}