fromJson static method
Implementation
static GetnetPreAutorizationResponse fromJson({required Map json}) {
return GetnetPreAutorizationResponse(
result: json['result'],
resultDetails: json['resultDetails'],
amount: int.parse(json['amount']) / 100,
callerId: json['callerId'],
nsu: json['nsu'],
type: json['type'],
brand: json['brand'],
installments: json['installments'],
cardholderName: json['cardholderName'],
automationSlip: json['automationSlip'],
orderId: json['orderId'],
receiptAlreadyPrinted: json['receiptAlreadyPrinted'],
inputType: json['inputType'],
);
}