Class B2BOrderThresholdPermissionModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
B2BOrderThresholdTimespanPermissionModel

public class B2BOrderThresholdPermissionModel extends B2BPermissionModel
Generated model class for type B2BOrderThresholdPermission first defined at extension b2bapprovalprocess.
See Also:
  • Field Details

    • _TYPECODE

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

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

      public static final String CURRENCY
      Generated constant - Attribute key of B2BOrderThresholdPermission.currency attribute defined at extension b2bapprovalprocess.
      See Also:
  • Constructor Details

    • 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, String _code, CurrencyModel _currency, 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, String _code, CurrencyModel _currency, ItemModel _owner, 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 Details

    • 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 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(Double value)
      Generated method - Setter of B2BOrderThresholdPermission.threshold attribute defined at extension b2bapprovalprocess.
      Parameters:
      value - the threshold