Class: Telegram::Bot::Types::RefundedPayment
- Defined in:
- sig/telegram/bot/types/refunded_payment.rbs
Instance Attribute Summary collapse
-
#currency ⇒ String
readonly
Returns the value of attribute currency.
-
#invoice_payload ⇒ String
readonly
Returns the value of attribute invoice_payload.
-
#provider_payment_charge_id ⇒ String?
readonly
Returns the value of attribute provider_payment_charge_id.
-
#telegram_payment_charge_id ⇒ String
readonly
Returns the value of attribute telegram_payment_charge_id.
-
#total_amount ⇒ Integer
readonly
Returns the value of attribute total_amount.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#currency ⇒ String (readonly)
Returns the value of attribute currency.
8 9 10 |
# File 'sig/telegram/bot/types/refunded_payment.rbs', line 8 def currency @currency end |
#invoice_payload ⇒ String (readonly)
Returns the value of attribute invoice_payload.
10 11 12 |
# File 'sig/telegram/bot/types/refunded_payment.rbs', line 10 def invoice_payload @invoice_payload end |
#provider_payment_charge_id ⇒ String? (readonly)
Returns the value of attribute provider_payment_charge_id.
12 13 14 |
# File 'sig/telegram/bot/types/refunded_payment.rbs', line 12 def provider_payment_charge_id @provider_payment_charge_id end |
#telegram_payment_charge_id ⇒ String (readonly)
Returns the value of attribute telegram_payment_charge_id.
11 12 13 |
# File 'sig/telegram/bot/types/refunded_payment.rbs', line 11 def telegram_payment_charge_id @telegram_payment_charge_id end |
#total_amount ⇒ Integer (readonly)
Returns the value of attribute total_amount.
9 10 11 |
# File 'sig/telegram/bot/types/refunded_payment.rbs', line 9 def total_amount @total_amount end |
Class Method Details
.new(currency:, total_amount:, invoice_payload:, telegram_payment_charge_id:, provider_payment_charge_id:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/refunded_payment.rbs', line 6
def self.new: (?currency: String, total_amount: Integer, invoice_payload: String, telegram_payment_charge_id: String, ?provider_payment_charge_id: String) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|