Class PaymentSubscriptionResultModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.commercewebservicescommons.model.payment.PaymentSubscriptionResultModel
- All Implemented Interfaces:
Serializable
Generated model class for type PaymentSubscriptionResult first defined at extension commercewebservicescommons.
Used for storing subscription result.
- 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 ofPaymentSubscriptionResult.cartIdattribute defined at extensioncommercewebservicescommons.static final StringGenerated constant - Attribute key ofPaymentSubscriptionResult.resultattribute defined at extensioncommercewebservicescommons.static final StringGenerated constant - Attribute key ofPaymentSubscriptionResult.successattribute defined at extensioncommercewebservicescommons.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.PaymentSubscriptionResultModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextPaymentSubscriptionResultModel(String _cartId) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersPaymentSubscriptionResultModel(String _cartId, ItemModel _owner) 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 thePaymentSubscriptionResult.cartIdattribute defined at extensioncommercewebservicescommons.Generated method - Getter of thePaymentSubscriptionResult.resultattribute defined at extensioncommercewebservicescommons.booleanGenerated method - Getter of thePaymentSubscriptionResult.successattribute defined at extensioncommercewebservicescommons.voidGenerated method - Setter ofPaymentSubscriptionResult.cartIdattribute defined at extensioncommercewebservicescommons.voidGenerated method - Setter ofPaymentSubscriptionResult.resultattribute defined at extensioncommercewebservicescommons.voidsetSuccess(boolean value) Generated method - Setter ofPaymentSubscriptionResult.successattribute defined at extensioncommercewebservicescommons.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:
-
CARTID
Generated constant - Attribute key ofPaymentSubscriptionResult.cartIdattribute defined at extensioncommercewebservicescommons.- See Also:
-
SUCCESS
Generated constant - Attribute key ofPaymentSubscriptionResult.successattribute defined at extensioncommercewebservicescommons.- See Also:
-
RESULT
Generated constant - Attribute key ofPaymentSubscriptionResult.resultattribute defined at extensioncommercewebservicescommons.- See Also:
-
-
Constructor Details
-
PaymentSubscriptionResultModel
public PaymentSubscriptionResultModel()Generated constructor - Default constructor for generic creation. -
PaymentSubscriptionResultModel
public PaymentSubscriptionResultModel(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
-
PaymentSubscriptionResultModel
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:
_cartId- initial attribute declared by typePaymentSubscriptionResultat extensioncommercewebservicescommons
-
PaymentSubscriptionResultModel
@Deprecated(since="4.1.1", forRemoval=true) public PaymentSubscriptionResultModel(String _cartId, ItemModel _owner) 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:
_cartId- initial attribute declared by typePaymentSubscriptionResultat extensioncommercewebservicescommons_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCartId
Generated method - Getter of thePaymentSubscriptionResult.cartIdattribute defined at extensioncommercewebservicescommons.- Returns:
- the cartId
-
getResult
Generated method - Getter of thePaymentSubscriptionResult.resultattribute defined at extensioncommercewebservicescommons.- Returns:
- the result - Serialized result object
-
isSuccess
@Accessor(qualifier="success", type=GETTER) public boolean isSuccess()Generated method - Getter of thePaymentSubscriptionResult.successattribute defined at extensioncommercewebservicescommons.- Returns:
- the success - Define if subscription was successful.
-
setCartId
Generated method - Setter ofPaymentSubscriptionResult.cartIdattribute defined at extensioncommercewebservicescommons.- Parameters:
value- the cartId
-
setResult
Generated method - Setter ofPaymentSubscriptionResult.resultattribute defined at extensioncommercewebservicescommons.- Parameters:
value- the result - Serialized result object
-
setSuccess
@Accessor(qualifier="success", type=SETTER) public void setSuccess(boolean value) Generated method - Setter ofPaymentSubscriptionResult.successattribute defined at extensioncommercewebservicescommons.- Parameters:
value- the success - Define if subscription was successful.
-