toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['PaymentMethodId'] = paymentMethodId;
data['PaymentMethodAr'] = paymentMethodAr;
data['PaymentMethodEn'] = paymentMethodEn;
data['PaymentMethodCode'] = paymentMethodCode;
data['IsDirectPayment'] = isDirectPayment;
data['ServiceCharge'] = serviceCharge;
data['TotalAmount'] = totalAmount;
data['CurrencyIso'] = currencyIso;
data['ImageUrl'] = imageUrl;
data['IsEmbeddedSupported'] = isEmbeddedSupported;
data['PaymentCurrencyIso'] = paymentCurrencyIso;
return data;
}