Class OrderAnonymizationProperties
java.lang.Object
com.broadleafcommerce.order.anonymization.OrderAnonymizationProperties
@ConfigurationProperties(prefix="broadleaf.order.anonymization")
public class OrderAnonymizationProperties
extends Object
Controls anonymization behavior for the order service
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
int
hashCode()
boolean
Whether or not anonymization is enabled at allboolean
Whether or not anonymization specific to theOrder
domain is supportedboolean
Whether or not anonymization specific to theOrderFulfillment
domain is supportedboolean
Whether or not anonymization specific to theOrderFulfillmentNote
domain is supportedboolean
Whether or not anonymization specific to theOrderNote
domain is supportedboolean
Whether or not anonymization specific to theReturnAuthorization
domain is supportedboolean
Whether or notOrderFulfillment.getStatus()
is validated to be finalized (i.e.void
setEnabled
(boolean enabled) Whether or not anonymization is enabled at allvoid
setOrderEnabled
(boolean orderEnabled) Whether or not anonymization specific to theOrder
domain is supportedvoid
setOrderFulfillmentEnabled
(boolean orderFulfillmentEnabled) Whether or not anonymization specific to theOrderFulfillment
domain is supportedvoid
setOrderFulfillmentNoteEnabled
(boolean orderFulfillmentNoteEnabled) Whether or not anonymization specific to theOrderFulfillmentNote
domain is supportedvoid
setOrderNoteEnabled
(boolean orderNoteEnabled) Whether or not anonymization specific to theOrderNote
domain is supportedvoid
setReturnAuthorizationEnabled
(boolean returnAuthorizationEnabled) Whether or not anonymization specific to theReturnAuthorization
domain is supportedvoid
setValidateFulfillmentEnabled
(boolean validateFulfillmentEnabled) Whether or notOrderFulfillment.getStatus()
is validated to be finalized (i.e.toString()
-
Constructor Details
-
OrderAnonymizationProperties
public OrderAnonymizationProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Whether or not anonymization is enabled at all -
isValidateFulfillmentEnabled
public boolean isValidateFulfillmentEnabled()Whether or notOrderFulfillment.getStatus()
is validated to be finalized (i.e. FULFILLED or CANCELLED) before allowing any order related anonymization to take place. -
isOrderEnabled
public boolean isOrderEnabled()Whether or not anonymization specific to theOrder
domain is supported -
isOrderFulfillmentEnabled
public boolean isOrderFulfillmentEnabled()Whether or not anonymization specific to theOrderFulfillment
domain is supported -
isOrderFulfillmentNoteEnabled
public boolean isOrderFulfillmentNoteEnabled()Whether or not anonymization specific to theOrderFulfillmentNote
domain is supported -
isOrderNoteEnabled
public boolean isOrderNoteEnabled()Whether or not anonymization specific to theOrderNote
domain is supported -
isReturnAuthorizationEnabled
public boolean isReturnAuthorizationEnabled()Whether or not anonymization specific to theReturnAuthorization
domain is supported -
setEnabled
public void setEnabled(boolean enabled) Whether or not anonymization is enabled at all -
setValidateFulfillmentEnabled
public void setValidateFulfillmentEnabled(boolean validateFulfillmentEnabled) Whether or notOrderFulfillment.getStatus()
is validated to be finalized (i.e. FULFILLED or CANCELLED) before allowing any order related anonymization to take place. -
setOrderEnabled
public void setOrderEnabled(boolean orderEnabled) Whether or not anonymization specific to theOrder
domain is supported -
setOrderFulfillmentEnabled
public void setOrderFulfillmentEnabled(boolean orderFulfillmentEnabled) Whether or not anonymization specific to theOrderFulfillment
domain is supported -
setOrderFulfillmentNoteEnabled
public void setOrderFulfillmentNoteEnabled(boolean orderFulfillmentNoteEnabled) Whether or not anonymization specific to theOrderFulfillmentNote
domain is supported -
setOrderNoteEnabled
public void setOrderNoteEnabled(boolean orderNoteEnabled) Whether or not anonymization specific to theOrderNote
domain is supported -
setReturnAuthorizationEnabled
public void setReturnAuthorizationEnabled(boolean returnAuthorizationEnabled) Whether or not anonymization specific to theReturnAuthorization
domain is supported -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-