Class B2BUnitModel

  • All Implemented Interfaces:
    java.io.Serializable

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

      • _TYPECODE

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public static final java.lang.String DOCUMENT
        Generated constant - Attribute key of B2BUnit.document attribute defined at extension accountsummaryaddon.
        See Also:
        Constant Field Values
      • ISSEALED

        public static final java.lang.String ISSEALED
        Generated constant - Attribute key of B2BUnit.isSealed attribute defined at extension agentdesktopdataexchangeb2b.
        See Also:
        Constant Field Values
      • B2BUNITPK

        public static final java.lang.String B2BUNITPK
        Generated constant - Attribute key of B2BUnit.b2bUnitPk attribute defined at extension agentdesktopdataexchangeb2b.
        See Also:
        Constant Field Values
      • PARENTB2BUNITID

        public static final java.lang.String PARENTB2BUNITID
        Generated constant - Attribute key of B2BUnit.parentB2BUnitId attribute defined at extension agentdesktopdataexchangeb2b.
        See Also:
        Constant Field Values
      • PARENTB2BUNITPK

        public static final java.lang.String PARENTB2BUNITPK
        Generated constant - Attribute key of B2BUnit.parentB2BUnitPk attribute defined at extension agentdesktopdataexchangeb2b.
        See Also:
        Constant Field Values
      • ISDELETE

        public static final java.lang.String ISDELETE
        Generated constant - Attribute key of B2BUnit.isDelete attribute defined at extension agentdesktopdataexchangeb2b.
        See Also:
        Constant Field Values
      • REVENUECLOUDCOMPANYID

        public static final java.lang.String REVENUECLOUDCOMPANYID
        Generated constant - Attribute key of B2BUnit.revenueCloudCompanyId attribute defined at extension saprevenuecloudcustomer.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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​(java.lang.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,
                            java.lang.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 Detail

      • 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 java.util.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 java.lang.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 java.util.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 java.util.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
      • getB2bUnitPk

        @Accessor(qualifier="b2bUnitPk",
                  type=GETTER)
        public java.lang.String getB2bUnitPk()
        Generated method - Getter of the B2BUnit.b2bUnitPk attribute defined at extension agentdesktopdataexchangeb2b.
        Returns:
        the b2bUnitPk - b2bUnitPk from the Commerce System
      • getBudgets

        @Accessor(qualifier="Budgets",
                  type=GETTER)
        public java.util.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 java.util.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 java.util.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
      • getIsDelete

        @Accessor(qualifier="isDelete",
                  type=GETTER)
        public java.lang.Boolean getIsDelete()
        Generated method - Getter of the B2BUnit.isDelete attribute defined at extension agentdesktopdataexchangeb2b.
        Returns:
        the isDelete - is delete from the Commerce System
      • getIsSealed

        @Accessor(qualifier="isSealed",
                  type=GETTER)
        public java.lang.Boolean getIsSealed()
        Generated method - Getter of the B2BUnit.isSealed attribute defined at extension agentdesktopdataexchangeb2b.
        Returns:
        the isSealed - is sealed from the Commerce System
      • getOrders

        @Accessor(qualifier="Orders",
                  type=GETTER)
        public java.util.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
      • getParentB2BUnitId

        @Accessor(qualifier="parentB2BUnitId",
                  type=GETTER)
        public java.lang.String getParentB2BUnitId()
        Generated method - Getter of the B2BUnit.parentB2BUnitId attribute defined at extension agentdesktopdataexchangeb2b.
        Returns:
        the parentB2BUnitId - parentB2BUnitId from the Commerce System
      • getParentB2BUnitPk

        @Accessor(qualifier="parentB2BUnitPk",
                  type=GETTER)
        public java.lang.String getParentB2BUnitPk()
        Generated method - Getter of the B2BUnit.parentB2BUnitPk attribute defined at extension agentdesktopdataexchangeb2b.
        Returns:
        the parentB2BUnitPk - parentB2BUnitPk from the Commerce System
      • getPermissions

        @Accessor(qualifier="Permissions",
                  type=GETTER)
        public java.util.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
      • getRevenueCloudCompanyId

        @Accessor(qualifier="revenueCloudCompanyId",
                  type=GETTER)
        public java.lang.String getRevenueCloudCompanyId()
        Generated method - Getter of the B2BUnit.revenueCloudCompanyId attribute defined at extension saprevenuecloudcustomer.
        Returns:
        the revenueCloudCompanyId - Company ID from the Revenue Cloud system.
      • getUserGroups

        @Accessor(qualifier="UserGroups",
                  type=GETTER)
        public java.util.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​(java.util.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​(java.lang.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​(java.util.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​(java.util.Set<B2BCustomerModel> value)
        Generated method - Setter of B2BUnit.Approvers attribute defined at extension b2bapprovalprocess.
        Parameters:
        value - the Approvers - Approvers associated to a customer
      • setB2bUnitPk

        @Accessor(qualifier="b2bUnitPk",
                  type=SETTER)
        public void setB2bUnitPk​(java.lang.String value)
        Generated method - Setter of B2BUnit.b2bUnitPk attribute defined at extension agentdesktopdataexchangeb2b.
        Parameters:
        value - the b2bUnitPk - b2bUnitPk from the Commerce System
      • setBudgets

        @Accessor(qualifier="Budgets",
                  type=SETTER)
        public void setBudgets​(java.util.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​(java.util.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​(java.util.Collection<B2BDocumentModel> value)
        Generated method - Setter of B2BUnit.document attribute defined at extension accountsummaryaddon.
        Parameters:
        value - the document
      • setIsDelete

        @Accessor(qualifier="isDelete",
                  type=SETTER)
        public void setIsDelete​(java.lang.Boolean value)
        Generated method - Setter of B2BUnit.isDelete attribute defined at extension agentdesktopdataexchangeb2b.
        Parameters:
        value - the isDelete - is delete from the Commerce System
      • setIsSealed

        @Accessor(qualifier="isSealed",
                  type=SETTER)
        public void setIsSealed​(java.lang.Boolean value)
        Generated method - Setter of B2BUnit.isSealed attribute defined at extension agentdesktopdataexchangeb2b.
        Parameters:
        value - the isSealed - is sealed from the Commerce System
      • setOrders

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

        @Accessor(qualifier="parentB2BUnitId",
                  type=SETTER)
        public void setParentB2BUnitId​(java.lang.String value)
        Generated method - Setter of B2BUnit.parentB2BUnitId attribute defined at extension agentdesktopdataexchangeb2b.
        Parameters:
        value - the parentB2BUnitId - parentB2BUnitId from the Commerce System
      • setParentB2BUnitPk

        @Accessor(qualifier="parentB2BUnitPk",
                  type=SETTER)
        public void setParentB2BUnitPk​(java.lang.String value)
        Generated method - Setter of B2BUnit.parentB2BUnitPk attribute defined at extension agentdesktopdataexchangeb2b.
        Parameters:
        value - the parentB2BUnitPk - parentB2BUnitPk from the Commerce System
      • setPermissions

        @Accessor(qualifier="Permissions",
                  type=SETTER)
        public void setPermissions​(java.util.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
      • setRevenueCloudCompanyId

        @Accessor(qualifier="revenueCloudCompanyId",
                  type=SETTER)
        public void setRevenueCloudCompanyId​(java.lang.String value)
        Generated method - Setter of B2BUnit.revenueCloudCompanyId attribute defined at extension saprevenuecloudcustomer.
        Parameters:
        value - the revenueCloudCompanyId - Company ID from the Revenue Cloud system.
      • setUserGroups

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