Class: Inttegro::FinancialAccount::DisableRequest
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::FinancialAccount::DisableRequest
- Defined in:
- lib/inttegro/financial_account/disable_request.rb
Overview
Typed representation of the disable request object in the Inttegro API.
This generated model is immutable. Construct it with .new, or decode a string-keyed API
payload with .from_hash. #serialize produces a string-keyed hash using the original wire
field names and serialized enum values.
Instance Attribute Summary collapse
-
#account_id ⇒ String
readonly
Value of the
account_idfield in the Inttegro API payload. -
#unset_as_payout_destination ⇒ Boolean?
readonly
Remove this account from payout destinations before the state change.
Instance Attribute Details
#account_id ⇒ String (readonly)
Value of the account_id field in the Inttegro API payload.
Required in the API payload. Wire name: account_id.
30 31 32 33 |
# File 'lib/inttegro/financial_account/disable_request.rb', line 30 class DisableRequest < T::Struct const :account_id, String const :unset_as_payout_destination, T.nilable(T::Boolean), default: nil end |
#unset_as_payout_destination ⇒ Boolean? (readonly)
Remove this account from payout destinations before the state change. If false, a mapped account is rejected.
Optional in the API payload; omitted values default to nil. Wire name: unset_as_payout_destination.
30 31 32 33 |
# File 'lib/inttegro/financial_account/disable_request.rb', line 30 class DisableRequest < T::Struct const :account_id, String const :unset_as_payout_destination, T.nilable(T::Boolean), default: nil end |