Class CompletionData
java.lang.Object
se.swedenconnect.bankid.rpapi.types.CompletionData
- All Implemented Interfaces:
Serializable
Represents the completion data for completed orders.
- Author:
- Martin Lindström
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Represents the device field of the completion data.static class
Information about extra verifications that were part of the transaction.static class
Represents the user field of the completion data. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the date the BankID was issued to the user.Returns the information related to the device used during the BankID operation.Returns the Base64-encoded OCSP-response.Returns the Base64-encoded BankID signature.Gets the information about extra verifications that were part of the transaction.getUser()
Returns the user information (such as personal identity number).void
setBankIdIssueDate
(String bankIdIssueDate) Assigns the date the BankID was issued to the user.void
setDevice
(CompletionData.Device device) Assigns the information related to the device used during the BankID operation.void
setOcspResponse
(String ocspResponse) Assigns the Base64-encoded OCSP-response.void
setSignature
(String signature) Assigns the Base64-encoded BankID signature.void
setStepUp
(CompletionData.StepUp stepUp) Assigns the information about extra verifications that were part of the transaction.void
setUser
(CompletionData.User user) Assigns the user information.toString()
-
Constructor Details
-
CompletionData
public CompletionData()
-
-
Method Details
-
getUser
Returns the user information (such as personal identity number).- Returns:
- user information
-
setUser
Assigns the user information.- Parameters:
user
- user information
-
getDevice
Returns the information related to the device used during the BankID operation.- Returns:
- the device information
-
setDevice
Assigns the information related to the device used during the BankID operation.- Parameters:
device
- the device information
-
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
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
Gets the information about extra verifications that were part of the transaction.- Returns:
- information or
null
-
setStepUp
Assigns the information about extra verifications that were part of the transaction.- Parameters:
stepUp
- information
-
getSignature
Returns the Base64-encoded BankID signature.- Returns:
- the Base64-encoded BankID signature
-
setSignature
Assigns the Base64-encoded BankID signature.- Parameters:
signature
- the Base64-encoded BankID signature
-
getOcspResponse
Returns the Base64-encoded OCSP-response.- Returns:
- the Base64-encoded OCSP-response
-
setOcspResponse
Assigns the Base64-encoded OCSP-response.- Parameters:
ocspResponse
- the Base64-encoded OCSP-response
-
toString
-