Class: Lithic::Models::CardProgram

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/card_program.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

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(token:, account_level_management_enabled:, created:, name:, pan_range_end:, pan_range_start:, cardholder_currency: nil, settlement_currencies: nil) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::CardProgram for more details.

Parameters:

  • token (String)

    Globally unique identifier.

  • account_level_management_enabled (Boolean)

    Whether the card program is participating in Account Level Management. Currently

  • created (Time)

    Timestamp of when the card program was created.

  • name (String)

    The name of the card program.

  • pan_range_end (String)

    The first digits of the card number that this card program ends with.

  • pan_range_start (String)

    The first digits of the card number that this card program starts with.

  • cardholder_currency (String) (defaults to: nil)

    3-character alphabetic ISO 4217 code for the currency of the cardholder.

  • settlement_currencies (Array<String>) (defaults to: nil)

    List of 3-character alphabetic ISO 4217 codes for the currencies that the card p



# File 'lib/lithic/models/card_program.rb', line 57

Instance Attribute Details

#account_level_management_enabledBoolean

Whether the card program is participating in Account Level Management. Currently applicable to Visa card programs only.

Returns:

  • (Boolean)


18
# File 'lib/lithic/models/card_program.rb', line 18

required :account_level_management_enabled, Lithic::Internal::Type::Boolean

#cardholder_currencyString?

3-character alphabetic ISO 4217 code for the currency of the cardholder.

Returns:

  • (String, nil)


48
# File 'lib/lithic/models/card_program.rb', line 48

optional :cardholder_currency, String

#createdTime

Timestamp of when the card program was created.

Returns:

  • (Time)


24
# File 'lib/lithic/models/card_program.rb', line 24

required :created, Time

#nameString

The name of the card program.

Returns:

  • (String)


30
# File 'lib/lithic/models/card_program.rb', line 30

required :name, String

#pan_range_endString

The first digits of the card number that this card program ends with.

Returns:

  • (String)


36
# File 'lib/lithic/models/card_program.rb', line 36

required :pan_range_end, String

#pan_range_startString

The first digits of the card number that this card program starts with.

Returns:

  • (String)


42
# File 'lib/lithic/models/card_program.rb', line 42

required :pan_range_start, String

#settlement_currenciesArray<String>?

List of 3-character alphabetic ISO 4217 codes for the currencies that the card program supports for settlement.

Returns:

  • (Array<String>, nil)


55
# File 'lib/lithic/models/card_program.rb', line 55

optional :settlement_currencies, Lithic::Internal::Type::ArrayOf[String]

#tokenString

Globally unique identifier.

Returns:

  • (String)


11
# File 'lib/lithic/models/card_program.rb', line 11

required :token, String