InventoryLoyaltyProgram.fromJson constructor
InventoryLoyaltyProgram.fromJson(
- Map json_
Implementation
InventoryLoyaltyProgram.fromJson(core.Map json_)
: this(
cashbackForFutureUse: json_.containsKey('cashbackForFutureUse')
? Price.fromJson(
json_['cashbackForFutureUse']
as core.Map<core.String, core.dynamic>,
)
: null,
loyaltyPoints: json_['loyaltyPoints'] as core.String?,
memberPriceEffectiveInterval:
json_.containsKey('memberPriceEffectiveInterval')
? Interval.fromJson(
json_['memberPriceEffectiveInterval']
as core.Map<core.String, core.dynamic>,
)
: null,
price: json_.containsKey('price')
? Price.fromJson(
json_['price'] as core.Map<core.String, core.dynamic>,
)
: null,
programLabel: json_['programLabel'] as core.String?,
shippingLabel: json_['shippingLabel'] as core.String?,
tierLabel: json_['tierLabel'] as core.String?,
);