Class: Dinie::CustomerBankAccount
- Inherits:
-
Internal::Model
- Object
- Internal::Model
- Dinie::CustomerBankAccount
- Defined in:
- lib/dinie/generated/types/customer_bank_account.rb,
sig/dinie/generated/types/customer_bank_account.rbs
Constant Summary
Constants inherited from Internal::Model
Internal::Model::REDACTED_ATTRIBUTES
Instance Attribute Summary collapse
-
#bank_id ⇒ String
readonly
Returns the value of attribute bank_id.
-
#bank_name ⇒ String
readonly
Returns the value of attribute bank_name.
-
#branch ⇒ String
readonly
Returns the value of attribute branch.
-
#digit ⇒ String
readonly
Returns the value of attribute digit.
-
#id ⇒ bank_account_id
readonly
Returns the value of attribute id.
-
#kind ⇒ customer_bank_account_kind
readonly
Returns the value of attribute kind.
-
#number ⇒ String
readonly
Returns the value of attribute number.
-
#updated_at ⇒ Integer
readonly
Returns the value of attribute updated_at.
Class Method Summary collapse
- .deserialize(raw) ⇒ CustomerBankAccount
- .serialize_upsert ⇒ Hash[Symbol, untyped]
- .serialize_upsert_bank_account(bank_id:, branch:, digit:, kind:, number:) ⇒ Object
Methods inherited from Internal::Model
#==, attribute, attributes, #deconstruct_keys, #hash, inherited, #initialize, #inspect, #to_h
Constructor Details
This class inherits a constructor from Dinie::Internal::Model
Instance Attribute Details
#bank_id ⇒ String (readonly)
Returns the value of attribute bank_id.
13 14 15 |
# File 'sig/dinie/generated/types/customer_bank_account.rbs', line 13 def bank_id @bank_id end |
#bank_name ⇒ String (readonly)
Returns the value of attribute bank_name.
14 15 16 |
# File 'sig/dinie/generated/types/customer_bank_account.rbs', line 14 def bank_name @bank_name end |
#branch ⇒ String (readonly)
Returns the value of attribute branch.
15 16 17 |
# File 'sig/dinie/generated/types/customer_bank_account.rbs', line 15 def branch @branch end |
#digit ⇒ String (readonly)
Returns the value of attribute digit.
16 17 18 |
# File 'sig/dinie/generated/types/customer_bank_account.rbs', line 16 def digit @digit end |
#id ⇒ bank_account_id (readonly)
Returns the value of attribute id.
17 18 19 |
# File 'sig/dinie/generated/types/customer_bank_account.rbs', line 17 def id @id end |
#kind ⇒ customer_bank_account_kind (readonly)
Returns the value of attribute kind.
18 19 20 |
# File 'sig/dinie/generated/types/customer_bank_account.rbs', line 18 def kind @kind end |
#number ⇒ String (readonly)
Returns the value of attribute number.
19 20 21 |
# File 'sig/dinie/generated/types/customer_bank_account.rbs', line 19 def number @number end |
#updated_at ⇒ Integer (readonly)
Returns the value of attribute updated_at.
20 21 22 |
# File 'sig/dinie/generated/types/customer_bank_account.rbs', line 20 def updated_at @updated_at end |
Class Method Details
.deserialize(raw) ⇒ CustomerBankAccount
16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/dinie/generated/types/customer_bank_account.rb', line 16 def self.deserialize(raw) new( bank_id: raw[:bank_id], bank_name: raw[:bank_name], branch: raw[:branch], digit: raw[:digit], id: raw[:id], kind: raw[:kind], number: raw[:number], updated_at: raw[:updated_at] ) end |
.serialize_upsert ⇒ Hash[Symbol, untyped]
24 |
# File 'sig/dinie/generated/types/customer_bank_account.rbs', line 24 def self.serialize_upsert: (bank_id: String, branch: String, digit: String, kind: String, number: String) -> Hash[Symbol, untyped] |
.serialize_upsert_bank_account(bank_id:, branch:, digit:, kind:, number:) ⇒ Object
29 30 31 |
# File 'lib/dinie/generated/types/customer_bank_account.rb', line 29 def self.serialize_upsert_bank_account(bank_id:, branch:, digit:, kind:, number:) { bank_account: { bank_id:, branch:, digit:, kind:, number: } } end |