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

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/real_time_payments_transfer.rb

Defined Under Namespace

Classes: APIKey, OAuthApplication, User

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

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

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



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

required :api_key, -> { Increase::Models::RealTimePaymentsTransfer::CreatedBy::APIKey }

#categorySymbol

The type of object that created this transfer.

Returns:

  • (Symbol)


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

required :category, Increase::Enum.new(:api_key, :oauth_application, :user)

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

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



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

required :oauth_application,
-> { Increase::Models::RealTimePaymentsTransfer::CreatedBy::OAuthApplication }

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

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



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

required :user, -> { Increase::Models::RealTimePaymentsTransfer::CreatedBy::User }