toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (brandExclusion != null) 'brandExclusion': brandExclusion!,
if (brandInclusion != null) 'brandInclusion': brandInclusion!,
if (couponValueType != null) 'couponValueType': couponValueType!,
if (freeGiftDescription != null)
'freeGiftDescription': freeGiftDescription!,
if (freeGiftItemId != null) 'freeGiftItemId': freeGiftItemId!,
if (freeGiftValue != null) 'freeGiftValue': freeGiftValue!,
if (genericRedemptionCode != null)
'genericRedemptionCode': genericRedemptionCode!,
if (getThisQuantityDiscounted != null)
'getThisQuantityDiscounted': getThisQuantityDiscounted!,
if (itemGroupIdExclusion != null)
'itemGroupIdExclusion': itemGroupIdExclusion!,
if (itemGroupIdInclusion != null)
'itemGroupIdInclusion': itemGroupIdInclusion!,
if (itemIdExclusion != null) 'itemIdExclusion': itemIdExclusion!,
if (itemIdInclusion != null) 'itemIdInclusion': itemIdInclusion!,
if (limitQuantity != null) 'limitQuantity': limitQuantity!,
if (limitValue != null) 'limitValue': limitValue!,
if (longTitle != null) 'longTitle': longTitle!,
if (minimumPurchaseAmount != null)
'minimumPurchaseAmount': minimumPurchaseAmount!,
if (minimumPurchaseQuantity != null)
'minimumPurchaseQuantity': minimumPurchaseQuantity!,
if (moneyOffAmount != null) 'moneyOffAmount': moneyOffAmount!,
if (offerType != null) 'offerType': offerType!,
if (percentOff != null) 'percentOff': percentOff!,
if (productApplicability != null)
'productApplicability': productApplicability!,
if (productTypeExclusion != null)
'productTypeExclusion': productTypeExclusion!,
if (productTypeInclusion != null)
'productTypeInclusion': productTypeInclusion!,
if (promotionDestinations != null)
'promotionDestinations': promotionDestinations!,
if (promotionDisplayTimePeriod != null)
'promotionDisplayTimePeriod': promotionDisplayTimePeriod!,
if (promotionEffectiveTimePeriod != null)
'promotionEffectiveTimePeriod': promotionEffectiveTimePeriod!,
if (promotionUrl != null) 'promotionUrl': promotionUrl!,
if (storeApplicability != null) 'storeApplicability': storeApplicability!,
if (storeCodesExclusion != null)
'storeCodesExclusion': storeCodesExclusion!,
if (storeCodesInclusion != null)
'storeCodesInclusion': storeCodesInclusion!,
};