Class TransferCartToken
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.domain.TransferCartToken
-
- All Implemented Interfaces:
Serializable
public class TransferCartToken extends Object implements Serializable
The response object used to provide details of the cart transfer token and the token itself.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransferCartToken()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getAuthor()
The username of the author associated with the transfer cart token.String
getCartId()
The ID of the cart the token is authorized to transfer.Instant
getExpirationTime()
The expiration time of the transfer cart token in UTC.String
getToken()
The token string that is used to authorize that a request has access to transfer the given cart.int
hashCode()
void
setAuthor(String author)
The username of the author associated with the transfer cart token.void
setCartId(String cartId)
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
setToken(String token)
The token string that is used to authorize that a request has access to transfer the given cart.String
toString()
-
-
-
Method Detail
-
getToken
public String getToken()
The token string that is used to authorize that a request has access to transfer the given cart.
-
getExpirationTime
public Instant 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
public String getAuthor()
The username of the author associated with the transfer cart token.
-
getCartId
public String getCartId()
The ID of the cart the token is authorized to transfer.
-
setToken
public void setToken(String token)
The token string that is used to authorize that a request has access to transfer the given cart.
-
setExpirationTime
public void setExpirationTime(Instant expirationTime)
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
public void setAuthor(String author)
The username of the author associated with the transfer cart token.
-
setCartId
public void setCartId(String cartId)
The ID of the cart the token is authorized to transfer.
-
canEqual
protected boolean canEqual(Object other)
-
-