RefundedPayment.fromJson constructor
Creates a RefundedPayment object from JSON.
Implementation
factory RefundedPayment.fromJson(Map<String, dynamic> json) {
return RefundedPayment(
currency: json['currency'],
totalAmount: json['total_amount'],
invoicePayload: json['invoice_payload'],
telegramPaymentChargeId: json['telegram_payment_charge_id'],
providerPaymentChargeId: json['provider_payment_charge_id'],
);
}