class
Hamilton::Types::RefundedPayment
- Hamilton::Types::RefundedPayment
- Reference
- Object
Overview
This object contains basic information about a refunded payment.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/refunded_payment.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#currency : String
Three-letter ISO 4217 currency code, or “XTR” for payments in Telegram Stars.
-
#currency=(currency : String)
Three-letter ISO 4217 currency code, or “XTR” for payments in Telegram Stars.
-
#invoice_payload : String
Bot-specified invoice payload.
-
#invoice_payload=(invoice_payload : String)
Bot-specified invoice payload.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#provider_payment_charge_id : String | Nil
Provider payment identifier.
-
#provider_payment_charge_id=(provider_payment_charge_id : String | Nil)
Provider payment identifier.
-
#telegram_payment_charge_id : String
Telegram payment identifier.
-
#telegram_payment_charge_id=(telegram_payment_charge_id : String)
Telegram payment identifier.
-
#total_amount : Int32
Total refunded price in the smallest units of the currency (integer, not float/double).
-
#total_amount=(total_amount : Int32)
Total refunded price in the smallest units of the currency (integer, not float/double).
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
Three-letter ISO 4217 currency code, or “XTR” for payments in Telegram Stars. Currently, always “XTR”.
Three-letter ISO 4217 currency code, or “XTR” for payments in Telegram Stars. Currently, always “XTR”.
Provider payment identifier.
Total refunded price in the smallest units of the currency (integer, not float/double).
Total refunded price in the smallest units of the currency (integer, not float/double).