Class ConsignmentEntryModel

All Implemented Interfaces:
Serializable

public class ConsignmentEntryModel extends ItemModel
Generated model class for type ConsignmentEntry first defined at extension basecommerce.
See Also:
  • Field Details

    • _TYPECODE

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

      public static final String _DECLINECONSIGNMENTENTRYEVENTCONSIGNMENTENTRYRELATION
      Generated relation code constant for relation DeclineConsignmentEntryEventConsignmentEntryRelation defining source attribute declineEntryEvents in extension warehousing.
      See Also:
    • QUANTITY

      public static final String QUANTITY
      Generated constant - Attribute key of ConsignmentEntry.quantity attribute defined at extension basecommerce.
      See Also:
    • SHIPPEDQUANTITY

      public static final String SHIPPEDQUANTITY
      Generated constant - Attribute key of ConsignmentEntry.shippedQuantity attribute defined at extension basecommerce.
      See Also:
    • ORDERENTRY

      public static final String ORDERENTRY
      Generated constant - Attribute key of ConsignmentEntry.orderEntry attribute defined at extension basecommerce.
      See Also:
    • CONSIGNMENT

      public static final String CONSIGNMENT
      Generated constant - Attribute key of ConsignmentEntry.consignment attribute defined at extension basecommerce.
      See Also:
    • QUANTITYDECLINED

      public static final String QUANTITYDECLINED
      Generated constant - Attribute key of ConsignmentEntry.quantityDeclined attribute defined at extension warehousing.
      See Also:
    • QUANTITYPENDING

      public static final String QUANTITYPENDING
      Generated constant - Attribute key of ConsignmentEntry.quantityPending attribute defined at extension warehousing.
      See Also:
    • QUANTITYSHIPPED

      public static final String QUANTITYSHIPPED
      Generated constant - Attribute key of ConsignmentEntry.quantityShipped attribute defined at extension warehousing.
      See Also:
    • SOURCEORDERENTRY

      public static final String SOURCEORDERENTRY
      Generated constant - Attribute key of ConsignmentEntry.sourceOrderEntry attribute defined at extension warehousing.
      See Also:
    • DECLINEENTRYEVENTS

      public static final String DECLINEENTRYEVENTS
      Generated constant - Attribute key of ConsignmentEntry.declineEntryEvents attribute defined at extension warehousing.
      See Also:
    • INVENTORYEVENTS

      public static final String INVENTORYEVENTS
      Generated constant - Attribute key of ConsignmentEntry.inventoryEvents attribute defined at extension warehousing.
      See Also:
  • Constructor Details

    • ConsignmentEntryModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public ConsignmentEntryModel(ConsignmentModel _consignment, AbstractOrderEntryModel _orderEntry, Long _quantity)
      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:
      _consignment - initial attribute declared by type ConsignmentEntry at extension basecommerce
      _orderEntry - initial attribute declared by type ConsignmentEntry at extension basecommerce
      _quantity - initial attribute declared by type ConsignmentEntry at extension basecommerce
    • ConsignmentEntryModel

      @Deprecated(since="4.1.1", forRemoval=true) public ConsignmentEntryModel(ConsignmentModel _consignment, AbstractOrderEntryModel _orderEntry, ItemModel _owner, Long _quantity)
      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:
      _consignment - initial attribute declared by type ConsignmentEntry at extension basecommerce
      _orderEntry - initial attribute declared by type ConsignmentEntry at extension basecommerce
      _owner - initial attribute declared by type Item at extension core
      _quantity - initial attribute declared by type ConsignmentEntry at extension basecommerce
  • Method Details

    • getConsignment

      @Accessor(qualifier="consignment", type=GETTER) public ConsignmentModel getConsignment()
      Generated method - Getter of the ConsignmentEntry.consignment attribute defined at extension basecommerce.
      Returns:
      the consignment
    • getDeclineEntryEvents

      @Accessor(qualifier="declineEntryEvents", type=GETTER) public Set<DeclineConsignmentEntryEventModel> getDeclineEntryEvents()
      Generated method - Getter of the ConsignmentEntry.declineEntryEvents attribute defined at extension warehousing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the declineEntryEvents
    • getInventoryEvents

      @Accessor(qualifier="inventoryEvents", type=GETTER) public Collection<InventoryEventModel> getInventoryEvents()
      Generated method - Getter of the ConsignmentEntry.inventoryEvents attribute defined at extension warehousing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the inventoryEvents
    • getOrderEntry

      @Accessor(qualifier="orderEntry", type=GETTER) public AbstractOrderEntryModel getOrderEntry()
      Generated method - Getter of the ConsignmentEntry.orderEntry attribute defined at extension basecommerce.
      Returns:
      the orderEntry
    • getQuantity

      @Accessor(qualifier="quantity", type=GETTER) public Long getQuantity()
      Generated method - Getter of the ConsignmentEntry.quantity attribute defined at extension basecommerce.
      Returns:
      the quantity
    • getQuantityDeclined

      @Accessor(qualifier="quantityDeclined", type=GETTER) public Long getQuantityDeclined()
      Generated method - Getter of the ConsignmentEntry.quantityDeclined dynamic attribute defined at extension warehousing.
      Returns:
      the quantityDeclined
    • getQuantityPending

      @Accessor(qualifier="quantityPending", type=GETTER) public Long getQuantityPending()
      Generated method - Getter of the ConsignmentEntry.quantityPending dynamic attribute defined at extension warehousing.
      Returns:
      the quantityPending
    • getQuantityShipped

      @Accessor(qualifier="quantityShipped", type=GETTER) public Long getQuantityShipped()
      Generated method - Getter of the ConsignmentEntry.quantityShipped dynamic attribute defined at extension warehousing.
      Returns:
      the quantityShipped
    • getShippedQuantity

      @Accessor(qualifier="shippedQuantity", type=GETTER) public Long getShippedQuantity()
      Generated method - Getter of the ConsignmentEntry.shippedQuantity attribute defined at extension basecommerce.
      Returns:
      the shippedQuantity
    • getSourceOrderEntry

      @Accessor(qualifier="sourceOrderEntry", type=GETTER) public OrderEntryModel getSourceOrderEntry()
      Generated method - Getter of the ConsignmentEntry.sourceOrderEntry attribute defined at extension warehousing.
      Returns:
      the sourceOrderEntry
    • setConsignment

      @Accessor(qualifier="consignment", type=SETTER) public void setConsignment(ConsignmentModel value)
      Generated method - Initial setter of ConsignmentEntry.consignment attribute defined at extension basecommerce. Can only be used at creation of model - before first save.
      Parameters:
      value - the consignment
    • setDeclineEntryEvents

      @Accessor(qualifier="declineEntryEvents", type=SETTER) public void setDeclineEntryEvents(Set<DeclineConsignmentEntryEventModel> value)
      Generated method - Setter of ConsignmentEntry.declineEntryEvents attribute defined at extension warehousing.
      Parameters:
      value - the declineEntryEvents
    • setInventoryEvents

      @Accessor(qualifier="inventoryEvents", type=SETTER) public void setInventoryEvents(Collection<InventoryEventModel> value)
      Generated method - Setter of ConsignmentEntry.inventoryEvents attribute defined at extension warehousing.
      Parameters:
      value - the inventoryEvents
    • setOrderEntry

      @Accessor(qualifier="orderEntry", type=SETTER) public void setOrderEntry(AbstractOrderEntryModel value)
      Generated method - Initial setter of ConsignmentEntry.orderEntry attribute defined at extension basecommerce. Can only be used at creation of model - before first save.
      Parameters:
      value - the orderEntry
    • setQuantity

      @Accessor(qualifier="quantity", type=SETTER) public void setQuantity(Long value)
      Generated method - Setter of ConsignmentEntry.quantity attribute defined at extension basecommerce.
      Parameters:
      value - the quantity
    • setShippedQuantity

      @Accessor(qualifier="shippedQuantity", type=SETTER) public void setShippedQuantity(Long value)
      Generated method - Setter of ConsignmentEntry.shippedQuantity attribute defined at extension basecommerce.
      Parameters:
      value - the shippedQuantity
    • setSourceOrderEntry

      @Accessor(qualifier="sourceOrderEntry", type=SETTER) public void setSourceOrderEntry(OrderEntryModel value)
      Generated method - Setter of ConsignmentEntry.sourceOrderEntry attribute defined at extension warehousing.
      Parameters:
      value - the sourceOrderEntry