toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (availability != null) 'availability': availability!,
if (customAttributes != null) 'customAttributes': customAttributes!,
if (kind != null) 'kind': kind!,
if (price != null) 'price': price!,
if (regionId != null) 'regionId': regionId!,
if (salePrice != null) 'salePrice': salePrice!,
if (salePriceEffectiveDate != null)
'salePriceEffectiveDate': salePriceEffectiveDate!,
};