Class OnlinePinData

java.lang.Object
com.worldline.acquiring.sdk.java.v1.domain.OnlinePinData

public class OnlinePinData extends Object
  • Constructor Details

    • OnlinePinData

      public OnlinePinData()
  • Method Details

    • getEncryptedPinBlock

      public String getEncryptedPinBlock()
      Encrypted data containing a PIN
    • setEncryptedPinBlock

      public void setEncryptedPinBlock(String value)
      Encrypted data containing a PIN
    • withEncryptedPinBlock

      public OnlinePinData withEncryptedPinBlock(String value)
      Encrypted data containing a PIN
    • getPinBlockFormat

      public Integer getPinBlockFormat()
      ISO 9564 based PIN block format.

      Worldline acquiring only supports the following format:

      • 4 - ISO-4

      Bambora acquiring supports the following formats:

      • 0 - ISO 9564-1 Format 0 (Standard PIN block format with PAN XOR, commonly used with 3DES / DUKPT).
      • 1 - ISO 9564-1 Format 1 (PIN block with transaction sequence/random number).
      • 2 - ISO 9564-1 Format 2 (Primarily used for offline/smart cards).
      • 3 - ISO 9564-1 Format 3 (Similar to Format 0 with random fill digits).
      • 4 - ISO 9564-1 Format 4 (AES-256 encrypted PIN block format, required for modern Online PIN / Tap on Mobile CVM solutions).
    • setPinBlockFormat

      public void setPinBlockFormat(Integer value)
      ISO 9564 based PIN block format.

      Worldline acquiring only supports the following format:

      • 4 - ISO-4

      Bambora acquiring supports the following formats:

      • 0 - ISO 9564-1 Format 0 (Standard PIN block format with PAN XOR, commonly used with 3DES / DUKPT).
      • 1 - ISO 9564-1 Format 1 (PIN block with transaction sequence/random number).
      • 2 - ISO 9564-1 Format 2 (Primarily used for offline/smart cards).
      • 3 - ISO 9564-1 Format 3 (Similar to Format 0 with random fill digits).
      • 4 - ISO 9564-1 Format 4 (AES-256 encrypted PIN block format, required for modern Online PIN / Tap on Mobile CVM solutions).
    • withPinBlockFormat

      public OnlinePinData withPinBlockFormat(Integer value)
      ISO 9564 based PIN block format.

      Worldline acquiring only supports the following format:

      • 4 - ISO-4

      Bambora acquiring supports the following formats:

      • 0 - ISO 9564-1 Format 0 (Standard PIN block format with PAN XOR, commonly used with 3DES / DUKPT).
      • 1 - ISO 9564-1 Format 1 (PIN block with transaction sequence/random number).
      • 2 - ISO 9564-1 Format 2 (Primarily used for offline/smart cards).
      • 3 - ISO 9564-1 Format 3 (Similar to Format 0 with random fill digits).
      • 4 - ISO 9564-1 Format 4 (AES-256 encrypted PIN block format, required for modern Online PIN / Tap on Mobile CVM solutions).
    • getPinEncryptionData

      public PinEncryptionData getPinEncryptionData()
      PIN encryption details used for the encryptedPinBlock.

      The following variants are supported:

      • AES_UKPT - Used in combination with Worldline acquirers
      • DUKPT - Used in combination with the Bambora acquirer
      • ZPK - Zone PIN Key, used in combination with the Bambora acquirer
    • setPinEncryptionData

      public void setPinEncryptionData(PinEncryptionData value)
      PIN encryption details used for the encryptedPinBlock.

      The following variants are supported:

      • AES_UKPT - Used in combination with Worldline acquirers
      • DUKPT - Used in combination with the Bambora acquirer
      • ZPK - Zone PIN Key, used in combination with the Bambora acquirer
    • withPinEncryptionData

      public OnlinePinData withPinEncryptionData(PinEncryptionData value)
      PIN encryption details used for the encryptedPinBlock.

      The following variants are supported:

      • AES_UKPT - Used in combination with Worldline acquirers
      • DUKPT - Used in combination with the Bambora acquirer
      • ZPK - Zone PIN Key, used in combination with the Bambora acquirer