Class: ModernTreasury::Models::InternalAccountUpdateAccountCapabilityResponse

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

Overview

Defined Under Namespace

Modules: PaymentType

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: , created_at: , direction: , discarded_at: , identifier: , live_mode: , object: , payment_type: , updated_at: ) ⇒ Object

Some parameter documentations has been truncated, see ModernTreasury::Models::InternalAccountUpdateAccountCapabilityResponse for more details.

Parameters:

  • id (String) (defaults to: )
  • created_at (Time) (defaults to: )
  • direction (Symbol, ModernTreasury::Models::TransactionDirection) (defaults to: )

    One of ‘debit` or `credit`. Indicates the direction of money movement this capab

  • discarded_at (Time, nil) (defaults to: )
  • identifier (String, nil) (defaults to: )

    A unique reference assigned by your bank for tracking and recognizing payment fi

  • 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: )
  • payment_type (Symbol, ModernTreasury::Models::InternalAccountUpdateAccountCapabilityResponse::PaymentType) (defaults to: )

    Indicates the the type of payment this capability is responsible for originating

  • updated_at (Time) (defaults to: )


# File 'lib/modern_treasury/models/internal_account_update_account_capability_response.rb', line 61


Instance Attribute Details

#created_atTime

Returns:

  • (Time)


15
# File 'lib/modern_treasury/models/internal_account_update_account_capability_response.rb', line 15

required :created_at, Time

#directionSymbol, ModernTreasury::Models::TransactionDirection

One of ‘debit` or `credit`. Indicates the direction of money movement this capability is responsible for.



22
# File 'lib/modern_treasury/models/internal_account_update_account_capability_response.rb', line 22

required :direction, enum: -> { ModernTreasury::TransactionDirection }

#discarded_atTime?

Returns:

  • (Time, nil)


27
# File 'lib/modern_treasury/models/internal_account_update_account_capability_response.rb', line 27

required :discarded_at, Time, nil?: true

#idString

Returns:

  • (String)


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

required :id, String

#identifierString?

A unique reference assigned by your bank for tracking and recognizing payment files. It is important this is formatted exactly how the bank assigned it.

Returns:

  • (String, nil)


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

required :identifier, String, nil?: true

#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)


41
# File 'lib/modern_treasury/models/internal_account_update_account_capability_response.rb', line 41

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

#objectString

Returns:

  • (String)


46
# File 'lib/modern_treasury/models/internal_account_update_account_capability_response.rb', line 46

required :object, String

#payment_typeSymbol, ModernTreasury::Models::InternalAccountUpdateAccountCapabilityResponse::PaymentType

Indicates the the type of payment this capability is responsible for originating.



53
54
# File 'lib/modern_treasury/models/internal_account_update_account_capability_response.rb', line 53

required :payment_type,
enum: -> { ModernTreasury::Models::InternalAccountUpdateAccountCapabilityResponse::PaymentType }

#updated_atTime

Returns:

  • (Time)


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

required :updated_at, Time