Class AuthenticationRetrieveResponse.Transaction.Builder
-
- All Implemented Interfaces:
public final class AuthenticationRetrieveResponse.Transaction.BuilderA builder for Transaction.
-
-
Method Summary
-
-
Method Detail
-
amount
final AuthenticationRetrieveResponse.Transaction.Builder amount(Double amount)
Amount of the purchase in minor units of currency with all punctuation removed. Maps to EMV 3DS field
purchaseAmount.
-
amount
final AuthenticationRetrieveResponse.Transaction.Builder amount(JsonField<Double> amount)
Sets Builder.amount to an arbitrary JSON value.
You should usually call Builder.amount with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
cardholderAmount
final AuthenticationRetrieveResponse.Transaction.Builder cardholderAmount(Double cardholderAmount)
Approximate amount of the purchase in minor units of cardholder currency. Derived from
amountusing a daily conversion rate.
-
cardholderAmount
final AuthenticationRetrieveResponse.Transaction.Builder cardholderAmount(Double cardholderAmount)
Alias for Builder.cardholderAmount.
This unboxed primitive overload exists for backwards compatibility.
-
cardholderAmount
final AuthenticationRetrieveResponse.Transaction.Builder cardholderAmount(Optional<Double> cardholderAmount)
Alias for calling Builder.cardholderAmount with
cardholderAmount.orElse(null).
-
cardholderAmount
final AuthenticationRetrieveResponse.Transaction.Builder cardholderAmount(JsonField<Double> cardholderAmount)
Sets Builder.cardholderAmount to an arbitrary JSON value.
You should usually call Builder.cardholderAmount with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
currency
final AuthenticationRetrieveResponse.Transaction.Builder currency(String currency)
Currency of the purchase. Maps to EMV 3DS field
purchaseCurrency. Permitted values: ISO 4217 three-character currency code (e.g., USD).
-
currency
final AuthenticationRetrieveResponse.Transaction.Builder currency(JsonField<String> currency)
Sets Builder.currency to an arbitrary JSON value.
You should usually call Builder.currency with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
currencyExponent
final AuthenticationRetrieveResponse.Transaction.Builder currencyExponent(Double currencyExponent)
Minor units of currency, as specified in ISO 4217 currency exponent. Maps to EMV 3DS field
purchaseExponent.
-
currencyExponent
final AuthenticationRetrieveResponse.Transaction.Builder currencyExponent(JsonField<Double> currencyExponent)
Sets Builder.currencyExponent to an arbitrary JSON value.
You should usually call Builder.currencyExponent with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
dateTime
final AuthenticationRetrieveResponse.Transaction.Builder dateTime(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.
-
dateTime
final AuthenticationRetrieveResponse.Transaction.Builder dateTime(JsonField<OffsetDateTime> dateTime)
Sets Builder.dateTime to an arbitrary JSON value.
You should usually call Builder.dateTime with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final AuthenticationRetrieveResponse.Transaction.Builder type(AuthenticationRetrieveResponse.Transaction.Type type)
Type of the transaction for which a 3DS authentication request is occurring. Maps to EMV 3DS field
transType.
-
type
final AuthenticationRetrieveResponse.Transaction.Builder type(Optional<AuthenticationRetrieveResponse.Transaction.Type> type)
Alias for calling Builder.type with
type.orElse(null).
-
type
final AuthenticationRetrieveResponse.Transaction.Builder type(JsonField<AuthenticationRetrieveResponse.Transaction.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final AuthenticationRetrieveResponse.Transaction.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AuthenticationRetrieveResponse.Transaction.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AuthenticationRetrieveResponse.Transaction.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AuthenticationRetrieveResponse.Transaction.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AuthenticationRetrieveResponse.Transaction.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AuthenticationRetrieveResponse.Transaction build()
Returns an immutable instance of Transaction.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.amount() .cardholderAmount() .currency() .currencyExponent() .dateTime() .type()
-
-
-
-