Class B2BUnitModel

All Implemented Interfaces:
Serializable

public class B2BUnitModel extends OrgUnitModel
Generated model class for type B2BUnit first defined at extension b2bcommerce.
See Also:
  • Field Details

    • _TYPECODE

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

      public static final String REPORTINGORGANIZATION
      Generated constant - Attribute key of B2BUnit.reportingOrganization attribute defined at extension b2bcommerce.
      See Also:
    • USERGROUPS

      public static final String USERGROUPS
      Generated constant - Attribute key of B2BUnit.UserGroups attribute defined at extension b2bcommerce.
      See Also:
    • COSTCENTERS

      public static final String COSTCENTERS
      Generated constant - Attribute key of B2BUnit.CostCenters attribute defined at extension b2bcommerce.
      See Also:
    • BUDGETS

      public static final String BUDGETS
      Generated constant - Attribute key of B2BUnit.Budgets attribute defined at extension b2bcommerce.
      See Also:
    • ORDERS

      public static final String ORDERS
      Generated constant - Attribute key of B2BUnit.Orders attribute defined at extension b2bcommerce.
      See Also:
    • CREDITLIMIT

      public static final String CREDITLIMIT
      Generated constant - Attribute key of B2BUnit.CreditLimit attribute defined at extension b2bcommerce.
      See Also:
    • QUOTELIMIT

      public static final String QUOTELIMIT
      Generated constant - Attribute key of B2BUnit.QuoteLimit attribute defined at extension b2bcommerce.
      See Also:
    • ACCOUNTMANAGER

      public static final String ACCOUNTMANAGER
      Generated constant - Attribute key of B2BUnit.accountManager attribute defined at extension b2bcommerce.
      See Also:
    • ACCOUNTMANAGERGROUPS

      public static final String ACCOUNTMANAGERGROUPS
      Generated constant - Attribute key of B2BUnit.AccountManagerGroups attribute defined at extension b2bcommerce.
      See Also:
    • APPROVALPROCESSCODE

      public static final String APPROVALPROCESSCODE
      Generated constant - Attribute key of B2BUnit.approvalProcessCode attribute defined at extension b2bapprovalprocess.
      See Also:
    • APPROVERGROUPS

      public static final String APPROVERGROUPS
      Generated constant - Attribute key of B2BUnit.ApproverGroups attribute defined at extension b2bapprovalprocess.
      See Also:
    • PERMISSIONS

      public static final String PERMISSIONS
      Generated constant - Attribute key of B2BUnit.Permissions attribute defined at extension b2bapprovalprocess.
      See Also:
    • APPROVERS

      public static final String APPROVERS
      Generated constant - Attribute key of B2BUnit.Approvers attribute defined at extension b2bapprovalprocess.
      See Also:
    • DOCUMENT

      public static final String DOCUMENT
      Generated constant - Attribute key of B2BUnit.document attribute defined at extension accountsummaryaddon.
      See Also:
  • Constructor Details

    • B2BUnitModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public B2BUnitModel(String _uid)
      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:
      _uid - initial attribute declared by type Principal at extension core
    • B2BUnitModel

      @Deprecated(since="4.1.1", forRemoval=true) public B2BUnitModel(ItemModel _owner, String _uid)
      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:
      _owner - initial attribute declared by type Item at extension core
      _uid - initial attribute declared by type Principal at extension core
  • Method Details

    • getAccountManager

      @Accessor(qualifier="accountManager", type=GETTER) public EmployeeModel getAccountManager()
      Generated method - Getter of the B2BUnit.accountManager attribute defined at extension b2bcommerce.
      Returns:
      the accountManager - Employee-Account Manager associated to a Parent B2BUnit
    • getAccountManagerGroups

      @Accessor(qualifier="AccountManagerGroups", type=GETTER) public Set<UserGroupModel> getAccountManagerGroups()
      Generated method - Getter of the B2BUnit.AccountManagerGroups attribute defined at extension b2bcommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the AccountManagerGroups - User groups associated to a B2BUnit that hold other employees who can approve quotes
    • getApprovalProcessCode

      @Accessor(qualifier="approvalProcessCode", type=GETTER) public String getApprovalProcessCode()
      Generated method - Getter of the B2BUnit.approvalProcessCode attribute defined at extension b2bapprovalprocess.
      Returns:
      the approvalProcessCode - A name of the process to be consumed by process engine for b2b order approval as defined in the process definition file.
    • getApproverGroups

      @Accessor(qualifier="ApproverGroups", type=GETTER) public Set<B2BUserGroupModel> getApproverGroups()
      Generated method - Getter of the B2BUnit.ApproverGroups attribute defined at extension b2bapprovalprocess. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the ApproverGroups - User groups associated to a B2BUnit that hold other employees who can approve orders
    • getApprovers

      @Accessor(qualifier="Approvers", type=GETTER) public Set<B2BCustomerModel> getApprovers()
      Generated method - Getter of the B2BUnit.Approvers attribute defined at extension b2bapprovalprocess. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the Approvers - Approvers associated to a customer
    • getBudgets

      @Accessor(qualifier="Budgets", type=GETTER) public List<B2BBudgetModel> getBudgets()
      Generated method - Getter of the B2BUnit.Budgets attribute defined at extension b2bcommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the Budgets - Budgets associated to a Parent B2BUnit
    • getCostCenters

      @Accessor(qualifier="CostCenters", type=GETTER) public List<B2BCostCenterModel> getCostCenters()
      Generated method - Getter of the B2BUnit.CostCenters attribute defined at extension b2bcommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the CostCenters - CostCenters associated to a Parent B2BUnit
    • getCreditLimit

      @Accessor(qualifier="CreditLimit", type=GETTER) public B2BCreditLimitModel getCreditLimit()
      Generated method - Getter of the B2BUnit.CreditLimit attribute defined at extension b2bcommerce.
      Returns:
      the CreditLimit - Merchant Check associated to a Parent B2BUnit
    • getDocument

      @Accessor(qualifier="document", type=GETTER) public Collection<B2BDocumentModel> getDocument()
      Generated method - Getter of the B2BUnit.document attribute defined at extension accountsummaryaddon. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the document
    • getOrders

      @Accessor(qualifier="Orders", type=GETTER) public Set<AbstractOrderModel> getOrders()
      Generated method - Getter of the B2BUnit.Orders attribute defined at extension b2bcommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the Orders
    • getPermissions

      @Accessor(qualifier="Permissions", type=GETTER) public Set<B2BPermissionModel> getPermissions()
      Generated method - Getter of the B2BUnit.Permissions attribute defined at extension b2bapprovalprocess. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the Permissions - Permissions associated to a unit B2BUnit
    • getQuoteLimit

      @Accessor(qualifier="QuoteLimit", type=GETTER) public B2BQuoteLimitModel getQuoteLimit()
      Generated method - Getter of the B2BUnit.QuoteLimit attribute defined at extension b2bcommerce.
      Returns:
      the QuoteLimit - Minimum Amount on Cart for qualifying for Quote Request
    • getReportingOrganization

      @Accessor(qualifier="reportingOrganization", type=GETTER) public B2BUnitModel getReportingOrganization()
      Generated method - Getter of the B2BUnit.reportingOrganization attribute defined at extension b2bcommerce.
      Returns:
      the reportingOrganization
    • getUserGroups

      @Accessor(qualifier="UserGroups", type=GETTER) public Set<B2BUserGroupModel> getUserGroups()
      Generated method - Getter of the B2BUnit.UserGroups attribute defined at extension b2bcommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the UserGroups
    • setAccountManager

      @Accessor(qualifier="accountManager", type=SETTER) public void setAccountManager(EmployeeModel value)
      Generated method - Setter of B2BUnit.accountManager attribute defined at extension b2bcommerce.
      Parameters:
      value - the accountManager - Employee-Account Manager associated to a Parent B2BUnit
    • setAccountManagerGroups

      @Accessor(qualifier="AccountManagerGroups", type=SETTER) public void setAccountManagerGroups(Set<UserGroupModel> value)
      Generated method - Setter of B2BUnit.AccountManagerGroups attribute defined at extension b2bcommerce.
      Parameters:
      value - the AccountManagerGroups - User groups associated to a B2BUnit that hold other employees who can approve quotes
    • setApprovalProcessCode

      @Accessor(qualifier="approvalProcessCode", type=SETTER) public void setApprovalProcessCode(String value)
      Generated method - Setter of B2BUnit.approvalProcessCode attribute defined at extension b2bapprovalprocess.
      Parameters:
      value - the approvalProcessCode - A name of the process to be consumed by process engine for b2b order approval as defined in the process definition file.
    • setApproverGroups

      @Accessor(qualifier="ApproverGroups", type=SETTER) public void setApproverGroups(Set<B2BUserGroupModel> value)
      Generated method - Setter of B2BUnit.ApproverGroups attribute defined at extension b2bapprovalprocess.
      Parameters:
      value - the ApproverGroups - User groups associated to a B2BUnit that hold other employees who can approve orders
    • setApprovers

      @Accessor(qualifier="Approvers", type=SETTER) public void setApprovers(Set<B2BCustomerModel> value)
      Generated method - Setter of B2BUnit.Approvers attribute defined at extension b2bapprovalprocess.
      Parameters:
      value - the Approvers - Approvers associated to a customer
    • setBudgets

      @Accessor(qualifier="Budgets", type=SETTER) public void setBudgets(List<B2BBudgetModel> value)
      Generated method - Setter of B2BUnit.Budgets attribute defined at extension b2bcommerce.
      Parameters:
      value - the Budgets - Budgets associated to a Parent B2BUnit
    • setCostCenters

      @Accessor(qualifier="CostCenters", type=SETTER) public void setCostCenters(List<B2BCostCenterModel> value)
      Generated method - Setter of B2BUnit.CostCenters attribute defined at extension b2bcommerce.
      Parameters:
      value - the CostCenters - CostCenters associated to a Parent B2BUnit
    • setCreditLimit

      @Accessor(qualifier="CreditLimit", type=SETTER) public void setCreditLimit(B2BCreditLimitModel value)
      Generated method - Setter of B2BUnit.CreditLimit attribute defined at extension b2bcommerce.
      Parameters:
      value - the CreditLimit - Merchant Check associated to a Parent B2BUnit
    • setDocument

      @Accessor(qualifier="document", type=SETTER) public void setDocument(Collection<B2BDocumentModel> value)
      Generated method - Setter of B2BUnit.document attribute defined at extension accountsummaryaddon.
      Parameters:
      value - the document
    • setOrders

      @Accessor(qualifier="Orders", type=SETTER) public void setOrders(Set<AbstractOrderModel> value)
      Generated method - Setter of B2BUnit.Orders attribute defined at extension b2bcommerce.
      Parameters:
      value - the Orders
    • setPermissions

      @Accessor(qualifier="Permissions", type=SETTER) public void setPermissions(Set<B2BPermissionModel> value)
      Generated method - Setter of B2BUnit.Permissions attribute defined at extension b2bapprovalprocess.
      Parameters:
      value - the Permissions - Permissions associated to a unit B2BUnit
    • setQuoteLimit

      @Accessor(qualifier="QuoteLimit", type=SETTER) public void setQuoteLimit(B2BQuoteLimitModel value)
      Generated method - Setter of B2BUnit.QuoteLimit attribute defined at extension b2bcommerce.
      Parameters:
      value - the QuoteLimit - Minimum Amount on Cart for qualifying for Quote Request
    • setReportingOrganization

      @Accessor(qualifier="reportingOrganization", type=SETTER) public void setReportingOrganization(B2BUnitModel value)
      Generated method - Setter of B2BUnit.reportingOrganization attribute defined at extension b2bcommerce.
      Parameters:
      value - the reportingOrganization
    • setUserGroups

      @Accessor(qualifier="UserGroups", type=SETTER) public void setUserGroups(Set<B2BUserGroupModel> value)
      Generated method - Setter of B2BUnit.UserGroups attribute defined at extension b2bcommerce.
      Parameters:
      value - the UserGroups