Class TransferCartToken
java.lang.Object
com.broadleafcommerce.cartoperation.domain.TransferCartToken
- All Implemented Interfaces:
Serializable
The response object used to provide details of the cart transfer token and the token itself.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The username of the author associated with the transfer cart token.The ID of the cart the token is authorized to transfer.The expiration time of the transfer cart token in UTC.getToken()
The token string that is used to authorize that a request has access to transfer the given cart.int
hashCode()
void
The username of the author associated with the transfer cart token.void
The ID of the cart the token is authorized to transfer.void
setExpirationTime
(Instant expirationTime) The expiration time of the transfer cart token in UTC.void
The token string that is used to authorize that a request has access to transfer the given cart.toString()
-
Constructor Details
-
TransferCartToken
public TransferCartToken()
-
-
Method Details
-
getToken
The token string that is used to authorize that a request has access to transfer the given cart. -
getExpirationTime
The expiration time of the transfer cart token in UTC. This is used to inform clients of when to expect the token to be expired. -
getAuthor
The username of the author associated with the transfer cart token. -
getCartId
The ID of the cart the token is authorized to transfer. -
setToken
The token string that is used to authorize that a request has access to transfer the given cart. -
setExpirationTime
The expiration time of the transfer cart token in UTC. This is used to inform clients of when to expect the token to be expired. -
setAuthor
The username of the author associated with the transfer cart token. -
setCartId
The ID of the cart the token is authorized to transfer. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-