Class B2BOrderThresholdPermissionModel

    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String THRESHOLD
        Generated constant - Attribute key of B2BOrderThresholdPermission.threshold attribute defined at extension b2bapprovalprocess.
        See Also:
        Constant Field Values
      • CURRENCY

        public static final java.lang.String CURRENCY
        Generated constant - Attribute key of B2BOrderThresholdPermission.currency attribute defined at extension b2bapprovalprocess.
        See Also:
        Constant Field Values
    • Constructor Detail

      • B2BOrderThresholdPermissionModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public B2BOrderThresholdPermissionModel​(B2BUnitModel _Unit,
                                                java.lang.String _code,
                                                CurrencyModel _currency,
                                                java.lang.Double _threshold)
        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:
        _Unit - initial attribute declared by type B2BPermission at extension b2bapprovalprocess
        _code - initial attribute declared by type B2BPermission at extension b2bapprovalprocess
        _currency - initial attribute declared by type B2BOrderThresholdPermission at extension b2bapprovalprocess
        _threshold - initial attribute declared by type B2BOrderThresholdPermission at extension b2bapprovalprocess
      • B2BOrderThresholdPermissionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public B2BOrderThresholdPermissionModel​(B2BUnitModel _Unit,
                                                java.lang.String _code,
                                                CurrencyModel _currency,
                                                ItemModel _owner,
                                                java.lang.Double _threshold)
        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:
        _Unit - initial attribute declared by type B2BPermission at extension b2bapprovalprocess
        _code - initial attribute declared by type B2BPermission at extension b2bapprovalprocess
        _currency - initial attribute declared by type B2BOrderThresholdPermission at extension b2bapprovalprocess
        _owner - initial attribute declared by type Item at extension core
        _threshold - initial attribute declared by type B2BOrderThresholdPermission at extension b2bapprovalprocess
    • Method Detail

      • getCurrency

        @Accessor(qualifier="currency",
                  type=GETTER)
        public CurrencyModel getCurrency()
        Generated method - Getter of the B2BOrderThresholdPermission.currency attribute defined at extension b2bapprovalprocess.
        Returns:
        the currency
      • getThreshold

        @Accessor(qualifier="threshold",
                  type=GETTER)
        public java.lang.Double getThreshold()
        Generated method - Getter of the B2BOrderThresholdPermission.threshold attribute defined at extension b2bapprovalprocess.
        Returns:
        the threshold
      • setCurrency

        @Accessor(qualifier="currency",
                  type=SETTER)
        public void setCurrency​(CurrencyModel value)
        Generated method - Setter of B2BOrderThresholdPermission.currency attribute defined at extension b2bapprovalprocess.
        Parameters:
        value - the currency
      • setThreshold

        @Accessor(qualifier="threshold",
                  type=SETTER)
        public void setThreshold​(java.lang.Double value)
        Generated method - Setter of B2BOrderThresholdPermission.threshold attribute defined at extension b2bapprovalprocess.
        Parameters:
        value - the threshold