toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "id": id,
      "amount": amount,
      "is_partial": isPartial,
      "currency_code": currencyCode,
      "country_code": countryCode,
      "status": status,
      "payment_method_data": paymentMethodData.toJson(),
      "metadata": metadata.toJson(),
      "paid": paid,
      "paid_at": paidAt,
    };