Class: ModernTreasury::Models::PaymentActionCreateResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::PaymentActionCreateResponse
- Defined in:
- lib/modern_treasury/models/payment_action_create_response.rb
Overview
Instance Attribute Summary collapse
-
#actionable_id ⇒ String?
The ID of the associated actionable object.
-
#actionable_type ⇒ String?
The type of the associated actionable object.
- #created_at ⇒ Time
-
#details ⇒ Object
The specifc details of the payment action based on type.
- #id ⇒ String
-
#internal_account_id ⇒ String
The ID of the internal account associated with the payment action.
-
#live_mode ⇒ Boolean
This field will be true if this object exists in the live environment or false if it exists in the test environment.
- #object ⇒ String
-
#status ⇒ String
The current status of the payment action.
-
#type ⇒ String
The type of the payment action.
- #updated_at ⇒ Time
Instance Method Summary collapse
-
#initialize(id: , actionable_id: , actionable_type: , created_at: , details: , internal_account_id: , live_mode: , object: , status: , type: , updated_at: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see PaymentActionCreateResponse for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id: , actionable_id: , actionable_type: , created_at: , details: , internal_account_id: , live_mode: , object: , status: , type: , updated_at: ) ⇒ Object
Some parameter documentations has been truncated, see ModernTreasury::Models::PaymentActionCreateResponse for more details.
‘expected_
|
|
# File 'lib/modern_treasury/models/payment_action_create_response.rb', line 72
|
Instance Attribute Details
#actionable_id ⇒ String?
The ID of the associated actionable object.
16 |
# File 'lib/modern_treasury/models/payment_action_create_response.rb', line 16 required :actionable_id, String, nil?: true |
#actionable_type ⇒ String?
The type of the associated actionable object. One of ‘payment_order`, `expected_payment`.
23 |
# File 'lib/modern_treasury/models/payment_action_create_response.rb', line 23 required :actionable_type, String, nil?: true |
#created_at ⇒ Time
28 |
# File 'lib/modern_treasury/models/payment_action_create_response.rb', line 28 required :created_at, Time |
#details ⇒ Object
The specifc details of the payment action based on type.
34 |
# File 'lib/modern_treasury/models/payment_action_create_response.rb', line 34 required :details, ModernTreasury::Internal::Type::Unknown |
#id ⇒ String
10 |
# File 'lib/modern_treasury/models/payment_action_create_response.rb', line 10 required :id, String |
#internal_account_id ⇒ String
The ID of the internal account associated with the payment action.
40 |
# File 'lib/modern_treasury/models/payment_action_create_response.rb', line 40 required :internal_account_id, String |
#live_mode ⇒ Boolean
This field will be true if this object exists in the live environment or false if it exists in the test environment.
47 |
# File 'lib/modern_treasury/models/payment_action_create_response.rb', line 47 required :live_mode, ModernTreasury::Internal::Type::Boolean |
#object ⇒ String
52 |
# File 'lib/modern_treasury/models/payment_action_create_response.rb', line 52 required :object, String |
#status ⇒ String
The current status of the payment action. One of ‘pending`, `processing`, `sent`, `acknowledged`, `cancelled`, or `failed`.
59 |
# File 'lib/modern_treasury/models/payment_action_create_response.rb', line 59 required :status, String |
#type ⇒ String
The type of the payment action. Determines the action to be taken.
65 |
# File 'lib/modern_treasury/models/payment_action_create_response.rb', line 65 required :type, String |
#updated_at ⇒ Time
70 |
# File 'lib/modern_treasury/models/payment_action_create_response.rb', line 70 required :updated_at, Time |