Class StoredPunchOutSessionModel

All Implemented Interfaces:
Serializable

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

    • _TYPECODE

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

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

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

      public static final String CART
      Generated constant - Attribute key of StoredPunchOutSession.cart attribute defined at extension b2bpunchout.
      See Also:
  • Constructor Details

    • 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, Object _punchOutSession, 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, Object _punchOutSession, 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 Details

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