Class TuaAlterationPriceType
java.lang.Object
de.hybris.platform.tuadatamodel.enums.TuaAlterationPriceType
- All Implemented Interfaces:
de.hybris.platform.core.HybrisEnumValue,Serializable
public class TuaAlterationPriceType
extends Object
implements de.hybris.platform.core.HybrisEnumValue
Generated enum TuaAlterationPriceType declared at extension tuadatamodel.
Product price alteration type.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final TuaAlterationPriceTypeGenerated enum value for TuaAlterationPriceType.allowance declared at extension tuadatamodel.static final TuaAlterationPriceTypeGenerated enum value for TuaAlterationPriceType.discount declared at extension tuadatamodel.static final TuaAlterationPriceTypeGenerated enum value for TuaAlterationPriceType.oneTime declared at extension tuadatamodel.static final TuaAlterationPriceTypeGenerated enum value for TuaAlterationPriceType.recurring declared at extension tuadatamodel.static final StringGenerated simple class name constant.static final TuaAlterationPriceTypeGenerated enum value for TuaAlterationPriceType.usage declared at extension tuadatamodel. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares this object to the specified object.getCode()Gets the code of this enum value.getType()Gets the type this enum value belongs to.inthashCode()Returns a hash code for thisTuaAlterationPriceType.toString()Returns the code representing this enum value.static TuaAlterationPriceTypeReturns a TuaAlterationPriceType instance representing the specified enum value.
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
SIMPLE_CLASSNAME
Generated simple class name constant.- See Also:
-
RECURRING
Generated enum value for TuaAlterationPriceType.recurring declared at extension tuadatamodel. -
ONETIME
Generated enum value for TuaAlterationPriceType.oneTime declared at extension tuadatamodel. -
USAGE
Generated enum value for TuaAlterationPriceType.usage declared at extension tuadatamodel. -
DISCOUNT
Generated enum value for TuaAlterationPriceType.discount declared at extension tuadatamodel. -
ALLOWANCE
Generated enum value for TuaAlterationPriceType.allowance declared at extension tuadatamodel.
-
-
Method Details
-
equals
Compares this object to the specified object. The result istrueif and only if the argument is notnulland is anTuaAlterationPriceTypeobject that contains the enum valuecodeas this object. -
getCode
Gets the code of this enum value.- Specified by:
getCodein interfacede.hybris.platform.core.HybrisEnumValue- Returns:
- code of value
-
getType
Gets the type this enum value belongs to.- Specified by:
getTypein interfacede.hybris.platform.core.HybrisEnumValue- Returns:
- code of type
-
hashCode
public int hashCode()Returns a hash code for thisTuaAlterationPriceType. -
toString
Returns the code representing this enum value. -
valueOf
Returns a TuaAlterationPriceType instance representing the specified enum value.- Parameters:
code- an enum value- Returns:
- a TuaAlterationPriceType instance representing value.
-