Class: Increase::Models::CardPayment::Element::CardAuthentication
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::CardPayment::Element::CardAuthentication
- Defined in:
- lib/increase/models/card_payment.rb
Overview
Defined Under Namespace
Modules: Category, DenyReason, DeviceChannel, Status, Type Classes: Challenge
Instance Attribute Summary collapse
-
#card_id ⇒ String
The identifier of the Card.
-
#card_payment_id ⇒ String
The ID of the Card Payment this transaction belongs to.
-
#category ⇒ Symbol, ...
The category of the card authentication attempt.
-
#challenge ⇒ Increase::Models::CardPayment::Element::CardAuthentication::Challenge?
Details about the challenge, if one was requested.
-
#created_at ⇒ Time
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) time at which the Card Authentication was attempted.
-
#deny_reason ⇒ Symbol, ...
The reason why this authentication attempt was denied, if it was.
-
#device_channel ⇒ Symbol, ...
The device channel of the card authentication attempt.
-
#id ⇒ String
The Card Authentication identifier.
-
#merchant_acceptor_id ⇒ String
The merchant identifier (commonly abbreviated as MID) of the merchant the card is transacting with.
-
#merchant_category_code ⇒ String
The Merchant Category Code (commonly abbreviated as MCC) of the merchant the card is transacting with.
-
#merchant_country ⇒ String
The country the merchant resides in.
-
#merchant_name ⇒ String
The name of the merchant.
-
#purchase_amount ⇒ Integer?
The purchase amount in minor units.
-
#purchase_currency ⇒ String?
The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the authentication attempt’s purchase currency.
-
#real_time_decision_id ⇒ String?
The identifier of the Real-Time Decision sent to approve or decline this authentication attempt.
-
#status ⇒ Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Status
The status of the card authentication.
-
#type ⇒ Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Type
A constant representing the object’s type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id: , card_id: , card_payment_id: , category: , challenge: , created_at: , deny_reason: , device_channel: , merchant_acceptor_id: , merchant_category_code: , merchant_country: , merchant_name: , purchase_amount: , purchase_currency: , real_time_decision_id: , status: , type: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see CardAuthentication 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(id: , card_id: , card_payment_id: , category: , challenge: , created_at: , deny_reason: , device_channel: , merchant_acceptor_id: , merchant_category_code: , merchant_country: , merchant_name: , purchase_amount: , purchase_currency: , real_time_decision_id: , status: , type: ) ⇒ Object
Some parameter documentations has been truncated, see Increase::Models::CardPayment::Element::CardAuthentication for more details.
A Card Authentication object. This field will be present in the JSON response if and only if ‘category` is equal to `card_authentication`. Card Authentications are attempts to authenticate a transaction or a card with 3DS.
|
|
# File 'lib/increase/models/card_payment.rb', line 365
|
Instance Attribute Details
#card_id ⇒ String
The identifier of the Card.
255 |
# File 'lib/increase/models/card_payment.rb', line 255 required :card_id, String |
#card_payment_id ⇒ String
The ID of the Card Payment this transaction belongs to.
261 |
# File 'lib/increase/models/card_payment.rb', line 261 required :card_payment_id, String |
#category ⇒ Symbol, ...
The category of the card authentication attempt.
267 268 269 270 271 |
# File 'lib/increase/models/card_payment.rb', line 267 required :category, enum: -> { Increase::CardPayment::Element::CardAuthentication::Category }, nil?: true |
#challenge ⇒ Increase::Models::CardPayment::Element::CardAuthentication::Challenge?
Details about the challenge, if one was requested.
277 278 279 280 281 |
# File 'lib/increase/models/card_payment.rb', line 277 required :challenge, -> { Increase::CardPayment::Element::CardAuthentication::Challenge }, nil?: true |
#created_at ⇒ Time
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) time at which the Card Authentication was attempted.
288 |
# File 'lib/increase/models/card_payment.rb', line 288 required :created_at, Time |
#deny_reason ⇒ Symbol, ...
The reason why this authentication attempt was denied, if it was.
294 295 296 |
# File 'lib/increase/models/card_payment.rb', line 294 required :deny_reason, enum: -> { Increase::CardPayment::Element::CardAuthentication::DenyReason }, nil?: true |
#device_channel ⇒ Symbol, ...
The device channel of the card authentication attempt.
302 303 304 |
# File 'lib/increase/models/card_payment.rb', line 302 required :device_channel, enum: -> { Increase::CardPayment::Element::CardAuthentication::DeviceChannel }, nil?: true |
#id ⇒ String
The Card Authentication identifier.
249 |
# File 'lib/increase/models/card_payment.rb', line 249 required :id, String |
#merchant_acceptor_id ⇒ String
The merchant identifier (commonly abbreviated as MID) of the merchant the card is transacting with.
311 |
# File 'lib/increase/models/card_payment.rb', line 311 required :merchant_acceptor_id, String |
#merchant_category_code ⇒ String
The Merchant Category Code (commonly abbreviated as MCC) of the merchant the card is transacting with.
318 |
# File 'lib/increase/models/card_payment.rb', line 318 required :merchant_category_code, String |
#merchant_country ⇒ String
The country the merchant resides in.
324 |
# File 'lib/increase/models/card_payment.rb', line 324 required :merchant_country, String |
#merchant_name ⇒ String
The name of the merchant.
330 |
# File 'lib/increase/models/card_payment.rb', line 330 required :merchant_name, String |
#purchase_amount ⇒ Integer?
The purchase amount in minor units.
336 |
# File 'lib/increase/models/card_payment.rb', line 336 required :purchase_amount, Integer, nil?: true |
#purchase_currency ⇒ String?
The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the authentication attempt’s purchase currency.
343 |
# File 'lib/increase/models/card_payment.rb', line 343 required :purchase_currency, String, nil?: true |
#real_time_decision_id ⇒ String?
The identifier of the Real-Time Decision sent to approve or decline this authentication attempt.
350 |
# File 'lib/increase/models/card_payment.rb', line 350 required :real_time_decision_id, String, nil?: true |
#status ⇒ Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Status
The status of the card authentication.
356 |
# File 'lib/increase/models/card_payment.rb', line 356 required :status, enum: -> { Increase::CardPayment::Element::CardAuthentication::Status } |
#type ⇒ Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Type
A constant representing the object’s type. For this resource it will always be ‘card_authentication`.
363 |
# File 'lib/increase/models/card_payment.rb', line 363 required :type, enum: -> { Increase::CardPayment::Element::CardAuthentication::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/increase/models/card_payment.rb', line 419
|