Class CompletionData

java.lang.Object
se.swedenconnect.bankid.rpapi.types.CompletionData
All Implemented Interfaces:
Serializable

public class CompletionData extends Object implements Serializable
Represents the completion data for completed orders.
Author:
Martin Lindström
See Also:
  • Constructor Details

    • CompletionData

      public CompletionData()
  • Method Details

    • getUser

      public CompletionData.User getUser()
      Returns the user information (such as personal identity number).
      Returns:
      user information
    • setUser

      public void setUser(CompletionData.User user)
      Assigns the user information.
      Parameters:
      user - user information
    • getDevice

      public CompletionData.Device getDevice()
      Returns the information related to the device used during the BankID operation.
      Returns:
      the device information
    • setDevice

      public void setDevice(CompletionData.Device device)
      Assigns the information related to the device used during the BankID operation.
      Parameters:
      device - the device information
    • getBankIdIssueDate

      public String getBankIdIssueDate()
      Gets the date the BankID was issued to the user. The issue date of the ID expressed using ISO 8601 date format YYYY-MM-DD with a UTC time zone offset.
      Returns:
      issue date
    • setBankIdIssueDate

      public void setBankIdIssueDate(String bankIdIssueDate)
      Assigns the date the BankID was issued to the user. The issue date of the ID expressed using ISO 8601 date format YYYY-MM-DD with a UTC time zone offset.
      Parameters:
      bankIdIssueDate - issue date
    • getStepUp

      public CompletionData.StepUp getStepUp()
      Gets the information about extra verifications that were part of the transaction.
      Returns:
      information or null
    • setStepUp

      public void setStepUp(CompletionData.StepUp stepUp)
      Assigns the information about extra verifications that were part of the transaction.
      Parameters:
      stepUp - information
    • getSignature

      public String getSignature()
      Returns the Base64-encoded BankID signature.
      Returns:
      the Base64-encoded BankID signature
    • setSignature

      public void setSignature(String signature)
      Assigns the Base64-encoded BankID signature.
      Parameters:
      signature - the Base64-encoded BankID signature
    • getOcspResponse

      public String getOcspResponse()
      Returns the Base64-encoded OCSP-response.
      Returns:
      the Base64-encoded OCSP-response
    • setOcspResponse

      public void setOcspResponse(String ocspResponse)
      Assigns the Base64-encoded OCSP-response.
      Parameters:
      ocspResponse - the Base64-encoded OCSP-response
    • toString

      public String toString()
      Overrides:
      toString in class Object