Class: ModernTreasury::Models::PaymentActionUpdateResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/modern_treasury/models/payment_action_update_response.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

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::PaymentActionUpdateResponse for more details.

‘expected_

Parameters:

  • id (String) (defaults to: )
  • actionable_id (String, nil) (defaults to: )

    The ID of the associated actionable object.

  • actionable_type (String, nil) (defaults to: )

    The type of the associated actionable object. One of ‘payment_order`,

  • created_at (Time) (defaults to: )
  • details (Object) (defaults to: )

    The specifc details of the payment action based on type.

  • internal_account_id (String) (defaults to: )

    The ID of the internal account associated with the payment action.

  • live_mode (Boolean) (defaults to: )

    This field will be true if this object exists in the live environment or false i

  • object (String) (defaults to: )
  • status (String) (defaults to: )

    The current status of the payment action. One of ‘pending`, `processing`, `sent`

  • type (String) (defaults to: )

    The type of the payment action. Determines the action to be taken.

  • updated_at (Time) (defaults to: )


# File 'lib/modern_treasury/models/payment_action_update_response.rb', line 72


Instance Attribute Details

#actionable_idString?

The ID of the associated actionable object.

Returns:

  • (String, nil)


16
# File 'lib/modern_treasury/models/payment_action_update_response.rb', line 16

required :actionable_id, String, nil?: true

#actionable_typeString?

The type of the associated actionable object. One of ‘payment_order`, `expected_payment`.

Returns:

  • (String, nil)


23
# File 'lib/modern_treasury/models/payment_action_update_response.rb', line 23

required :actionable_type, String, nil?: true

#created_atTime

Returns:

  • (Time)


28
# File 'lib/modern_treasury/models/payment_action_update_response.rb', line 28

required :created_at, Time

#detailsObject

The specifc details of the payment action based on type.

Returns:

  • (Object)


34
# File 'lib/modern_treasury/models/payment_action_update_response.rb', line 34

required :details, ModernTreasury::Internal::Type::Unknown

#idString

Returns:

  • (String)


10
# File 'lib/modern_treasury/models/payment_action_update_response.rb', line 10

required :id, String

#internal_account_idString

The ID of the internal account associated with the payment action.

Returns:

  • (String)


40
# File 'lib/modern_treasury/models/payment_action_update_response.rb', line 40

required :internal_account_id, String

#live_modeBoolean

This field will be true if this object exists in the live environment or false if it exists in the test environment.

Returns:

  • (Boolean)


47
# File 'lib/modern_treasury/models/payment_action_update_response.rb', line 47

required :live_mode, ModernTreasury::Internal::Type::Boolean

#objectString

Returns:

  • (String)


52
# File 'lib/modern_treasury/models/payment_action_update_response.rb', line 52

required :object, String

#statusString

The current status of the payment action. One of ‘pending`, `processing`, `sent`, `acknowledged`, `cancelled`, or `failed`.

Returns:

  • (String)


59
# File 'lib/modern_treasury/models/payment_action_update_response.rb', line 59

required :status, String

#typeString

The type of the payment action. Determines the action to be taken.

Returns:

  • (String)


65
# File 'lib/modern_treasury/models/payment_action_update_response.rb', line 65

required :type, String

#updated_atTime

Returns:

  • (Time)


70
# File 'lib/modern_treasury/models/payment_action_update_response.rb', line 70

required :updated_at, Time