toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (description != null) {
_json[r'description'] = description;
}
if (moneyAmount != null) {
_json[r'money_amount'] = moneyAmount;
}
if (creditAmount != null) {
_json[r'credit_amount'] = creditAmount;
}
if (product != null) {
_json[r'product'] = product;
}
if (couponConsumption != null) {
_json[r'coupon_consumption'] = couponConsumption;
}
return _json;
}