toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final availability = this.availability;
  final customAttributes = this.customAttributes;
  final instoreProductLocation = this.instoreProductLocation;
  final kind = this.kind;
  final pickupMethod = this.pickupMethod;
  final pickupSla = this.pickupSla;
  final price = this.price;
  final quantity = this.quantity;
  final salePrice = this.salePrice;
  final salePriceEffectiveDate = this.salePriceEffectiveDate;
  final storeCode = this.storeCode;
  return {
    'availability': ?availability,
    'customAttributes': ?customAttributes,
    'instoreProductLocation': ?instoreProductLocation,
    'kind': ?kind,
    'pickupMethod': ?pickupMethod,
    'pickupSla': ?pickupSla,
    'price': ?price,
    'quantity': ?quantity,
    'salePrice': ?salePrice,
    'salePriceEffectiveDate': ?salePriceEffectiveDate,
    'storeCode': ?storeCode,
  };
}