Class ChargeEntryModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
OneTimeChargeEntryModel, RecurringChargeEntryModel, UsageChargeEntryModel

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

    • _TYPECODE

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

      public static final String ID
      Generated constant - Attribute key of ChargeEntry.id attribute defined at extension subscriptionservices.
      See Also:
    • CATALOGVERSION

      public static final String CATALOGVERSION
      Generated constant - Attribute key of ChargeEntry.catalogVersion attribute defined at extension subscriptionservices.
      See Also:
    • PRICE

      public static final String PRICE
      Generated constant - Attribute key of ChargeEntry.price attribute defined at extension subscriptionservices.
      See Also:
    • CURRENCY

      public static final String CURRENCY
      Generated constant - Attribute key of ChargeEntry.currency attribute defined at extension subscriptionservices.
      See Also:
    • BILLINGTIME

      public static final String BILLINGTIME
      Generated constant - Attribute key of ChargeEntry.billingTime attribute defined at extension subscriptionservices.
      See Also:
  • Constructor Details

    • ChargeEntryModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public ChargeEntryModel(Double _price)
      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:
      _price - initial attribute declared by type ChargeEntry at extension subscriptionservices
    • ChargeEntryModel

      @Deprecated(since="4.1.1", forRemoval=true) public ChargeEntryModel(CatalogVersionModel _catalogVersion, String _id, ItemModel _owner, Double _price)
      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:
      _catalogVersion - initial attribute declared by type ChargeEntry at extension subscriptionservices
      _id - initial attribute declared by type ChargeEntry at extension subscriptionservices
      _owner - initial attribute declared by type Item at extension core
      _price - initial attribute declared by type ChargeEntry at extension subscriptionservices
  • Method Details

    • getBillingTime

      @Accessor(qualifier="billingTime", type=GETTER) public BillingTimeModel getBillingTime()
      Generated method - Getter of the ChargeEntry.billingTime dynamic attribute defined at extension subscriptionservices.
      Returns:
      the billingTime - Billing Time
    • getCatalogVersion

      @Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
      Generated method - Getter of the ChargeEntry.catalogVersion attribute defined at extension subscriptionservices.
      Returns:
      the catalogVersion - Catalog Version
    • getCurrency

      @Accessor(qualifier="currency", type=GETTER) public CurrencyModel getCurrency()
      Generated method - Getter of the ChargeEntry.currency dynamic attribute defined at extension subscriptionservices.
      Returns:
      the currency - Currency from parent
    • getId

      @Accessor(qualifier="id", type=GETTER) public String getId()
      Generated method - Getter of the ChargeEntry.id attribute defined at extension subscriptionservices.
      Returns:
      the id - Identifier
    • getPrice

      @Accessor(qualifier="price", type=GETTER) public Double getPrice()
      Generated method - Getter of the ChargeEntry.price attribute defined at extension subscriptionservices.
      Returns:
      the price - Price
    • setCatalogVersion

      @Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
      Generated method - Initial setter of ChargeEntry.catalogVersion attribute defined at extension subscriptionservices. Can only be used at creation of model - before first save.
      Parameters:
      value - the catalogVersion - Catalog Version
    • setId

      @Accessor(qualifier="id", type=SETTER) public void setId(String value)
      Generated method - Initial setter of ChargeEntry.id attribute defined at extension subscriptionservices. Can only be used at creation of model - before first save.
      Parameters:
      value - the id - Identifier
    • setPrice

      @Accessor(qualifier="price", type=SETTER) public void setPrice(Double value)
      Generated method - Setter of ChargeEntry.price attribute defined at extension subscriptionservices.
      Parameters:
      value - the price - Price