Class: Lithic::Models::Card

Inherits:
NonPCICard show all
Defined in:
lib/lithic/models/card.rb

Overview

Instance Attribute Summary collapse

Attributes inherited from NonPCICard

#account_token, #auth_rule_tokens, #bulk_order_token, #card_program_token, #cardholder_currency, #comment, #created, #digital_card_art_token, #exp_month, #exp_year, #funding, #hostname, #last_four, #memo, #network_program_token, #pending_commands, #pin_status, #product_id, #replacement_for, #spend_limit, #spend_limit_duration, #state, #substatus, #token, #type

Instance Method Summary collapse

Methods inherited from NonPCICard

values

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(cvv: nil, pan: nil) ⇒ Object

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

Card details with potentially PCI sensitive information for Enterprise customers



# File 'lib/lithic/models/card.rb', line 21


Instance Attribute Details

#cvvString?

Three digit cvv printed on the back of the card.



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

optional :cvv, String

#panString?

Primary Account Number (PAN) (i.e. the card number). Customers must be PCI compliant to have PAN returned as a field in production. Please contact [email protected] for questions.



19
# File 'lib/lithic/models/card.rb', line 19

optional :pan, String