Interface VisaAttributes.Builder

  • Method Details

    • majorKeyDerivationMode

      VisaAttributes.Builder majorKeyDerivationMode(String majorKeyDerivationMode)

      The method to use when deriving the master key for the payment card.

      Parameters:
      majorKeyDerivationMode - The method to use when deriving the master key for the payment card.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • majorKeyDerivationMode

      VisaAttributes.Builder majorKeyDerivationMode(MajorKeyDerivationMode majorKeyDerivationMode)

      The method to use when deriving the master key for the payment card.

      Parameters:
      majorKeyDerivationMode - The method to use when deriving the master key for the payment card.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • primaryAccountNumber

      VisaAttributes.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

      VisaAttributes.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

      VisaAttributes.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

      VisaAttributes.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

      VisaAttributes.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 VisaAttributes.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: