Class: Lithic::Models::ThreeDSAuthentication::Transaction
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::ThreeDSAuthentication::Transaction
- Defined in:
- lib/lithic/models/three_ds_authentication.rb
Overview
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#amount ⇒ Float
Amount of the purchase in minor units of currency with all punctuation removed.
-
#cardholder_amount ⇒ Float?
Approximate amount of the purchase in minor units of cardholder currency.
-
#currency ⇒ String
Currency of the purchase.
-
#currency_exponent ⇒ Float
Minor units of currency, as specified in ISO 4217 currency exponent.
-
#date_time ⇒ Time
Date and time when the authentication was generated by the merchant/acquirer’s 3DS server.
-
#type ⇒ Symbol, ...
Type of the transaction for which a 3DS authentication request is occurring.
Instance Method Summary collapse
-
#initialize(amount:, cardholder_amount:, currency:, currency_exponent:, date_time:, type:) ⇒ Object
constructor
Some parameter documentations has been truncated, see Transaction for more details.
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(amount:, cardholder_amount:, currency:, currency_exponent:, date_time:, type:) ⇒ Object
Some parameter documentations has been truncated, see Lithic::Models::ThreeDSAuthentication::Transaction for more details.
Object containing data about the e-commerce transaction for which the merchant is requesting authentication.
|
|
# File 'lib/lithic/models/three_ds_authentication.rb', line 1221
|
Instance Attribute Details
#amount ⇒ Float
Amount of the purchase in minor units of currency with all punctuation removed. Maps to EMV 3DS field ‘purchaseAmount`.
1183 |
# File 'lib/lithic/models/three_ds_authentication.rb', line 1183 required :amount, Float |
#cardholder_amount ⇒ Float?
Approximate amount of the purchase in minor units of cardholder currency. Derived from ‘amount` using a daily conversion rate.
1190 |
# File 'lib/lithic/models/three_ds_authentication.rb', line 1190 required :cardholder_amount, Float, nil?: true |
#currency ⇒ String
Currency of the purchase. Maps to EMV 3DS field ‘purchaseCurrency`. Permitted values: ISO 4217 three-character currency code (e.g., USD).
1197 |
# File 'lib/lithic/models/three_ds_authentication.rb', line 1197 required :currency, String |
#currency_exponent ⇒ Float
Minor units of currency, as specified in ISO 4217 currency exponent. Maps to EMV 3DS field ‘purchaseExponent`.
1204 |
# File 'lib/lithic/models/three_ds_authentication.rb', line 1204 required :currency_exponent, Float |
#date_time ⇒ Time
Date and time when the authentication was generated by the merchant/acquirer’s 3DS server. Maps to EMV 3DS field ‘purchaseDate`. Permitted values: Date string in the ISO 8601 format yyyy-MM-dd’T’hh:mm:ssZ.
1212 |
# File 'lib/lithic/models/three_ds_authentication.rb', line 1212 required :date_time, Time |
#type ⇒ Symbol, ...
Type of the transaction for which a 3DS authentication request is occurring. Maps to EMV 3DS field ‘transType`.
1219 |
# File 'lib/lithic/models/three_ds_authentication.rb', line 1219 required :type, enum: -> { Lithic::ThreeDSAuthentication::Transaction::Type }, nil?: true |