toJson method

Map<String, dynamic> toJson()

Implementation

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