Package com.authlete.common.dto
Class CredentialOfferCreateResponse
- java.lang.Object
-
- com.authlete.common.dto.ApiResponse
-
- com.authlete.common.dto.CredentialOfferCreateResponse
-
- All Implemented Interfaces:
Serializable
public class CredentialOfferCreateResponse extends ApiResponse
Response from Authlete's/vci/offer/create
API.The API is used to create a credential offer.
- Since:
- 3.59, Authlete 3.0
- See Also:
- OpenID for Verifiable Credential Issuance, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CredentialOfferCreateResponse.Action
The result of the/vci/offer/create
API call.
-
Constructor Summary
Constructors Constructor Description CredentialOfferCreateResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CredentialOfferCreateResponse.Action
getAction()
Get the result of the/vci/offer/create
API call.CredentialOfferInfo
getInfo()
Get information about the credential offer.CredentialOfferCreateResponse
setAction(CredentialOfferCreateResponse.Action action)
Set the result of the/vci/offer/create
API call.CredentialOfferCreateResponse
setInfo(CredentialOfferInfo info)
Set information about the credential offer.-
Methods inherited from class com.authlete.common.dto.ApiResponse
getResultCode, getResultMessage, setResultCode, setResultMessage
-
-
-
-
Method Detail
-
getAction
public CredentialOfferCreateResponse.Action getAction()
Get the result of the/vci/offer/create
API call.- Returns:
- The result of the API call.
-
setAction
public CredentialOfferCreateResponse setAction(CredentialOfferCreateResponse.Action action)
Set the result of the/vci/offer/create
API call.- Parameters:
action
- The result of the API call.- Returns:
this
object.
-
getInfo
public CredentialOfferInfo getInfo()
Get information about the credential offer.- Returns:
- Information about the credential offer.
-
setInfo
public CredentialOfferCreateResponse setInfo(CredentialOfferInfo info)
Set information about the credential offer.- Parameters:
info
- Information about the credential offer.- Returns:
this
object.
-
-