Interface MacAlgorithmEmv.Builder

  • Method Details

    • majorKeyDerivationMode

      MacAlgorithmEmv.Builder majorKeyDerivationMode(String majorKeyDerivationMode)

      The method to use when deriving the master key for EMV MAC generation or verification.

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

      MacAlgorithmEmv.Builder majorKeyDerivationMode(MajorKeyDerivationMode majorKeyDerivationMode)

      The method to use when deriving the master key for EMV MAC generation or verification.

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

      MacAlgorithmEmv.Builder primaryAccountNumber(String primaryAccountNumber)

      The Primary Account Number (PAN), a unique identifier for a payment credit or debit card and associates the card to a specific account holder.

      Parameters:
      primaryAccountNumber - The Primary Account Number (PAN), a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • panSequenceNumber

      MacAlgorithmEmv.Builder panSequenceNumber(String panSequenceNumber)

      A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).

      Parameters:
      panSequenceNumber - A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionKeyDerivationMode

      MacAlgorithmEmv.Builder sessionKeyDerivationMode(String sessionKeyDerivationMode)

      The method of deriving a session key for EMV MAC generation or verification.

      Parameters:
      sessionKeyDerivationMode - The method of deriving a session key for EMV MAC generation or verification.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sessionKeyDerivationMode

      MacAlgorithmEmv.Builder sessionKeyDerivationMode(SessionKeyDerivationMode sessionKeyDerivationMode)

      The method of deriving a session key for EMV MAC generation or verification.

      Parameters:
      sessionKeyDerivationMode - The method of deriving a session key for EMV MAC generation or verification.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sessionKeyDerivationValue

      MacAlgorithmEmv.Builder sessionKeyDerivationValue(SessionKeyDerivationValue sessionKeyDerivationValue)

      Parameters that are required to generate session key for EMV generation and verification.

      Parameters:
      sessionKeyDerivationValue - Parameters that are required to generate session key for EMV generation and verification.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionKeyDerivationValue

      default MacAlgorithmEmv.Builder sessionKeyDerivationValue(Consumer<SessionKeyDerivationValue.Builder> sessionKeyDerivationValue)

      Parameters that are required to generate session key for EMV generation and verification.

      This is a convenience method that creates an instance of the SessionKeyDerivationValue.Builder avoiding the need to create one manually via SessionKeyDerivationValue.builder().

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

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