Class PaymentModeModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.core.model.order.payment.PaymentModeModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
StandardPaymentModeModel
Generated model class for type PaymentMode first defined at extension core.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofPaymentMode.activeattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofPaymentMode.codeattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofPaymentMode.descriptionattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofPaymentMode.nameattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofPaymentMode.paymentInfoTypeattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofPaymentMode.supportedDeliveryModesattribute defined at extensioncore.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.PaymentModeModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextPaymentModeModel(Boolean _active, String _code, ItemModel _owner, ComposedTypeModel _paymentInfoType) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersPaymentModeModel(Boolean _active, String _code, ComposedTypeModel _paymentInfoType) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of thePaymentMode.activeattribute defined at extensioncore.getCode()Generated method - Getter of thePaymentMode.codeattribute defined at extensioncore.Generated method - Getter of thePaymentMode.descriptionattribute defined at extensioncore.getDescription(Locale loc) Generated method - Getter of thePaymentMode.descriptionattribute defined at extensioncore.getName()Generated method - Getter of thePaymentMode.nameattribute defined at extensioncore.Generated method - Getter of thePaymentMode.nameattribute defined at extensioncore.Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #getPaymentInfoType()} insteadGenerated method - Getter of thePaymentMode.paymentInfoTypeattribute defined at extensioncore.Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #getSupportedDeliveryModes()} insteadGenerated method - Getter of thePaymentMode.supportedDeliveryModesattribute defined at extensioncore.voidGenerated method - Setter ofPaymentMode.activeattribute defined at extensioncore.voidGenerated method - Setter ofPaymentMode.codeattribute defined at extensioncore.voidsetDescription(String value) Generated method - Setter ofPaymentMode.descriptionattribute defined at extensioncore.voidsetDescription(String value, Locale loc) Generated method - Setter ofPaymentMode.descriptionattribute defined at extensioncore.voidGenerated method - Setter ofPaymentMode.nameattribute defined at extensioncore.voidGenerated method - Setter ofPaymentMode.nameattribute defined at extensioncore.voidDeprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #setPaymentInfoType(de.hybris.platform.core.model.type.ComposedTypeModel)} insteadvoidGenerated method - Setter ofPaymentMode.paymentInfoTypeattribute defined at extensioncore.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
ACTIVE
Generated constant - Attribute key ofPaymentMode.activeattribute defined at extensioncore.- See Also:
-
CODE
Generated constant - Attribute key ofPaymentMode.codeattribute defined at extensioncore.- See Also:
-
DESCRIPTION
Generated constant - Attribute key ofPaymentMode.descriptionattribute defined at extensioncore.- See Also:
-
NAME
Generated constant - Attribute key ofPaymentMode.nameattribute defined at extensioncore.- See Also:
-
PAYMENTINFOTYPE
Generated constant - Attribute key ofPaymentMode.paymentInfoTypeattribute defined at extensioncore.- See Also:
-
SUPPORTEDDELIVERYMODES
Generated constant - Attribute key ofPaymentMode.supportedDeliveryModesattribute defined at extensioncore.- See Also:
-
-
Constructor Details
-
PaymentModeModel
public PaymentModeModel()Generated constructor - Default constructor for generic creation. -
PaymentModeModel
public PaymentModeModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
PaymentModeModel
@Deprecated(since="4.1.1", forRemoval=true) public PaymentModeModel(Boolean _active, String _code, ComposedTypeModel _paymentInfoType) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_active- initial attribute declared by typePaymentModeat extensioncore_code- initial attribute declared by typePaymentModeat extensioncore_paymentInfoType- initial attribute declared by typePaymentModeat extensioncore
-
PaymentModeModel
@Deprecated(since="4.1.1", forRemoval=true) public PaymentModeModel(Boolean _active, String _code, ItemModel _owner, ComposedTypeModel _paymentInfoType) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_active- initial attribute declared by typePaymentModeat extensioncore_code- initial attribute declared by typePaymentModeat extensioncore_owner- initial attribute declared by typeItemat extensioncore_paymentInfoType- initial attribute declared by typePaymentModeat extensioncore
-
-
Method Details
-
getActive
Generated method - Getter of thePaymentMode.activeattribute defined at extensioncore.- Returns:
- the active
-
getCode
Generated method - Getter of thePaymentMode.codeattribute defined at extensioncore.- Returns:
- the code
-
getDescription
Generated method - Getter of thePaymentMode.descriptionattribute defined at extensioncore.- Returns:
- the description
-
getDescription
Generated method - Getter of thePaymentMode.descriptionattribute defined at extensioncore.- Parameters:
loc- the value localization key- Returns:
- the description
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getName
Generated method - Getter of thePaymentMode.nameattribute defined at extensioncore.- Returns:
- the name
-
getName
Generated method - Getter of thePaymentMode.nameattribute defined at extensioncore.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getPaymentinfotype
Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #getPaymentInfoType()} insteadGenerated method - Getter of thePaymentMode.paymentInfoTypeattribute defined at extensioncore.- Returns:
- the paymentInfoType
-
getPaymentInfoType
Generated method - Getter of thePaymentMode.paymentInfoTypeattribute defined at extensioncore.- Returns:
- the paymentInfoType
-
getSupporteddeliverymodes
@Deprecated(since="ages", forRemoval=true) public Collection<DeliveryModeModel> getSupporteddeliverymodes()Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #getSupportedDeliveryModes()} insteadGenerated method - Getter of thePaymentMode.supportedDeliveryModesattribute defined at extensioncore. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the supportedDeliveryModes
-
getSupportedDeliveryModes
@Accessor(qualifier="supportedDeliveryModes", type=GETTER) public Collection<DeliveryModeModel> getSupportedDeliveryModes()Generated method - Getter of thePaymentMode.supportedDeliveryModesattribute defined at extensioncore. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the supportedDeliveryModes
-
setActive
Generated method - Setter ofPaymentMode.activeattribute defined at extensioncore.- Parameters:
value- the active
-
setCode
Generated method - Setter ofPaymentMode.codeattribute defined at extensioncore.- Parameters:
value- the code
-
setDescription
Generated method - Setter ofPaymentMode.descriptionattribute defined at extensioncore.- Parameters:
value- the description
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc) Generated method - Setter ofPaymentMode.descriptionattribute defined at extensioncore.- Parameters:
value- the descriptionloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setName
Generated method - Setter ofPaymentMode.nameattribute defined at extensioncore.- Parameters:
value- the name
-
setName
Generated method - Setter ofPaymentMode.nameattribute defined at extensioncore.- Parameters:
value- the nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setPaymentinfotype
Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #setPaymentInfoType(de.hybris.platform.core.model.type.ComposedTypeModel)} insteadGenerated method - Setter ofPaymentMode.paymentInfoTypeattribute defined at extensioncore.- Parameters:
value- the paymentInfoType
-
setPaymentInfoType
@Accessor(qualifier="paymentInfoType", type=SETTER) public void setPaymentInfoType(ComposedTypeModel value) Generated method - Setter ofPaymentMode.paymentInfoTypeattribute defined at extensioncore.- Parameters:
value- the paymentInfoType
-