OrderReportTransaction.fromJson constructor
OrderReportTransaction.fromJson(
- Map json_
Implementation
OrderReportTransaction.fromJson(core.Map json_)
: this(
disbursementAmount: json_.containsKey('disbursementAmount')
? Price.fromJson(json_['disbursementAmount']
as core.Map<core.String, core.dynamic>)
: null,
disbursementCreationDate:
json_.containsKey('disbursementCreationDate')
? json_['disbursementCreationDate'] as core.String
: null,
disbursementDate: json_.containsKey('disbursementDate')
? json_['disbursementDate'] as core.String
: null,
disbursementId: json_.containsKey('disbursementId')
? json_['disbursementId'] as core.String
: null,
merchantId: json_.containsKey('merchantId')
? json_['merchantId'] as core.String
: null,
merchantOrderId: json_.containsKey('merchantOrderId')
? json_['merchantOrderId'] as core.String
: null,
orderId: json_.containsKey('orderId')
? json_['orderId'] as core.String
: null,
productAmount: json_.containsKey('productAmount')
? ProductAmount.fromJson(
json_['productAmount'] as core.Map<core.String, core.dynamic>)
: null,
transactionDate: json_.containsKey('transactionDate')
? json_['transactionDate'] as core.String
: null,
);