@Validated @ConfigurationProperties(value="broadleaf.cartoperation.cart-cookie") public class CartCookieProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CartCookieProperties.Jwt |
Constructor and Description |
---|
CartCookieProperties() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Duration |
getCartTtl()
Specifies how long the cart cookie should be considered active.
|
String |
getCookieName()
Name of the cart cookie.
|
String |
getCookieSameSiteValue()
The value to use for the SameSite attribute on the cart cookie.
|
CartCookieProperties.Jwt |
getJwt() |
int |
hashCode() |
boolean |
isApplicationIdIncludedInCookieName()
Whether or not the applicationId should be appended to the cart cookie name.
|
void |
setApplicationIdIncludedInCookieName(boolean applicationIdIncludedInCookieName)
Whether or not the applicationId should be appended to the cart cookie name.
|
void |
setCartTtl(Duration cartTtl)
Specifies how long the cart cookie should be considered active.
|
void |
setCookieName(String cookieName)
Name of the cart cookie.
|
void |
setCookieSameSiteValue(String cookieSameSiteValue)
The value to use for the SameSite attribute on the cart cookie.
|
void |
setJwt(CartCookieProperties.Jwt jwt) |
String |
toString() |
public String getCookieName()
public String getCookieSameSiteValue()
public boolean isApplicationIdIncludedInCookieName()
public Duration getCartTtl()
public CartCookieProperties.Jwt getJwt()
public void setCookieName(String cookieName)
public void setCookieSameSiteValue(String cookieSameSiteValue)
public void setApplicationIdIncludedInCookieName(boolean applicationIdIncludedInCookieName)
public void setCartTtl(Duration cartTtl)
public void setJwt(CartCookieProperties.Jwt jwt)
protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.