Class PaymentSubscriptionResultModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class PaymentSubscriptionResultModel
    extends ItemModel
    Generated model class for type PaymentSubscriptionResult first defined at extension commercewebservicescommons.

    Used for storing subscription result.

    See Also:
    Serialized Form
    • 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 java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String CARTID
      Generated constant - Attribute key of PaymentSubscriptionResult.cartId attribute defined at extension commercewebservicescommons.
      static java.lang.String RESULT
      Generated constant - Attribute key of PaymentSubscriptionResult.result attribute defined at extension commercewebservicescommons.
      static java.lang.String SUCCESS
      Generated constant - Attribute key of PaymentSubscriptionResult.success attribute defined at extension commercewebservicescommons.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      PaymentSubscriptionResultModel()
      Generated constructor - Default constructor for generic creation.
      PaymentSubscriptionResultModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      PaymentSubscriptionResultModel​(java.lang.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
      PaymentSubscriptionResultModel​(java.lang.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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCartId()
      Generated method - Getter of the PaymentSubscriptionResult.cartId attribute defined at extension commercewebservicescommons.
      java.lang.Object getResult()
      Generated method - Getter of the PaymentSubscriptionResult.result attribute defined at extension commercewebservicescommons.
      boolean isSuccess()
      Generated method - Getter of the PaymentSubscriptionResult.success attribute defined at extension commercewebservicescommons.
      void setCartId​(java.lang.String value)
      Generated method - Setter of PaymentSubscriptionResult.cartId attribute defined at extension commercewebservicescommons.
      void setResult​(java.lang.Object value)
      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.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 Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • CARTID

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

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

        public static final java.lang.String RESULT
        Generated constant - Attribute key of PaymentSubscriptionResult.result attribute defined at extension commercewebservicescommons.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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​(java.lang.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​(java.lang.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 Detail

      • getCartId

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

        @Accessor(qualifier="result",
                  type=GETTER)
        public java.lang.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​(java.lang.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​(java.lang.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.