Class TmaUsageProdOfferPriceChargeModel

All Implemented Interfaces:
Serializable

public class TmaUsageProdOfferPriceChargeModel extends TmaAbstractProdOfferPriceChargeModel
Generated model class for type TmaUsageProdOfferPriceCharge first defined at extension tuadatacommonsservices.

Product Offering Price for Usage Charge.

See Also:
  • Field Details

    • _TYPECODE

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

      public static final String TIERSTART
      Generated constant - Attribute key of TmaUsageProdOfferPriceCharge.tierStart attribute defined at extension tuadatacommonsservices.
      See Also:
    • TIEREND

      public static final String TIEREND
      Generated constant - Attribute key of TmaUsageProdOfferPriceCharge.tierEnd attribute defined at extension tuadatacommonsservices.
      See Also:
    • USAGEUNIT

      public static final String USAGEUNIT
      Generated constant - Attribute key of TmaUsageProdOfferPriceCharge.usageUnit attribute defined at extension tuadatacommonsservices.
      See Also:
    • PRODUCTUSAGESPEC

      public static final String PRODUCTUSAGESPEC
      Generated constant - Attribute key of TmaUsageProdOfferPriceCharge.productUsageSpec attribute defined at extension tuadatacommonsservices.
      See Also:
  • Constructor Details

    • TmaUsageProdOfferPriceChargeModel

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

      public TmaUsageProdOfferPriceChargeModel(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
    • TmaUsageProdOfferPriceChargeModel

      @Deprecated(since="4.1.1", forRemoval=true) public TmaUsageProdOfferPriceChargeModel(CatalogVersionModel _catalogVersion, CurrencyModel _currency, String _id, Integer _tierStart, UsageUnitModel _usageUnit)
      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:
      _catalogVersion - initial attribute declared by type TmaProductOfferingPrice at extension tuadatacommonsservices
      _currency - initial attribute declared by type TmaComponentProdOfferPrice at extension tuadatacommonsservices
      _id - initial attribute declared by type TmaProductOfferingPrice at extension tuadatacommonsservices
      _tierStart - initial attribute declared by type TmaUsageProdOfferPriceCharge at extension tuadatacommonsservices
      _usageUnit - initial attribute declared by type TmaUsageProdOfferPriceCharge at extension tuadatacommonsservices
    • TmaUsageProdOfferPriceChargeModel

      @Deprecated(since="4.1.1", forRemoval=true) public TmaUsageProdOfferPriceChargeModel(CatalogVersionModel _catalogVersion, CurrencyModel _currency, String _id, ItemModel _owner, Integer _tierStart, UsageUnitModel _usageUnit)
      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 TmaProductOfferingPrice at extension tuadatacommonsservices
      _currency - initial attribute declared by type TmaComponentProdOfferPrice at extension tuadatacommonsservices
      _id - initial attribute declared by type TmaProductOfferingPrice at extension tuadatacommonsservices
      _owner - initial attribute declared by type Item at extension core
      _tierStart - initial attribute declared by type TmaUsageProdOfferPriceCharge at extension tuadatacommonsservices
      _usageUnit - initial attribute declared by type TmaUsageProdOfferPriceCharge at extension tuadatacommonsservices
  • Method Details

    • getPriceEvent

      @Accessor(qualifier="priceEvent", type=GETTER) public BillingFrequencyModel getPriceEvent()
      Generated method - Getter of the TmaProductOfferingPrice.priceEvent attribute defined at extension tuadatacommonsservices and redeclared at extension tuadatacommonsservices.
      Overrides:
      getPriceEvent in class TmaProductOfferingPriceModel
      Returns:
      the priceEvent - The price event of the charge. Redeclared as for usage charges it can only be a recurring event.
    • getProductUsageSpec

      @Accessor(qualifier="productUsageSpec", type=GETTER) public TmaProductUsageSpecificationModel getProductUsageSpec()
      Generated method - Getter of the TmaUsageProdOfferPriceCharge.productUsageSpec attribute defined at extension tuadatacommonsservices.
      Returns:
      the productUsageSpec - The Usage Product Offering Price Charge linked to this type of Usage.
    • getTierEnd

      @Accessor(qualifier="tierEnd", type=GETTER) public Integer getTierEnd()
      Generated method - Getter of the TmaUsageProdOfferPriceCharge.tierEnd attribute defined at extension tuadatacommonsservices.
      Returns:
      the tierEnd - Tier End
    • getTierStart

      @Accessor(qualifier="tierStart", type=GETTER) public Integer getTierStart()
      Generated method - Getter of the TmaUsageProdOfferPriceCharge.tierStart attribute defined at extension tuadatacommonsservices.
      Returns:
      the tierStart - Tier Start
    • getUsageUnit

      @Accessor(qualifier="usageUnit", type=GETTER) public UsageUnitModel getUsageUnit()
      Generated method - Getter of the TmaUsageProdOfferPriceCharge.usageUnit attribute defined at extension tuadatacommonsservices.
      Returns:
      the usageUnit - The usage unit of the usage charge
    • setPriceEvent

      @Accessor(qualifier="priceEvent", type=SETTER) public void setPriceEvent(BillingTimeModel value)
      Generated method - Setter of TmaProductOfferingPrice.priceEvent attribute defined at extension tuadatacommonsservices and redeclared at extension tuadatacommonsservices. Will only accept values of type BillingFrequencyModel.
      Overrides:
      setPriceEvent in class TmaProductOfferingPriceModel
      Parameters:
      value - the priceEvent - The price event of the charge. Redeclared as for usage charges it can only be a recurring event.
    • setProductUsageSpec

      @Accessor(qualifier="productUsageSpec", type=SETTER) public void setProductUsageSpec(TmaProductUsageSpecificationModel value)
      Generated method - Setter of TmaUsageProdOfferPriceCharge.productUsageSpec attribute defined at extension tuadatacommonsservices.
      Parameters:
      value - the productUsageSpec - The Usage Product Offering Price Charge linked to this type of Usage.
    • setTierEnd

      @Accessor(qualifier="tierEnd", type=SETTER) public void setTierEnd(Integer value)
      Generated method - Setter of TmaUsageProdOfferPriceCharge.tierEnd attribute defined at extension tuadatacommonsservices.
      Parameters:
      value - the tierEnd - Tier End
    • setTierStart

      @Accessor(qualifier="tierStart", type=SETTER) public void setTierStart(Integer value)
      Generated method - Setter of TmaUsageProdOfferPriceCharge.tierStart attribute defined at extension tuadatacommonsservices.
      Parameters:
      value - the tierStart - Tier Start
    • setUsageUnit

      @Accessor(qualifier="usageUnit", type=SETTER) public void setUsageUnit(UsageUnitModel value)
      Generated method - Setter of TmaUsageProdOfferPriceCharge.usageUnit attribute defined at extension tuadatacommonsservices.
      Parameters:
      value - the usageUnit - The usage unit of the usage charge