Class OrderResponse
java.lang.Object
se.swedenconnect.bankid.rpapi.types.OrderResponse
Represents an order response, i.e., the response message received from an auth or sign request.
- Author:
- Martin Lindström
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the auto start token.Returns the order reference string.Gets the orderTime property that is used when generating "animated" QR codes.Gets the QR start secret string.Gets the QR start token used to compute an animated QR code.voidsetAutoStartToken(String autoStartToken) Assigns the auto start token.voidsetOrderReference(String orderReference) Assigns the order reference string.voidsetQrStartSecret(String qrStartSecret) Assigns the QR start secret string.voidsetQrStartToken(String qrStartToken) Assigns the QR start token used to compute an animated QR code.toString()
-
Constructor Details
-
OrderResponse
public OrderResponse()
-
-
Method Details
-
getOrderReference
Returns the order reference string.- Returns:
- the order reference
-
setOrderReference
Assigns the order reference string.- Parameters:
orderReference- the order reference
-
getAutoStartToken
Returns the auto start token.- Returns:
- the auto start token
-
setAutoStartToken
Assigns the auto start token.- Parameters:
autoStartToken- the auto start token
-
getQrStartToken
Gets the QR start token used to compute an animated QR code.Available for BankID RP API v5.1 and later.
- Returns:
- QR start token, or null if not available (pre v5.1)
-
setQrStartToken
Assigns the QR start token used to compute an animated QR code.Available for BankID RP API v5.1 and later.
- Parameters:
qrStartToken- the QR start token
-
getQrStartSecret
Gets the QR start secret string.Available for BankID RP API v5.1 and later.
- Returns:
- the QR start secrret, or null if not available (pre v5.1)
-
setQrStartSecret
Assigns the QR start secret string.Available for BankID RP API v5.1 and later.
- Parameters:
qrStartSecret- the QR start secret string
-
getOrderTime
Gets the orderTime property that is used when generating "animated" QR codes. The property is instantiated with the current time when the object is created.- Returns:
- the instant when the response object was instantited
-
toString
-