Class: ModernTreasury::Models::InternalAccountCreateParams::AccountCapability

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

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::InternalAccountCreateParams::AccountCapability 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::InternalAccountCreateParams::AccountCapability::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_create_params.rb', line 176

Instance Attribute Details

#created_atTime

Returns:

  • (Time)


130
# File 'lib/modern_treasury/models/internal_account_create_params.rb', line 130

required :created_at, Time

#directionSymbol, ModernTreasury::Models::TransactionDirection

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



137
# File 'lib/modern_treasury/models/internal_account_create_params.rb', line 137

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

#discarded_atTime?

Returns:

  • (Time, nil)


142
# File 'lib/modern_treasury/models/internal_account_create_params.rb', line 142

required :discarded_at, Time, nil?: true

#idString

Returns:

  • (String)


125
# File 'lib/modern_treasury/models/internal_account_create_params.rb', line 125

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)


149
# File 'lib/modern_treasury/models/internal_account_create_params.rb', line 149

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)


156
# File 'lib/modern_treasury/models/internal_account_create_params.rb', line 156

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

#objectString

Returns:

  • (String)


161
# File 'lib/modern_treasury/models/internal_account_create_params.rb', line 161

required :object, String

#payment_typeSymbol, ModernTreasury::Models::InternalAccountCreateParams::AccountCapability::PaymentType

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



168
169
# File 'lib/modern_treasury/models/internal_account_create_params.rb', line 168

required :payment_type,
enum: -> { ModernTreasury::InternalAccountCreateParams::AccountCapability::PaymentType }

#updated_atTime

Returns:

  • (Time)


174
# File 'lib/modern_treasury/models/internal_account_create_params.rb', line 174

required :updated_at, Time