Class CurrencyModel

All Implemented Interfaces:
Serializable

public class CurrencyModel extends C2LItemModel
Generated model class for type Currency first defined at extension core.
See Also:
  • Field Details

    • _TYPECODE

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

      public static final String _SOLRFACETSEARCHCONFIG2CURRENCYRELATION
      Generated relation code constant for relation SolrFacetSearchConfig2CurrencyRelation defining source attribute facetSearchConfigs in extension solrfacetsearch.
      See Also:
    • _BASESTORE2CURRENCYREL

      public static final String _BASESTORE2CURRENCYREL
      Generated relation code constant for relation BaseStore2CurrencyRel defining source attribute baseStores in extension commerceservices.
      See Also:
    • BASE

      public static final String BASE
      Generated constant - Attribute key of Currency.base attribute defined at extension core.
      See Also:
    • CONVERSION

      public static final String CONVERSION
      Generated constant - Attribute key of Currency.conversion attribute defined at extension core.
      See Also:
    • DIGITS

      public static final String DIGITS
      Generated constant - Attribute key of Currency.digits attribute defined at extension core.
      See Also:
    • SYMBOL

      public static final String SYMBOL
      Generated constant - Attribute key of Currency.symbol attribute defined at extension core.
      See Also:
    • FACETSEARCHCONFIGS

      public static final String FACETSEARCHCONFIGS
      Generated constant - Attribute key of Currency.facetSearchConfigs attribute defined at extension solrfacetsearch.
      See Also:
    • BASESTORES

      public static final String BASESTORES
      Generated constant - Attribute key of Currency.baseStores attribute defined at extension commerceservices.
      See Also:
  • Constructor Details

    • CurrencyModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public CurrencyModel(String _isocode, String _symbol)
      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:
      _isocode - initial attribute declared by type Currency at extension core
      _symbol - initial attribute declared by type Currency at extension core
    • CurrencyModel

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

    • getBase

      @Accessor(qualifier="base", type=GETTER) public Boolean getBase()
      Generated method - Getter of the Currency.base attribute defined at extension core.
      Returns:
      the base
    • getBaseStores

      @Accessor(qualifier="baseStores", type=GETTER) public Collection<BaseStoreModel> getBaseStores()
      Generated method - Getter of the Currency.baseStores attribute defined at extension commerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the baseStores
    • getConversion

      @Accessor(qualifier="conversion", type=GETTER) public Double getConversion()
      Generated method - Getter of the Currency.conversion attribute defined at extension core.
      Returns:
      the conversion
    • getDigits

      @Accessor(qualifier="digits", type=GETTER) public Integer getDigits()
      Generated method - Getter of the Currency.digits attribute defined at extension core.
      Returns:
      the digits
    • getFacetSearchConfigs

      @Accessor(qualifier="facetSearchConfigs", type=GETTER) public List<SolrFacetSearchConfigModel> getFacetSearchConfigs()
      Generated method - Getter of the Currency.facetSearchConfigs attribute defined at extension solrfacetsearch. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the facetSearchConfigs
    • getSymbol

      @Accessor(qualifier="symbol", type=GETTER) public String getSymbol()
      Generated method - Getter of the Currency.symbol attribute defined at extension core.
      Returns:
      the symbol
    • setBase

      @Accessor(qualifier="base", type=SETTER) public void setBase(Boolean value)
      Generated method - Setter of Currency.base attribute defined at extension core.
      Parameters:
      value - the base
    • setBaseStores

      @Accessor(qualifier="baseStores", type=SETTER) public void setBaseStores(Collection<BaseStoreModel> value)
      Generated method - Setter of Currency.baseStores attribute defined at extension commerceservices.
      Parameters:
      value - the baseStores
    • setConversion

      @Accessor(qualifier="conversion", type=SETTER) public void setConversion(Double value)
      Generated method - Setter of Currency.conversion attribute defined at extension core.
      Parameters:
      value - the conversion
    • setDigits

      @Accessor(qualifier="digits", type=SETTER) public void setDigits(Integer value)
      Generated method - Setter of Currency.digits attribute defined at extension core.
      Parameters:
      value - the digits
    • setFacetSearchConfigs

      @Accessor(qualifier="facetSearchConfigs", type=SETTER) public void setFacetSearchConfigs(List<SolrFacetSearchConfigModel> value)
      Generated method - Setter of Currency.facetSearchConfigs attribute defined at extension solrfacetsearch.
      Parameters:
      value - the facetSearchConfigs
    • setSymbol

      @Accessor(qualifier="symbol", type=SETTER) public void setSymbol(String value)
      Generated method - Setter of Currency.symbol attribute defined at extension core.
      Parameters:
      value - the symbol