Interface EmvCommonAttributes.Builder

    • Method Detail

      • 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, MajorKeyDerivationMode
      • 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.
      • 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, PinBlockPaddingType
      • 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:
        PinBlockPaddingType, PinBlockPaddingType
      • 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, PinBlockLengthPosition
      • 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:
        PinBlockLengthPosition, PinBlockLengthPosition