Class: Lithic::Models::AsaRequestWebhookEvent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::AsaRequestWebhookEvent
- Defined in:
- lib/lithic/models/asa_request_webhook_event.rb
Defined Under Namespace
Modules: AccountType, Network, Status, TransactionInitiator Classes: Avs, Card, FleetInfo, LatestChallenge, NetworkSpecificData, Pos
Instance Attribute Summary collapse
- #account_type ⇒ Symbol, ...
-
#acquirer_fee ⇒ Integer
Fee (in cents) assessed by the merchant and paid for by the cardholder.
-
#amount ⇒ Integer
Authorization amount of the transaction (in cents), including any acquirer fees.
-
#authorization_amount ⇒ Integer
The base transaction amount (in cents) plus the acquirer fee field.
- #avs ⇒ Lithic::Models::AsaRequestWebhookEvent::Avs
-
#card ⇒ Lithic::Models::AsaRequestWebhookEvent::Card
Card object in ASA.
- #cardholder_authentication ⇒ Lithic::Models::CardholderAuthentication?
-
#cardholder_currency ⇒ String
3-character alphabetic ISO 4217 code for cardholder’s billing currency.
-
#cash_amount ⇒ Integer
The portion of the transaction requested as cash back by the cardholder, and does not include any acquirer fees.
-
#cashback ⇒ Integer?
Deprecated, use ‘cash_amount`.
-
#conversion_rate ⇒ Float?
If the transaction was requested in a currency other than the settlement currency, this field will be populated to indicate the rate used to translate the merchant_amount to the amount (i.e., ‘merchant_amount` x `conversion_rate` = `amount`).
-
#created ⇒ Time
Date and time when the transaction first occurred in UTC.
-
#event_token ⇒ String?
The event token associated with the authorization.
-
#fleet_info ⇒ Lithic::Models::AsaRequestWebhookEvent::FleetInfo?
Optional Object containing information if the Card is a part of a Fleet managed program.
-
#latest_challenge ⇒ Lithic::Models::AsaRequestWebhookEvent::LatestChallenge?
The latest Authorization Challenge that was issued to the cardholder for this merchant.
- #merchant ⇒ Lithic::Models::Merchant
-
#merchant_amount ⇒ Integer
The amount that the merchant will receive, denominated in ‘merchant_currency` and in the smallest currency unit.
-
#merchant_currency ⇒ String
3-character alphabetic ISO 4217 code for the local currency of the transaction.
-
#network ⇒ Symbol, ...
Card network of the authorization.
-
#network_risk_score ⇒ Integer?
Network-provided score assessing risk level associated with a given authorization.
-
#network_specific_data ⇒ Lithic::Models::AsaRequestWebhookEvent::NetworkSpecificData?
Contains raw data provided by the card network, including attributes that provide further context about the authorization.
- #pos ⇒ Lithic::Models::AsaRequestWebhookEvent::Pos?
-
#settled_amount ⇒ Integer
Amount (in cents) of the transaction that has been settled, including any acquirer fees.
-
#status ⇒ Symbol, Lithic::Models::AsaRequestWebhookEvent::Status
The type of authorization request that this request is for.
-
#token ⇒ String
The provisional transaction group uuid associated with the authorization.
- #token_info ⇒ Lithic::Models::TokenInfo?
-
#transaction_initiator ⇒ Symbol, Lithic::Models::AsaRequestWebhookEvent::TransactionInitiator
The entity that initiated the transaction.
-
#ttl ⇒ Time?
Deprecated: approximate time-to-live for the authorization.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(business_application_identifier: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see NetworkSpecificData::Visa 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(business_application_identifier: nil) ⇒ Object
Some parameter documentations has been truncated, see Lithic::Models::AsaRequestWebhookEvent::NetworkSpecificData::Visa for more details.
|
|
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 201
|
Instance Attribute Details
#account_type ⇒ Symbol, ...
114 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 114 optional :account_type, enum: -> { Lithic::AsaRequestWebhookEvent::AccountType } |
#acquirer_fee ⇒ Integer
Fee (in cents) assessed by the merchant and paid for by the cardholder. Will be zero if no fee is assessed. Rebates may be transmitted as a negative value to indicate credited fees.
18 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 18 required :acquirer_fee, Integer |
#amount ⇒ Integer
Authorization amount of the transaction (in cents), including any acquirer fees. The contents of this field are identical to ‘authorization_amount`.
25 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 25 required :amount, Integer |
#authorization_amount ⇒ Integer
The base transaction amount (in cents) plus the acquirer fee field. This is the amount the issuer should authorize against unless the issuer is paying the acquirer fee on behalf of the cardholder.
33 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 33 required :authorization_amount, Integer |
#avs ⇒ Lithic::Models::AsaRequestWebhookEvent::Avs
38 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 38 required :avs, -> { Lithic::AsaRequestWebhookEvent::Avs } |
#card ⇒ Lithic::Models::AsaRequestWebhookEvent::Card
Card object in ASA
44 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 44 required :card, -> { Lithic::AsaRequestWebhookEvent::Card } |
#cardholder_authentication ⇒ Lithic::Models::CardholderAuthentication?
119 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 119 optional :cardholder_authentication, -> { Lithic::CardholderAuthentication } |
#cardholder_currency ⇒ String
3-character alphabetic ISO 4217 code for cardholder’s billing currency.
50 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 50 required :cardholder_currency, String |
#cash_amount ⇒ Integer
The portion of the transaction requested as cash back by the cardholder, and does not include any acquirer fees. The amount field includes the purchase amount, the requested cash back amount, and any acquirer fees.
If no cash back was requested, the value of this field will be 0, and the field will always be present.
61 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 61 required :cash_amount, Integer |
#cashback ⇒ Integer?
Deprecated, use ‘cash_amount`.
125 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 125 optional :cashback, Integer |
#conversion_rate ⇒ Float?
If the transaction was requested in a currency other than the settlement currency, this field will be populated to indicate the rate used to translate the merchant_amount to the amount (i.e., ‘merchant_amount` x `conversion_rate` = `amount`). Note that the `merchant_amount` is in the local currency and the amount is in the settlement currency.
135 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 135 optional :conversion_rate, Float |
#created ⇒ Time
Date and time when the transaction first occurred in UTC.
67 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 67 required :created, Time |
#event_token ⇒ String?
The event token associated with the authorization. This field is only set for programs enrolled into the beta.
142 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 142 optional :event_token, String |
#fleet_info ⇒ Lithic::Models::AsaRequestWebhookEvent::FleetInfo?
Optional Object containing information if the Card is a part of a Fleet managed program
149 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 149 optional :fleet_info, -> { Lithic::AsaRequestWebhookEvent::FleetInfo }, nil?: true |
#latest_challenge ⇒ Lithic::Models::AsaRequestWebhookEvent::LatestChallenge?
The latest Authorization Challenge that was issued to the cardholder for this merchant.
156 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 156 optional :latest_challenge, -> { Lithic::AsaRequestWebhookEvent::LatestChallenge } |
#merchant ⇒ Lithic::Models::Merchant
72 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 72 required :merchant, -> { Lithic::Merchant } |
#merchant_amount ⇒ Integer
The amount that the merchant will receive, denominated in ‘merchant_currency` and in the smallest currency unit. Note the amount includes `acquirer_fee`, similar to `authorization_amount`. It will be different from `authorization_amount` if the merchant is taking payment in a different currency.
82 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 82 required :merchant_amount, Integer |
#merchant_currency ⇒ String
3-character alphabetic ISO 4217 code for the local currency of the transaction.
88 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 88 required :merchant_currency, String |
#network ⇒ Symbol, ...
Card network of the authorization.
162 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 162 optional :network, enum: -> { Lithic::AsaRequestWebhookEvent::Network } |
#network_risk_score ⇒ Integer?
Network-provided score assessing risk level associated with a given authorization. Scores are on a range of 0-999, with 0 representing the lowest risk and 999 representing the highest risk. For Visa transactions, where the raw score has a range of 0-99, Lithic will normalize the score by multiplying the raw score by 10x.
172 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 172 optional :network_risk_score, Integer, nil?: true |
#network_specific_data ⇒ Lithic::Models::AsaRequestWebhookEvent::NetworkSpecificData?
Contains raw data provided by the card network, including attributes that provide further context about the authorization. If populated by the network, data is organized by Lithic and passed through without further modification. Please consult the official network documentation for more details about these values and how to use them. This object is only available to certain programs- contact your Customer Success Manager to discuss enabling access.
183 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 183 optional :network_specific_data, -> { Lithic::AsaRequestWebhookEvent::NetworkSpecificData }, nil?: true |
#pos ⇒ Lithic::Models::AsaRequestWebhookEvent::Pos?
188 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 188 optional :pos, -> { Lithic::AsaRequestWebhookEvent::Pos } |
#settled_amount ⇒ Integer
Amount (in cents) of the transaction that has been settled, including any acquirer fees
95 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 95 required :settled_amount, Integer |
#status ⇒ Symbol, Lithic::Models::AsaRequestWebhookEvent::Status
The type of authorization request that this request is for. Note that ‘CREDIT_AUTHORIZATION` and `FINANCIAL_CREDIT_AUTHORIZATION` is only available to users with credit decisioning via ASA enabled.
103 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 103 required :status, enum: -> { Lithic::AsaRequestWebhookEvent::Status } |
#token ⇒ String
The provisional transaction group uuid associated with the authorization
10 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 10 required :token, String |
#token_info ⇒ Lithic::Models::TokenInfo?
193 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 193 optional :token_info, -> { Lithic::TokenInfo }, nil?: true |
#transaction_initiator ⇒ Symbol, Lithic::Models::AsaRequestWebhookEvent::TransactionInitiator
The entity that initiated the transaction.
109 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 109 required :transaction_initiator, enum: -> { Lithic::AsaRequestWebhookEvent::TransactionInitiator } |
#ttl ⇒ Time?
Deprecated: approximate time-to-live for the authorization.
199 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 199 optional :ttl, Time |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 311
|