toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data["productRefId"] = productRefId;
  data["price"] = price;
  data["currency"] = currency;
  data["pricePeriod"] = pricePeriod;
  data["label"] = label;
  data["subtitleLabel"] = subtitleLabel;
  data["description"] = description;
  return data;
}