Interface AmexAttributes.Builder

  • Method Details

    • 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

      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:
    • 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 keyArn of the issuer master key for cryptogram (IMK-AC) for the payment card.

      Parameters:
      authorizationRequestKeyIdentifier - The keyArn of 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 the CurrentPinAttributes.Builder avoiding the need to create one manually via CurrentPinAttributes.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to currentPinAttributes(CurrentPinAttributes).

      Parameters:
      currentPinAttributes - a consumer that will call methods on CurrentPinAttributes.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: