Class PaymentSubscriptionResultModel

  • All Implemented Interfaces:
    java.io.Serializable

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

    Used for storing subscription result.

    See Also:
    Serialized Form
    • 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 acceleratorwebservicesaddon.
        See Also:
        Constant Field Values
      • SUCCESS

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

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

      • 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​(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 acceleratorwebservicesaddon
      • 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 acceleratorwebservicesaddon
        _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 acceleratorwebservicesaddon.
        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 acceleratorwebservicesaddon.
        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 acceleratorwebservicesaddon.
        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 acceleratorwebservicesaddon.
        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 acceleratorwebservicesaddon.
        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 acceleratorwebservicesaddon.
        Parameters:
        value - the success - Define if subscription was successful.