Class StoredPunchOutSessionModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class StoredPunchOutSessionModel
    extends ItemModel
    Generated model class for type StoredPunchOutSession first defined at extension b2bpunchout.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String SID
        Generated constant - Attribute key of StoredPunchOutSession.sid attribute defined at extension b2bpunchout.
        See Also:
        Constant Field Values
      • PUNCHOUTSESSION

        public static final java.lang.String PUNCHOUTSESSION
        Generated constant - Attribute key of StoredPunchOutSession.punchOutSession attribute defined at extension b2bpunchout.
        See Also:
        Constant Field Values
      • CART

        public static final java.lang.String CART
        Generated constant - Attribute key of StoredPunchOutSession.cart attribute defined at extension b2bpunchout.
        See Also:
        Constant Field Values
    • Constructor Detail

      • StoredPunchOutSessionModel

        public StoredPunchOutSessionModel()
        Generated constructor - Default constructor for generic creation.
      • StoredPunchOutSessionModel

        public StoredPunchOutSessionModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • StoredPunchOutSessionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public StoredPunchOutSessionModel​(CartModel _cart,
                                          java.lang.Object _punchOutSession,
                                          java.lang.String _sid)
        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:
        _cart - initial attribute declared by type StoredPunchOutSession at extension b2bpunchout
        _punchOutSession - initial attribute declared by type StoredPunchOutSession at extension b2bpunchout
        _sid - initial attribute declared by type StoredPunchOutSession at extension b2bpunchout
      • StoredPunchOutSessionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public StoredPunchOutSessionModel​(CartModel _cart,
                                          ItemModel _owner,
                                          java.lang.Object _punchOutSession,
                                          java.lang.String _sid)
        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:
        _cart - initial attribute declared by type StoredPunchOutSession at extension b2bpunchout
        _owner - initial attribute declared by type Item at extension core
        _punchOutSession - initial attribute declared by type StoredPunchOutSession at extension b2bpunchout
        _sid - initial attribute declared by type StoredPunchOutSession at extension b2bpunchout
    • Method Detail

      • getCart

        @Accessor(qualifier="cart",
                  type=GETTER)
        public CartModel getCart()
        Generated method - Getter of the StoredPunchOutSession.cart attribute defined at extension b2bpunchout.
        Returns:
        the cart
      • getPunchOutSession

        @Accessor(qualifier="punchOutSession",
                  type=GETTER)
        public java.lang.Object getPunchOutSession()
        Generated method - Getter of the StoredPunchOutSession.punchOutSession attribute defined at extension b2bpunchout.
        Returns:
        the punchOutSession - Should be instance of type PunchOutSession
      • getSid

        @Accessor(qualifier="sid",
                  type=GETTER)
        public java.lang.String getSid()
        Generated method - Getter of the StoredPunchOutSession.sid attribute defined at extension b2bpunchout.
        Returns:
        the sid
      • setCart

        @Accessor(qualifier="cart",
                  type=SETTER)
        public void setCart​(CartModel value)
        Generated method - Initial setter of StoredPunchOutSession.cart attribute defined at extension b2bpunchout. Can only be used at creation of model - before first save.
        Parameters:
        value - the cart
      • setPunchOutSession

        @Accessor(qualifier="punchOutSession",
                  type=SETTER)
        public void setPunchOutSession​(java.lang.Object value)
        Generated method - Setter of StoredPunchOutSession.punchOutSession attribute defined at extension b2bpunchout.
        Parameters:
        value - the punchOutSession - Should be instance of type PunchOutSession
      • setSid

        @Accessor(qualifier="sid",
                  type=SETTER)
        public void setSid​(java.lang.String value)
        Generated method - Initial setter of StoredPunchOutSession.sid attribute defined at extension b2bpunchout. Can only be used at creation of model - before first save.
        Parameters:
        value - the sid