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