Class: TesoteSdk::Models::PaymentMethod
- Inherits:
-
Struct
- Object
- Struct
- TesoteSdk::Models::PaymentMethod
- Extended by:
- FromHash
- Defined in:
- lib/tesote_sdk/models.rb
Instance Attribute Summary collapse
-
#counterparty ⇒ Object
Returns the value of attribute counterparty.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#details ⇒ Object
Returns the value of attribute details.
-
#id ⇒ Object
Returns the value of attribute id.
-
#label ⇒ Object
Returns the value of attribute label.
-
#last_used_at ⇒ Object
Returns the value of attribute last_used_at.
-
#method_type ⇒ Object
Returns the value of attribute method_type.
-
#tesote_account ⇒ Object
Returns the value of attribute tesote_account.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#verified ⇒ Object
Returns the value of attribute verified.
-
#verified_at ⇒ Object
Returns the value of attribute verified_at.
Class Method Summary collapse
Methods included from FromHash
build_field, from_array, from_hash
Instance Attribute Details
#counterparty ⇒ Object
Returns the value of attribute counterparty
296 297 298 |
# File 'lib/tesote_sdk/models.rb', line 296 def counterparty @counterparty end |
#created_at ⇒ Object
Returns the value of attribute created_at
296 297 298 |
# File 'lib/tesote_sdk/models.rb', line 296 def created_at @created_at end |
#currency ⇒ Object
Returns the value of attribute currency
296 297 298 |
# File 'lib/tesote_sdk/models.rb', line 296 def currency @currency end |
#details ⇒ Object
Returns the value of attribute details
296 297 298 |
# File 'lib/tesote_sdk/models.rb', line 296 def details @details end |
#id ⇒ Object
Returns the value of attribute id
296 297 298 |
# File 'lib/tesote_sdk/models.rb', line 296 def id @id end |
#label ⇒ Object
Returns the value of attribute label
296 297 298 |
# File 'lib/tesote_sdk/models.rb', line 296 def label @label end |
#last_used_at ⇒ Object
Returns the value of attribute last_used_at
296 297 298 |
# File 'lib/tesote_sdk/models.rb', line 296 def last_used_at @last_used_at end |
#method_type ⇒ Object
Returns the value of attribute method_type
296 297 298 |
# File 'lib/tesote_sdk/models.rb', line 296 def method_type @method_type end |
#tesote_account ⇒ Object
Returns the value of attribute tesote_account
296 297 298 |
# File 'lib/tesote_sdk/models.rb', line 296 def tesote_account @tesote_account end |
#updated_at ⇒ Object
Returns the value of attribute updated_at
296 297 298 |
# File 'lib/tesote_sdk/models.rb', line 296 def updated_at @updated_at end |
#verified ⇒ Object
Returns the value of attribute verified
296 297 298 |
# File 'lib/tesote_sdk/models.rb', line 296 def verified @verified end |
#verified_at ⇒ Object
Returns the value of attribute verified_at
296 297 298 |
# File 'lib/tesote_sdk/models.rb', line 296 def verified_at @verified_at end |
Class Method Details
.build_field(key, value) ⇒ Object
313 314 315 316 317 318 319 |
# File 'lib/tesote_sdk/models.rb', line 313 def self.build_field(key, value) case key when 'counterparty' then Counterparty.from_hash(value) when 'tesote_account' then TesoteAccountRef.from_hash(value) else value end end |