Class AuthenticationRetrieveResponse.Transaction
-
- All Implemented Interfaces:
public final class AuthenticationRetrieveResponse.TransactionObject containing data about the e-commerce transaction for which the merchant is requesting authentication.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAuthenticationRetrieveResponse.Transaction.BuilderA builder for Transaction.
public final classAuthenticationRetrieveResponse.Transaction.TypeType of the transaction for which a 3DS authentication request is occurring. Maps to EMV 3DS field
transType.
-
Method Summary
Modifier and Type Method Description final Doubleamount()Amount of the purchase in minor units of currency with all punctuation removed. final Optional<Double>cardholderAmount()Approximate amount of the purchase in minor units of cardholder currency. final Stringcurrency()Currency of the purchase. final DoublecurrencyExponent()Minor units of currency, as specified in ISO 4217 currency exponent. final OffsetDateTimedateTime()Date and time when the authentication was generated by the merchant/acquirer's 3DS server. final Optional<AuthenticationRetrieveResponse.Transaction.Type>type()Type of the transaction for which a 3DS authentication request is occurring. final JsonField<Double>_amount()Returns the raw JSON value of amount. final JsonField<Double>_cardholderAmount()Returns the raw JSON value of cardholderAmount. final JsonField<String>_currency()Returns the raw JSON value of currency. final JsonField<Double>_currencyExponent()Returns the raw JSON value of currencyExponent. final JsonField<OffsetDateTime>_dateTime()Returns the raw JSON value of dateTime. final JsonField<AuthenticationRetrieveResponse.Transaction.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final AuthenticationRetrieveResponse.Transaction.BuildertoBuilder()final AuthenticationRetrieveResponse.Transactionvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AuthenticationRetrieveResponse.Transaction.Builderbuilder()Returns a mutable builder for constructing an instance of Transaction. -
-
Method Detail
-
amount
final Double amount()
Amount of the purchase in minor units of currency with all punctuation removed. Maps to EMV 3DS field
purchaseAmount.
-
cardholderAmount
final Optional<Double> cardholderAmount()
Approximate amount of the purchase in minor units of cardholder currency. Derived from
amountusing a daily conversion rate.
-
currency
final String currency()
Currency of the purchase. Maps to EMV 3DS field
purchaseCurrency. Permitted values: ISO 4217 three-character currency code (e.g., USD).
-
currencyExponent
final Double currencyExponent()
Minor units of currency, as specified in ISO 4217 currency exponent. Maps to EMV 3DS field
purchaseExponent.
-
dateTime
final OffsetDateTime dateTime()
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.
-
type
final Optional<AuthenticationRetrieveResponse.Transaction.Type> type()
Type of the transaction for which a 3DS authentication request is occurring. Maps to EMV 3DS field
transType.
-
_amount
final JsonField<Double> _amount()
Returns the raw JSON value of amount.
Unlike amount, this method doesn't throw if the JSON field has an unexpected type.
-
_cardholderAmount
final JsonField<Double> _cardholderAmount()
Returns the raw JSON value of cardholderAmount.
Unlike cardholderAmount, this method doesn't throw if the JSON field has an unexpected type.
-
_currency
final JsonField<String> _currency()
Returns the raw JSON value of currency.
Unlike currency, this method doesn't throw if the JSON field has an unexpected type.
-
_currencyExponent
final JsonField<Double> _currencyExponent()
Returns the raw JSON value of currencyExponent.
Unlike currencyExponent, this method doesn't throw if the JSON field has an unexpected type.
-
_dateTime
final JsonField<OffsetDateTime> _dateTime()
Returns the raw JSON value of dateTime.
Unlike dateTime, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<AuthenticationRetrieveResponse.Transaction.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AuthenticationRetrieveResponse.Transaction.Builder toBuilder()
-
validate
final AuthenticationRetrieveResponse.Transaction validate()
-
builder
final static AuthenticationRetrieveResponse.Transaction.Builder builder()
Returns a mutable builder for constructing an instance of Transaction.
The following fields are required:
.amount() .cardholderAmount() .currency() .currencyExponent() .dateTime() .type()
-
-
-
-