toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'amount': amount,
'code': code,
'discount_type': discountType,
// 'description': description,
// 'minimum_amount': minimumAmount,
// 'maximum_amount': maximumAmount,
// 'date_expires': dateExpires,
};
}