Class B2BCreditLimitModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class B2BCreditLimitModel
    extends B2BMerchantCheckModel
    Generated model class for type B2BCreditLimit 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
      • _B2BUNIT2B2BCREDITLIMIT

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

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

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

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

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

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

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

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

        public static final java.lang.String UNIT
        Generated constant - Attribute key of B2BCreditLimit.Unit attribute defined at extension b2bcommerce.
        See Also:
        Constant Field Values
    • Constructor Detail

      • B2BCreditLimitModel

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

        public B2BCreditLimitModel​(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​(java.lang.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​(java.lang.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 Detail

      • 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 java.util.Date getAlertSentDate()
        Generated method - Getter of the B2BCreditLimit.alertSentDate attribute defined at extension b2bcommerce.
        Returns:
        the alertSentDate
      • getAlertThreshold

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

        @Accessor(qualifier="amount",
                  type=GETTER)
        public java.math.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 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 java.util.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​(java.util.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​(java.math.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​(java.math.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​(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​(java.util.Collection<B2BUnitModel> value)
        Generated method - Setter of B2BCreditLimit.Unit attribute defined at extension b2bcommerce.
        Parameters:
        value - the Unit