Class: Sink::Models::FundingAccount
- Defined in:
- lib/sink/models/funding_account.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#account_name ⇒ String
Account name identifying the funding source.
-
#created ⇒ Time
An ISO 8601 string representing when this funding source was added to the Lithic account.
-
#last_four ⇒ String
The last 4 digits of the account (e.g. bank account, debit card) associated with this FundingAccount.
-
#nickname ⇒ String
The nickname given to the ‘FundingAccount` or `null` if it has no nickname.
-
#state ⇒ Object
State of funding source.
-
#token ⇒ String
A globally unique identifier for this FundingAccount.
-
#type ⇒ Object
Types of funding source:.
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ FundingAccount
constructor
Create a new instance of FundingAccount from a Hash of raw data.
Methods inherited from BaseModel
#[], #deconstruct_keys, #inspect, #to_h, #to_s
Constructor Details
#initialize(data = {}) ⇒ FundingAccount
Create a new instance of FundingAccount from a Hash of raw data.
25 |
# File 'lib/sink/models/funding_account.rb', line 25 def initialize(data = {}) = super |
Instance Attribute Details
#account_name ⇒ String
Account name identifying the funding source. This may be ‘null`.
43 |
# File 'lib/sink/models/funding_account.rb', line 43 optional :account_name, String |
#created ⇒ Time
An ISO 8601 string representing when this funding source was added to the Lithic account. This may be ‘null`. UTC time zone.
14 |
# File 'lib/sink/models/funding_account.rb', line 14 required :created, Time |
#last_four ⇒ String
The last 4 digits of the account (e.g. bank account, debit card) associated with this FundingAccount. This may be null.
19 |
# File 'lib/sink/models/funding_account.rb', line 19 required :last_four, String, api_name: :lastFour |
#nickname ⇒ String
The nickname given to the ‘FundingAccount` or `null` if it has no nickname.
48 |
# File 'lib/sink/models/funding_account.rb', line 48 optional :nickname, String |
#state ⇒ Object
State of funding source.
30 |
# File 'lib/sink/models/funding_account.rb', line 30 required :state, enum: -> { Sink::Models::FundingAccount::State } |
#token ⇒ String
A globally unique identifier for this FundingAccount.
9 |
# File 'lib/sink/models/funding_account.rb', line 9 required :token, String |
#type ⇒ Object
Types of funding source:
38 |
# File 'lib/sink/models/funding_account.rb', line 38 required :type, enum: -> { Sink::Models::FundingAccount::Type } |