OrdersCustomBatchRequestEntryRefundItemItem.fromJson constructor
OrdersCustomBatchRequestEntryRefundItemItem.fromJson(
- Map json_
Implementation
OrdersCustomBatchRequestEntryRefundItemItem.fromJson(core.Map json_)
: this(
amount: json_.containsKey('amount')
? MonetaryAmount.fromJson(
json_['amount'] as core.Map<core.String, core.dynamic>)
: null,
fullRefund: json_.containsKey('fullRefund')
? json_['fullRefund'] as core.bool
: null,
lineItemId: json_.containsKey('lineItemId')
? json_['lineItemId'] as core.String
: null,
productId: json_.containsKey('productId')
? json_['productId'] as core.String
: null,
quantity: json_.containsKey('quantity')
? json_['quantity'] as core.int
: null,
);