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

public class PaymentSubscriptionResultModel extends ItemModel
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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of PaymentSubscriptionResult.cartId attribute defined at extension commercewebservicescommons.
    static final String
    Generated constant - Attribute key of PaymentSubscriptionResult.result attribute defined at extension commercewebservicescommons.
    static final String
    Generated constant - Attribute key of PaymentSubscriptionResult.success attribute defined at extension commercewebservicescommons.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    PaymentSubscriptionResultModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    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
    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 Type
    Method
    Description
    Generated method - Getter of the PaymentSubscriptionResult.cartId attribute defined at extension commercewebservicescommons.
    Generated method - Getter of the PaymentSubscriptionResult.result attribute defined at extension commercewebservicescommons.
    boolean
    Generated method - Getter of the PaymentSubscriptionResult.success attribute defined at extension commercewebservicescommons.
    void
    Generated method - Setter of PaymentSubscriptionResult.cartId attribute defined at extension commercewebservicescommons.
    void
    Generated method - Setter of PaymentSubscriptionResult.result attribute defined at extension commercewebservicescommons.
    void
    setSuccess(boolean value)
    Generated method - Setter of PaymentSubscriptionResult.success attribute defined at extension commercewebservicescommons.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    Methods 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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • CARTID

      public static final String CARTID
      Generated constant - Attribute key of PaymentSubscriptionResult.cartId attribute defined at extension commercewebservicescommons.
      See Also:
    • SUCCESS

      public static final String SUCCESS
      Generated constant - Attribute key of PaymentSubscriptionResult.success attribute defined at extension commercewebservicescommons.
      See Also:
    • RESULT

      public static final String RESULT
      Generated constant - Attribute key of PaymentSubscriptionResult.result attribute defined at extension commercewebservicescommons.
      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(since="4.1.1", forRemoval=true) public PaymentSubscriptionResultModel(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 parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _cartId - initial attribute declared by type PaymentSubscriptionResult at extension commercewebservicescommons
    • 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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _cartId - initial attribute declared by type PaymentSubscriptionResult at extension commercewebservicescommons
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getCartId

      @Accessor(qualifier="cartId", type=GETTER) public String getCartId()
      Generated method - Getter of the PaymentSubscriptionResult.cartId attribute defined at extension commercewebservicescommons.
      Returns:
      the cartId
    • getResult

      @Accessor(qualifier="result", type=GETTER) public Object getResult()
      Generated method - Getter of the PaymentSubscriptionResult.result attribute defined at extension commercewebservicescommons.
      Returns:
      the result - Serialized result object
    • isSuccess

      @Accessor(qualifier="success", type=GETTER) public boolean isSuccess()
      Generated method - Getter of the PaymentSubscriptionResult.success attribute defined at extension commercewebservicescommons.
      Returns:
      the success - Define if subscription was successful.
    • setCartId

      @Accessor(qualifier="cartId", type=SETTER) public void setCartId(String value)
      Generated method - Setter of PaymentSubscriptionResult.cartId attribute defined at extension commercewebservicescommons.
      Parameters:
      value - the cartId
    • setResult

      @Accessor(qualifier="result", type=SETTER) public void setResult(Object value)
      Generated method - Setter of PaymentSubscriptionResult.result attribute defined at extension commercewebservicescommons.
      Parameters:
      value - the result - Serialized result object
    • setSuccess

      @Accessor(qualifier="success", type=SETTER) public void setSuccess(boolean value)
      Generated method - Setter of PaymentSubscriptionResult.success attribute defined at extension commercewebservicescommons.
      Parameters:
      value - the success - Define if subscription was successful.