Interface EmvCommonAttributes.Builder

  • Method Details

    • majorKeyDerivationMode

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

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

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

      EmvCommonAttributes.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.
    • applicationCryptogram

      EmvCommonAttributes.Builder applicationCryptogram(String applicationCryptogram)

      The application cryptogram for the current transaction that is provided by the terminal during transaction processing.

      Parameters:
      applicationCryptogram - The application cryptogram for 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.
    • mode

      The block cipher method to use for encryption.

      Parameters:
      mode - The block cipher method to use for encryption.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • mode

      The block cipher method to use for encryption.

      Parameters:
      mode - The block cipher method to use for encryption.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pinBlockPaddingType

      EmvCommonAttributes.Builder pinBlockPaddingType(String pinBlockPaddingType)

      The padding to be added to the PIN block prior to encryption.

      Padding type should be ISO_IEC_7816_4, if PinBlockLengthPosition is set to FRONT_OF_PIN_BLOCK. No padding is required, if PinBlockLengthPosition is set to NONE.

      Parameters:
      pinBlockPaddingType - The padding to be added to the PIN block prior to encryption.

      Padding type should be ISO_IEC_7816_4, if PinBlockLengthPosition is set to FRONT_OF_PIN_BLOCK. No padding is required, if PinBlockLengthPosition is set to NONE.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pinBlockPaddingType

      EmvCommonAttributes.Builder pinBlockPaddingType(PinBlockPaddingType pinBlockPaddingType)

      The padding to be added to the PIN block prior to encryption.

      Padding type should be ISO_IEC_7816_4, if PinBlockLengthPosition is set to FRONT_OF_PIN_BLOCK. No padding is required, if PinBlockLengthPosition is set to NONE.

      Parameters:
      pinBlockPaddingType - The padding to be added to the PIN block prior to encryption.

      Padding type should be ISO_IEC_7816_4, if PinBlockLengthPosition is set to FRONT_OF_PIN_BLOCK. No padding is required, if PinBlockLengthPosition is set to NONE.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pinBlockLengthPosition

      EmvCommonAttributes.Builder pinBlockLengthPosition(String pinBlockLengthPosition)

      Specifies if PIN block length should be added to front of the pin block.

      If value is set to FRONT_OF_PIN_BLOCK, then PIN block padding type should be ISO_IEC_7816_4.

      Parameters:
      pinBlockLengthPosition - Specifies if PIN block length should be added to front of the pin block.

      If value is set to FRONT_OF_PIN_BLOCK, then PIN block padding type should be ISO_IEC_7816_4.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pinBlockLengthPosition

      EmvCommonAttributes.Builder pinBlockLengthPosition(PinBlockLengthPosition pinBlockLengthPosition)

      Specifies if PIN block length should be added to front of the pin block.

      If value is set to FRONT_OF_PIN_BLOCK, then PIN block padding type should be ISO_IEC_7816_4.

      Parameters:
      pinBlockLengthPosition - Specifies if PIN block length should be added to front of the pin block.

      If value is set to FRONT_OF_PIN_BLOCK, then PIN block padding type should be ISO_IEC_7816_4.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: