OrdersReturnRefundLineItemRequest.fromJson constructor
OrdersReturnRefundLineItemRequest.fromJson(
- Map json_
Implementation
OrdersReturnRefundLineItemRequest.fromJson(core.Map json_)
: this(
lineItemId: json_.containsKey('lineItemId')
? json_['lineItemId'] as core.String
: null,
operationId: json_.containsKey('operationId')
? json_['operationId'] as core.String
: null,
priceAmount: json_.containsKey('priceAmount')
? Price.fromJson(
json_['priceAmount'] as core.Map<core.String, core.dynamic>)
: null,
productId: json_.containsKey('productId')
? json_['productId'] as core.String
: null,
quantity: json_.containsKey('quantity')
? json_['quantity'] as core.int
: null,
reason: json_.containsKey('reason')
? json_['reason'] as core.String
: null,
reasonText: json_.containsKey('reasonText')
? json_['reasonText'] as core.String
: null,
taxAmount: json_.containsKey('taxAmount')
? Price.fromJson(
json_['taxAmount'] as core.Map<core.String, core.dynamic>)
: null,
);