toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final brand = this.brand;
  final brandExclusion = this.brandExclusion;
  final contentLanguage = this.contentLanguage;
  final couponValueType = this.couponValueType;
  final customRedemptionRestriction = this.customRedemptionRestriction;
  final freeGiftDescription = this.freeGiftDescription;
  final freeGiftItemId = this.freeGiftItemId;
  final freeGiftValue = this.freeGiftValue;
  final genericRedemptionCode = this.genericRedemptionCode;
  final getThisQuantityDiscounted = this.getThisQuantityDiscounted;
  final id = this.id;
  final itemGroupId = this.itemGroupId;
  final itemGroupIdExclusion = this.itemGroupIdExclusion;
  final itemId = this.itemId;
  final itemIdExclusion = this.itemIdExclusion;
  final limitQuantity = this.limitQuantity;
  final limitValue = this.limitValue;
  final longTitle = this.longTitle;
  final maxDiscountAmount = this.maxDiscountAmount;
  final minimumPurchaseAmount = this.minimumPurchaseAmount;
  final minimumPurchaseQuantity = this.minimumPurchaseQuantity;
  final moneyBudget = this.moneyBudget;
  final moneyOffAmount = this.moneyOffAmount;
  final offerType = this.offerType;
  final orderLimit = this.orderLimit;
  final percentOff = this.percentOff;
  final productApplicability = this.productApplicability;
  final productType = this.productType;
  final productTypeExclusion = this.productTypeExclusion;
  final promotionDestinationIds = this.promotionDestinationIds;
  final promotionDisplayDates = this.promotionDisplayDates;
  final promotionDisplayTimePeriod = this.promotionDisplayTimePeriod;
  final promotionEffectiveDates = this.promotionEffectiveDates;
  final promotionEffectiveTimePeriod = this.promotionEffectiveTimePeriod;
  final promotionId = this.promotionId;
  final promotionStatus = this.promotionStatus;
  final promotionUrl = this.promotionUrl;
  final redemptionChannel = this.redemptionChannel;
  final redemptionRestriction = this.redemptionRestriction;
  final shippingServiceNames = this.shippingServiceNames;
  final storeApplicability = this.storeApplicability;
  final storeCode = this.storeCode;
  final storeCodeExclusion = this.storeCodeExclusion;
  final targetCountry = this.targetCountry;
  return {
    'brand': ?brand,
    'brandExclusion': ?brandExclusion,
    'contentLanguage': ?contentLanguage,
    'couponValueType': ?couponValueType,
    'customRedemptionRestriction': ?customRedemptionRestriction,
    'freeGiftDescription': ?freeGiftDescription,
    'freeGiftItemId': ?freeGiftItemId,
    'freeGiftValue': ?freeGiftValue,
    'genericRedemptionCode': ?genericRedemptionCode,
    'getThisQuantityDiscounted': ?getThisQuantityDiscounted,
    'id': ?id,
    'itemGroupId': ?itemGroupId,
    'itemGroupIdExclusion': ?itemGroupIdExclusion,
    'itemId': ?itemId,
    'itemIdExclusion': ?itemIdExclusion,
    'limitQuantity': ?limitQuantity,
    'limitValue': ?limitValue,
    'longTitle': ?longTitle,
    'maxDiscountAmount': ?maxDiscountAmount,
    'minimumPurchaseAmount': ?minimumPurchaseAmount,
    'minimumPurchaseQuantity': ?minimumPurchaseQuantity,
    'moneyBudget': ?moneyBudget,
    'moneyOffAmount': ?moneyOffAmount,
    'offerType': ?offerType,
    'orderLimit': ?orderLimit,
    'percentOff': ?percentOff,
    'productApplicability': ?productApplicability,
    'productType': ?productType,
    'productTypeExclusion': ?productTypeExclusion,
    'promotionDestinationIds': ?promotionDestinationIds,
    'promotionDisplayDates': ?promotionDisplayDates,
    'promotionDisplayTimePeriod': ?promotionDisplayTimePeriod,
    'promotionEffectiveDates': ?promotionEffectiveDates,
    'promotionEffectiveTimePeriod': ?promotionEffectiveTimePeriod,
    'promotionId': ?promotionId,
    'promotionStatus': ?promotionStatus,
    'promotionUrl': ?promotionUrl,
    'redemptionChannel': ?redemptionChannel,
    'redemptionRestriction': ?redemptionRestriction,
    'shippingServiceNames': ?shippingServiceNames,
    'storeApplicability': ?storeApplicability,
    'storeCode': ?storeCode,
    'storeCodeExclusion': ?storeCodeExclusion,
    'targetCountry': ?targetCountry,
  };
}