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:
  • 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(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.