Enum DefaultAccountAddressChildrenVisibilityType
- java.lang.Object
- 
- java.lang.Enum<DefaultAccountAddressChildrenVisibilityType>
- 
- com.broadleafcommerce.customer.domain.type.DefaultAccountAddressChildrenVisibilityType
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<DefaultAccountAddressChildrenVisibilityType>
 
 public enum DefaultAccountAddressChildrenVisibilityType extends Enum<DefaultAccountAddressChildrenVisibilityType> The DefaultAccountAddressChildrenVisibilityType is used to represent the types of visibility to child accounts forAccountAddressThis is typically for B2B use cases where theAccountAddress.getType()isDefaultB2BAccountAddressTypes.SHIP_TOorDefaultB2BAccountAddressTypes.BILL_TO
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisNotVisible(String visibility)static booleanisVisible(String visibility)static DefaultAccountAddressChildrenVisibilityTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DefaultAccountAddressChildrenVisibilityType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
NOpublic static final DefaultAccountAddressChildrenVisibilityType NO Represents a account address that is not to be shared with child accounts
 - 
YESpublic static final DefaultAccountAddressChildrenVisibilityType YES Represents an account address to be shared with child accounts
 
- 
 - 
Method Detail- 
valuespublic static DefaultAccountAddressChildrenVisibilityType[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DefaultAccountAddressChildrenVisibilityType c : DefaultAccountAddressChildrenVisibilityType.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static DefaultAccountAddressChildrenVisibilityType valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
isVisiblepublic static boolean isVisible(String visibility) 
 - 
isNotVisiblepublic static boolean isNotVisible(String visibility) 
 
- 
 
-