Interface AmexAttributes.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AmexAttributes.Builder,AmexAttributes>,SdkBuilder<AmexAttributes.Builder,AmexAttributes>,SdkPojo
- Enclosing class:
- AmexAttributes
public static interface AmexAttributes.Builder extends SdkPojo, CopyableBuilder<AmexAttributes.Builder,AmexAttributes>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AmexAttributes.BuilderapplicationTransactionCounter(String applicationTransactionCounter)The transaction counter of the current transaction that is provided by the terminal during transaction processing.AmexAttributes.BuilderauthorizationRequestKeyIdentifier(String authorizationRequestKeyIdentifier)ThekeyArnof the issuer master key for cryptogram (IMK-AC) for the payment card.default AmexAttributes.BuildercurrentPinAttributes(Consumer<CurrentPinAttributes.Builder> currentPinAttributes)The encrypted pinblock of the old pin stored on the chip card.AmexAttributes.BuildercurrentPinAttributes(CurrentPinAttributes currentPinAttributes)The encrypted pinblock of the old pin stored on the chip card.AmexAttributes.BuildermajorKeyDerivationMode(String majorKeyDerivationMode)The method to use when deriving the master key for a payment card using Amex derivation.AmexAttributes.BuildermajorKeyDerivationMode(MajorKeyDerivationMode majorKeyDerivationMode)The method to use when deriving the master key for a payment card using Amex derivation.AmexAttributes.BuilderpanSequenceNumber(String panSequenceNumber)A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).AmexAttributes.BuilderprimaryAccountNumber(String primaryAccountNumber)The Primary Account Number (PAN) of the cardholder.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
majorKeyDerivationMode
AmexAttributes.Builder majorKeyDerivationMode(String majorKeyDerivationMode)
The method to use when deriving the master key for a payment card using Amex derivation.
- Parameters:
majorKeyDerivationMode- The method to use when deriving the master key for a payment card using Amex derivation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MajorKeyDerivationMode,MajorKeyDerivationMode
-
majorKeyDerivationMode
AmexAttributes.Builder majorKeyDerivationMode(MajorKeyDerivationMode majorKeyDerivationMode)
The method to use when deriving the master key for a payment card using Amex derivation.
- Parameters:
majorKeyDerivationMode- The method to use when deriving the master key for a payment card using Amex derivation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MajorKeyDerivationMode,MajorKeyDerivationMode
-
primaryAccountNumber
AmexAttributes.Builder primaryAccountNumber(String primaryAccountNumber)
The Primary Account Number (PAN) of the cardholder.
- Parameters:
primaryAccountNumber- The Primary Account Number (PAN) of the cardholder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
panSequenceNumber
AmexAttributes.Builder panSequenceNumber(String panSequenceNumber)
A number that identifies and differentiates payment cards with the same Primary Account Number (PAN). Typically 00 is used, if no value is provided by the terminal.
- Parameters:
panSequenceNumber- A number that identifies and differentiates payment cards with the same Primary Account Number (PAN). Typically 00 is used, if no value is provided by the terminal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationTransactionCounter
AmexAttributes.Builder applicationTransactionCounter(String applicationTransactionCounter)
The transaction counter of the current transaction that is provided by the terminal during transaction processing.
- Parameters:
applicationTransactionCounter- The transaction counter of the current transaction that is provided by the terminal during transaction processing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationRequestKeyIdentifier
AmexAttributes.Builder authorizationRequestKeyIdentifier(String authorizationRequestKeyIdentifier)
The
keyArnof the issuer master key for cryptogram (IMK-AC) for the payment card.- Parameters:
authorizationRequestKeyIdentifier- ThekeyArnof the issuer master key for cryptogram (IMK-AC) for the payment card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentPinAttributes
AmexAttributes.Builder currentPinAttributes(CurrentPinAttributes currentPinAttributes)
The encrypted pinblock of the old pin stored on the chip card.
- Parameters:
currentPinAttributes- The encrypted pinblock of the old pin stored on the chip card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentPinAttributes
default AmexAttributes.Builder currentPinAttributes(Consumer<CurrentPinAttributes.Builder> currentPinAttributes)
The encrypted pinblock of the old pin stored on the chip card.
This is a convenience method that creates an instance of theCurrentPinAttributes.Builderavoiding the need to create one manually viaCurrentPinAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocurrentPinAttributes(CurrentPinAttributes).- Parameters:
currentPinAttributes- a consumer that will call methods onCurrentPinAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
currentPinAttributes(CurrentPinAttributes)
-
-