peyk.platforms.telegram.types.transaction_partner_fragment¶
Classes
|
Describes a withdrawal transaction with Fragment. |
- class peyk.platforms.telegram.types.transaction_partner_fragment.TransactionPartnerFragment(type: str = 'fragment', withdrawal_state: RevenueWithdrawalStatePending | RevenueWithdrawalStateSucceeded | RevenueWithdrawalStateFailed | None = None)[source]¶
Bases:
objectDescribes a withdrawal transaction with Fragment.
- Variables:
type (str) – Type of the transaction partner, always ‘fragment’
withdrawal_state (peyk.platforms.telegram.types.revenue_withdrawal_state_pending.RevenueWithdrawalStatePending | peyk.platforms.telegram.types.revenue_withdrawal_state_succeeded.RevenueWithdrawalStateSucceeded | peyk.platforms.telegram.types.revenue_withdrawal_state_failed.RevenueWithdrawalStateFailed | None) – State of the transaction if the transaction is outgoing
- type: str = 'fragment'¶
- withdrawal_state: RevenueWithdrawalStatePending | RevenueWithdrawalStateSucceeded | RevenueWithdrawalStateFailed | None = None¶
- classmethod from_dict(data: dict | None) TransactionPartnerFragment | None[source]¶
Provides the from dict operation for the Telegram integration.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the operation.