OrderLineItemAdjustment.fromJson constructor
OrderLineItemAdjustment.fromJson(
- Map json_
Implementation
OrderLineItemAdjustment.fromJson(core.Map json_)
: this(
priceAdjustment: json_.containsKey('priceAdjustment')
? Price.fromJson(json_['priceAdjustment']
as core.Map<core.String, core.dynamic>)
: null,
taxAdjustment: json_.containsKey('taxAdjustment')
? Price.fromJson(
json_['taxAdjustment'] as core.Map<core.String, core.dynamic>)
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);