Class: Increase::Models::Simulations::CardTokenCreateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/increase/models/simulations/card_token_create_params.rb

Overview

Defined Under Namespace

Classes: Capability

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Method Summary

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Increase::Internal::Type::BaseModel

Instance Attribute Details

#capabilitiesArray<Increase::Models::Simulations::CardTokenCreateParams::Capability>?

The capabilities of the outbound card token.



15
16
# File 'lib/increase/models/simulations/card_token_create_params.rb', line 15

optional :capabilities,
-> { Increase::Internal::Type::ArrayOf[Increase::Simulations::CardTokenCreateParams::Capability] }

#expirationDate?

The expiration date of the card.

Returns:

  • (Date, nil)


22
# File 'lib/increase/models/simulations/card_token_create_params.rb', line 22

optional :expiration, Date

#last4String?

The last 4 digits of the card number.

Returns:

  • (String, nil)


28
# File 'lib/increase/models/simulations/card_token_create_params.rb', line 28

optional :last4, String

#prefixString?

The prefix of the card number, usually the first 8 digits.

Returns:

  • (String, nil)


34
# File 'lib/increase/models/simulations/card_token_create_params.rb', line 34

optional :prefix, String

#primary_account_number_lengthInteger?

The total length of the card number, including prefix and last4.

Returns:

  • (Integer, nil)


40
# File 'lib/increase/models/simulations/card_token_create_params.rb', line 40

optional :primary_account_number_length, Integer