Class BillingTimeModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BillingEventModel, BillingFrequencyModel

public class BillingTimeModel extends ItemModel
Generated model class for type BillingTime first defined at extension subscriptionservices.
See Also:
  • Field Details

    • _TYPECODE

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

      public static final String CODE
      Generated constant - Attribute key of BillingTime.code attribute defined at extension subscriptionservices.
      See Also:
    • NAMEINCART

      public static final String NAMEINCART
      Generated constant - Attribute key of BillingTime.nameInCart attribute defined at extension subscriptionservices.
      See Also:
    • NAMEINORDER

      public static final String NAMEINORDER
      Generated constant - Attribute key of BillingTime.nameInOrder attribute defined at extension subscriptionservices.
      See Also:
    • DESCRIPTION

      public static final String DESCRIPTION
      Generated constant - Attribute key of BillingTime.description attribute defined at extension subscriptionservices.
      See Also:
    • ORDER

      public static final String ORDER
      Generated constant - Attribute key of BillingTime.order attribute defined at extension subscriptionservices.
      See Also:
    • CARTAWARE

      public static final String CARTAWARE
      Generated constant - Attribute key of BillingTime.cartAware attribute defined at extension subscriptionservices.
      See Also:
  • Constructor Details

    • BillingTimeModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public BillingTimeModel(String _code)
      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 BillingTime at extension subscriptionservices
    • BillingTimeModel

      @Deprecated(since="4.1.1", forRemoval=true) public BillingTimeModel(String _code, 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 BillingTime at extension subscriptionservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getCartAware

      @Accessor(qualifier="cartAware", type=GETTER) public Boolean getCartAware()
      Generated method - Getter of the BillingTime.cartAware attribute defined at extension subscriptionservices.
      Returns:
      the cartAware - Cart Aware
    • getCode

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the BillingTime.code attribute defined at extension subscriptionservices.
      Returns:
      the code - Code
    • getDescription

      @Accessor(qualifier="description", type=GETTER) public String getDescription()
      Generated method - Getter of the BillingTime.description attribute defined at extension subscriptionservices.
      Returns:
      the description - Description
    • getDescription

      @Accessor(qualifier="description", type=GETTER) public String getDescription(Locale loc)
      Generated method - Getter of the BillingTime.description attribute defined at extension subscriptionservices.
      Parameters:
      loc - the value localization key
      Returns:
      the description - Description
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getNameInCart

      @Accessor(qualifier="nameInCart", type=GETTER) public String getNameInCart()
      Generated method - Getter of the BillingTime.nameInCart attribute defined at extension subscriptionservices.
      Returns:
      the nameInCart - Name of frequency in cart
    • getNameInCart

      @Accessor(qualifier="nameInCart", type=GETTER) public String getNameInCart(Locale loc)
      Generated method - Getter of the BillingTime.nameInCart attribute defined at extension subscriptionservices.
      Parameters:
      loc - the value localization key
      Returns:
      the nameInCart - Name of frequency in cart
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getNameInOrder

      @Accessor(qualifier="nameInOrder", type=GETTER) public String getNameInOrder()
      Generated method - Getter of the BillingTime.nameInOrder attribute defined at extension subscriptionservices.
      Returns:
      the nameInOrder - Name of frequency in order
    • getNameInOrder

      @Accessor(qualifier="nameInOrder", type=GETTER) public String getNameInOrder(Locale loc)
      Generated method - Getter of the BillingTime.nameInOrder attribute defined at extension subscriptionservices.
      Parameters:
      loc - the value localization key
      Returns:
      the nameInOrder - Name of frequency in order
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getOrder

      @Accessor(qualifier="order", type=GETTER) public Integer getOrder()
      Generated method - Getter of the BillingTime.order attribute defined at extension subscriptionservices.
      Returns:
      the order - Sequence
    • setCartAware

      @Accessor(qualifier="cartAware", type=SETTER) public void setCartAware(Boolean value)
      Generated method - Setter of BillingTime.cartAware attribute defined at extension subscriptionservices.
      Parameters:
      value - the cartAware - Cart Aware
    • setCode

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Initial setter of BillingTime.code attribute defined at extension subscriptionservices. Can only be used at creation of model - before first save.
      Parameters:
      value - the code - Code
    • setDescription

      @Accessor(qualifier="description", type=SETTER) public void setDescription(String value)
      Generated method - Setter of BillingTime.description attribute defined at extension subscriptionservices.
      Parameters:
      value - the description - Description
    • setDescription

      @Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc)
      Generated method - Setter of BillingTime.description attribute defined at extension subscriptionservices.
      Parameters:
      value - the description - Description
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setNameInCart

      @Accessor(qualifier="nameInCart", type=SETTER) public void setNameInCart(String value)
      Generated method - Setter of BillingTime.nameInCart attribute defined at extension subscriptionservices.
      Parameters:
      value - the nameInCart - Name of frequency in cart
    • setNameInCart

      @Accessor(qualifier="nameInCart", type=SETTER) public void setNameInCart(String value, Locale loc)
      Generated method - Setter of BillingTime.nameInCart attribute defined at extension subscriptionservices.
      Parameters:
      value - the nameInCart - Name of frequency in cart
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setNameInOrder

      @Accessor(qualifier="nameInOrder", type=SETTER) public void setNameInOrder(String value)
      Generated method - Setter of BillingTime.nameInOrder attribute defined at extension subscriptionservices.
      Parameters:
      value - the nameInOrder - Name of frequency in order
    • setNameInOrder

      @Accessor(qualifier="nameInOrder", type=SETTER) public void setNameInOrder(String value, Locale loc)
      Generated method - Setter of BillingTime.nameInOrder attribute defined at extension subscriptionservices.
      Parameters:
      value - the nameInOrder - Name of frequency in order
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setOrder

      @Accessor(qualifier="order", type=SETTER) public void setOrder(Integer value)
      Generated method - Setter of BillingTime.order attribute defined at extension subscriptionservices.
      Parameters:
      value - the order - Sequence