PayoutTransaction.fromJson constructor
PayoutTransaction.fromJson(
- Map<String, dynamic> parsedJson
)
Implementation
factory PayoutTransaction.fromJson(Map<String, dynamic> parsedJson) {
dynamic payoutMethodJson = parsedJson['payoutMethod'];
return PayoutTransaction(
parsedJson['id'],
parsedJson['date'],
parsedJson['status'],
PayoutMethod.fromJson(payoutMethodJson),
parsedJson['amountCurrency'],
parsedJson['maxPayoutAmount'],
parsedJson['amount'],
parsedJson['customFields'],
parsedJson['billingData'],
parsedJson['customMessage'],
);
}