Class: Lithic::Models::AccountActivityListResponse::Card

Inherits:
Transaction show all
Defined in:
lib/lithic/models/account_activity_list_response.rb

Defined Under Namespace

Modules: Status

Instance Attribute Summary collapse

Attributes inherited from Transaction

#account_token, #acquirer_fee, #acquirer_reference_number, #amount, #amounts, #authorization_amount, #authorization_code, #avs, #card_token, #cardholder_authentication, #events, #financial_account_token, #merchant, #merchant_amount, #merchant_authorization_amount, #merchant_currency, #network, #network_risk_score, #pos, #result, #settled_amount, #token_info

Instance Method Summary collapse

Methods inherited from Transaction

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(token:, created:, status:, updated:, family: :CARD) ⇒ Object

Card transaction with ledger base properties

Parameters:

  • token (String)

    Unique identifier for the transaction

  • created (Time)

    ISO 8601 timestamp of when the transaction was created

  • status (Symbol, Lithic::Models::AccountActivityListResponse::Card::Status)

    The status of the transaction

  • updated (Time)

    ISO 8601 timestamp of when the transaction was last updated

  • family (Symbol, :CARD) (defaults to: :CARD)

    CARD - Card Transaction



# File 'lib/lithic/models/account_activity_list_response.rb', line 234


Instance Attribute Details

#createdTime

ISO 8601 timestamp of when the transaction was created

Returns:

  • (Time)


214
# File 'lib/lithic/models/account_activity_list_response.rb', line 214

required :created, Time

#familySymbol, :CARD

CARD - Card Transaction

Returns:

  • (Symbol, :CARD)


220
# File 'lib/lithic/models/account_activity_list_response.rb', line 220

required :family, const: :CARD

#statusSymbol, Lithic::Models::AccountActivityListResponse::Card::Status

The status of the transaction



226
# File 'lib/lithic/models/account_activity_list_response.rb', line 226

required :status, enum: -> { Lithic::Models::AccountActivityListResponse::Card::Status }

#tokenString

Unique identifier for the transaction

Returns:

  • (String)


208
# File 'lib/lithic/models/account_activity_list_response.rb', line 208

required :token, String

#updatedTime

ISO 8601 timestamp of when the transaction was last updated

Returns:

  • (Time)


232
# File 'lib/lithic/models/account_activity_list_response.rb', line 232

required :updated, Time