Class: Increase::Models::DigitalWalletToken::DynamicPrimaryAccountNumber
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::DigitalWalletToken::DynamicPrimaryAccountNumber
- Defined in:
- lib/increase/models/digital_wallet_token.rb,
sig/increase/models/digital_wallet_token.rbs
Overview
Instance Attribute Summary collapse
-
#first6 ⇒ String
The first 6 digits of the token's Dynamic Primary Account Number.
-
#last4 ⇒ String
The last 4 digits of the token's Dynamic Primary Account Number.
Instance Method Summary collapse
-
#initialize ⇒ DynamicPrimaryAccountNumber
constructor
A new instance of DynamicPrimaryAccountNumber.
- #to_hash ⇒ { :first6 => String, :last4 => String }
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 ⇒ DynamicPrimaryAccountNumber
Returns a new instance of DynamicPrimaryAccountNumber.
210 |
# File 'sig/increase/models/digital_wallet_token.rbs', line 210
def initialize: (first6: String, last4: String) -> void
|
Instance Attribute Details
#first6 ⇒ String
The first 6 digits of the token's Dynamic Primary Account Number.
246 |
# File 'lib/increase/models/digital_wallet_token.rb', line 246 required :first6, String |
#last4 ⇒ String
The last 4 digits of the token's Dynamic Primary Account Number.
252 |
# File 'lib/increase/models/digital_wallet_token.rb', line 252 required :last4, String |
Instance Method Details
#to_hash ⇒ { :first6 => String, :last4 => String }
212 |
# File 'sig/increase/models/digital_wallet_token.rbs', line 212
def to_hash: -> { :first6 => String, :last4 => String }
|