Class B2BCreditLimitModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable

public class B2BCreditLimitModel extends B2BMerchantCheckModel
Generated model class for type B2BCreditLimit first defined at extension b2bcommerce.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated relation code constant for relation B2BUnit2B2BCreditLimit defining source attribute Unit in extension b2bcommerce.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of B2BCreditLimit.alertRateType attribute defined at extension b2bcommerce.
    static final String
    Generated constant - Attribute key of B2BCreditLimit.alertSentDate attribute defined at extension b2bcommerce.
    static final String
    Generated constant - Attribute key of B2BCreditLimit.alertThreshold attribute defined at extension b2bcommerce.
    static final String
    Generated constant - Attribute key of B2BCreditLimit.amount attribute defined at extension b2bcommerce.
    static final String
    Generated constant - Attribute key of B2BCreditLimit.currency attribute defined at extension b2bcommerce.
    static final String
    Generated constant - Attribute key of B2BCreditLimit.datePeriod attribute defined at extension b2bcommerce.
    static final String
    Generated constant - Attribute key of B2BCreditLimit.dateRange attribute defined at extension b2bcommerce.
    static final String
    Generated constant - Attribute key of B2BCreditLimit.Unit attribute defined at extension b2bcommerce.

    Fields inherited from class de.hybris.platform.b2b.model.B2BMerchantCheckModel

    ACTIVE, CODE

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    B2BCreditLimitModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    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
    B2BCreditLimitModel(String _code, CurrencyModel _currency, ItemModel _owner)
    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
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the B2BCreditLimit.alertRateType attribute defined at extension b2bcommerce.
    Generated method - Getter of the B2BCreditLimit.alertSentDate attribute defined at extension b2bcommerce.
    Generated method - Getter of the B2BCreditLimit.alertThreshold attribute defined at extension b2bcommerce.
    Generated method - Getter of the B2BCreditLimit.amount attribute defined at extension b2bcommerce.
    Generated method - Getter of the B2BCreditLimit.currency attribute defined at extension b2bcommerce.
    de.hybris.platform.util.StandardDateRange
    Generated method - Getter of the B2BCreditLimit.datePeriod attribute defined at extension b2bcommerce.
    Generated method - Getter of the B2BCreditLimit.dateRange attribute defined at extension b2bcommerce.
    Generated method - Getter of the B2BCreditLimit.Unit attribute defined at extension b2bcommerce.
    void
    Generated method - Setter of B2BCreditLimit.alertRateType attribute defined at extension b2bcommerce.
    void
    Generated method - Setter of B2BCreditLimit.alertSentDate attribute defined at extension b2bcommerce.
    void
    Generated method - Setter of B2BCreditLimit.alertThreshold attribute defined at extension b2bcommerce.
    void
    Generated method - Setter of B2BCreditLimit.amount attribute defined at extension b2bcommerce.
    void
    Generated method - Setter of B2BCreditLimit.currency attribute defined at extension b2bcommerce.
    void
    setDatePeriod(de.hybris.platform.util.StandardDateRange value)
    Generated method - Setter of B2BCreditLimit.datePeriod attribute defined at extension b2bcommerce.
    void
    Generated method - Setter of B2BCreditLimit.dateRange attribute defined at extension b2bcommerce.
    void
    Generated method - Setter of B2BCreditLimit.Unit attribute defined at extension b2bcommerce.

    Methods inherited from class de.hybris.platform.b2b.model.B2BMerchantCheckModel

    getActive, getCode, setActive, setCode

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

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

      public static final String _B2BUNIT2B2BCREDITLIMIT
      Generated relation code constant for relation B2BUnit2B2BCreditLimit defining source attribute Unit in extension b2bcommerce.
      See Also:
    • CURRENCY

      public static final String CURRENCY
      Generated constant - Attribute key of B2BCreditLimit.currency attribute defined at extension b2bcommerce.
      See Also:
    • AMOUNT

      public static final String AMOUNT
      Generated constant - Attribute key of B2BCreditLimit.amount attribute defined at extension b2bcommerce.
      See Also:
    • DATEPERIOD

      public static final String DATEPERIOD
      Generated constant - Attribute key of B2BCreditLimit.datePeriod attribute defined at extension b2bcommerce.
      See Also:
    • DATERANGE

      public static final String DATERANGE
      Generated constant - Attribute key of B2BCreditLimit.dateRange attribute defined at extension b2bcommerce.
      See Also:
    • ALERTTHRESHOLD

      public static final String ALERTTHRESHOLD
      Generated constant - Attribute key of B2BCreditLimit.alertThreshold attribute defined at extension b2bcommerce.
      See Also:
    • ALERTRATETYPE

      public static final String ALERTRATETYPE
      Generated constant - Attribute key of B2BCreditLimit.alertRateType attribute defined at extension b2bcommerce.
      See Also:
    • ALERTSENTDATE

      public static final String ALERTSENTDATE
      Generated constant - Attribute key of B2BCreditLimit.alertSentDate attribute defined at extension b2bcommerce.
      See Also:
    • UNIT

      public static final String UNIT
      Generated constant - Attribute key of B2BCreditLimit.Unit attribute defined at extension b2bcommerce.
      See Also:
  • Constructor Details

    • B2BCreditLimitModel

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

      public B2BCreditLimitModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • B2BCreditLimitModel

      @Deprecated(since="4.1.1", forRemoval=true) public B2BCreditLimitModel(String _code, CurrencyModel _currency)
      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:
      _code - initial attribute declared by type B2BMerchantCheck at extension b2bcommerce
      _currency - initial attribute declared by type B2BCreditLimit at extension b2bcommerce
    • B2BCreditLimitModel

      @Deprecated(since="4.1.1", forRemoval=true) public B2BCreditLimitModel(String _code, CurrencyModel _currency, ItemModel _owner)
      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:
      _code - initial attribute declared by type B2BMerchantCheck at extension b2bcommerce
      _currency - initial attribute declared by type B2BCreditLimit at extension b2bcommerce
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getAlertRateType

      @Accessor(qualifier="alertRateType", type=GETTER) public B2BRateType getAlertRateType()
      Generated method - Getter of the B2BCreditLimit.alertRateType attribute defined at extension b2bcommerce.
      Returns:
      the alertRateType
    • getAlertSentDate

      @Accessor(qualifier="alertSentDate", type=GETTER) public Date getAlertSentDate()
      Generated method - Getter of the B2BCreditLimit.alertSentDate attribute defined at extension b2bcommerce.
      Returns:
      the alertSentDate
    • getAlertThreshold

      @Accessor(qualifier="alertThreshold", type=GETTER) public BigDecimal getAlertThreshold()
      Generated method - Getter of the B2BCreditLimit.alertThreshold attribute defined at extension b2bcommerce.
      Returns:
      the alertThreshold
    • getAmount

      @Accessor(qualifier="amount", type=GETTER) public BigDecimal getAmount()
      Generated method - Getter of the B2BCreditLimit.amount attribute defined at extension b2bcommerce.
      Returns:
      the amount
    • getCurrency

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

      @Accessor(qualifier="datePeriod", type=GETTER) public de.hybris.platform.util.StandardDateRange getDatePeriod()
      Generated method - Getter of the B2BCreditLimit.datePeriod attribute defined at extension b2bcommerce.
      Returns:
      the datePeriod - date range the credit limit is active
    • getDateRange

      @Accessor(qualifier="dateRange", type=GETTER) public B2BPeriodRange getDateRange()
      Generated method - Getter of the B2BCreditLimit.dateRange attribute defined at extension b2bcommerce.
      Returns:
      the dateRange
    • getUnit

      @Accessor(qualifier="Unit", type=GETTER) public Collection<B2BUnitModel> getUnit()
      Generated method - Getter of the B2BCreditLimit.Unit attribute defined at extension b2bcommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the Unit
    • setAlertRateType

      @Accessor(qualifier="alertRateType", type=SETTER) public void setAlertRateType(B2BRateType value)
      Generated method - Setter of B2BCreditLimit.alertRateType attribute defined at extension b2bcommerce.
      Parameters:
      value - the alertRateType
    • setAlertSentDate

      @Accessor(qualifier="alertSentDate", type=SETTER) public void setAlertSentDate(Date value)
      Generated method - Setter of B2BCreditLimit.alertSentDate attribute defined at extension b2bcommerce.
      Parameters:
      value - the alertSentDate
    • setAlertThreshold

      @Accessor(qualifier="alertThreshold", type=SETTER) public void setAlertThreshold(BigDecimal value)
      Generated method - Setter of B2BCreditLimit.alertThreshold attribute defined at extension b2bcommerce.
      Parameters:
      value - the alertThreshold
    • setAmount

      @Accessor(qualifier="amount", type=SETTER) public void setAmount(BigDecimal value)
      Generated method - Setter of B2BCreditLimit.amount attribute defined at extension b2bcommerce.
      Parameters:
      value - the amount
    • setCurrency

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

      @Accessor(qualifier="datePeriod", type=SETTER) public void setDatePeriod(de.hybris.platform.util.StandardDateRange value)
      Generated method - Setter of B2BCreditLimit.datePeriod attribute defined at extension b2bcommerce.
      Parameters:
      value - the datePeriod - date range the credit limit is active
    • setDateRange

      @Accessor(qualifier="dateRange", type=SETTER) public void setDateRange(B2BPeriodRange value)
      Generated method - Setter of B2BCreditLimit.dateRange attribute defined at extension b2bcommerce.
      Parameters:
      value - the dateRange
    • setUnit

      @Accessor(qualifier="Unit", type=SETTER) public void setUnit(Collection<B2BUnitModel> value)
      Generated method - Setter of B2BCreditLimit.Unit attribute defined at extension b2bcommerce.
      Parameters:
      value - the Unit