Class: Increase::Models::RealTimePaymentsTransfer::CreatedBy

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/real_time_payments_transfer.rb

Overview

See Also:

Defined Under Namespace

Modules: Category Classes: APIKey, OAuthApplication, User

Instance Attribute Summary collapse

Class Method 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(name: ) ⇒ Object

If present, details about the OAuth Application that created the transfer.

Parameters:

  • name (String) (defaults to: )

    The name of the OAuth Application.



# File 'lib/increase/models/real_time_payments_transfer.rb', line 331


Instance Attribute Details

#api_keyIncrease::Models::RealTimePaymentsTransfer::CreatedBy::APIKey?

If present, details about the API key that created the transfer.



309
# File 'lib/increase/models/real_time_payments_transfer.rb', line 309

required :api_key, -> { Increase::RealTimePaymentsTransfer::CreatedBy::APIKey }, nil?: true

#categorySymbol, Increase::Models::RealTimePaymentsTransfer::CreatedBy::Category

The type of object that created this transfer.



315
# File 'lib/increase/models/real_time_payments_transfer.rb', line 315

required :category, enum: -> { Increase::RealTimePaymentsTransfer::CreatedBy::Category }

#oauth_applicationIncrease::Models::RealTimePaymentsTransfer::CreatedBy::OAuthApplication?

If present, details about the OAuth Application that created the transfer.



321
322
323
# File 'lib/increase/models/real_time_payments_transfer.rb', line 321

required :oauth_application,
-> { Increase::RealTimePaymentsTransfer::CreatedBy::OAuthApplication },
nil?: true

#userIncrease::Models::RealTimePaymentsTransfer::CreatedBy::User?

If present, details about the User that created the transfer.



329
# File 'lib/increase/models/real_time_payments_transfer.rb', line 329

required :user, -> { Increase::RealTimePaymentsTransfer::CreatedBy::User }, nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/real_time_payments_transfer.rb', line 371