Class TmaUsageProdOfferPriceChargeModel

  • All Implemented Interfaces:
    java.io.Serializable

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

    Product Offering Price for Usage Charge.

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • TIERSTART

        public static final java.lang.String TIERSTART
        Generated constant - Attribute key of TmaUsageProdOfferPriceCharge.tierStart attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • TIEREND

        public static final java.lang.String TIEREND
        Generated constant - Attribute key of TmaUsageProdOfferPriceCharge.tierEnd attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • USAGEUNIT

        public static final java.lang.String USAGEUNIT
        Generated constant - Attribute key of TmaUsageProdOfferPriceCharge.usageUnit attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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,
                                                 java.lang.String _id,
                                                 java.lang.Integer _tierStart,
                                                 UsageUnitModel _usageUnit,
                                                 java.lang.Double _value)
        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 b2ctelcoservices
        _currency - initial attribute declared by type TmaComponentProdOfferPrice at extension b2ctelcoservices
        _id - initial attribute declared by type TmaProductOfferingPrice at extension b2ctelcoservices
        _tierStart - initial attribute declared by type TmaUsageProdOfferPriceCharge at extension b2ctelcoservices
        _usageUnit - initial attribute declared by type TmaUsageProdOfferPriceCharge at extension b2ctelcoservices
        _value - initial attribute declared by type TmaComponentProdOfferPrice at extension b2ctelcoservices
      • TmaUsageProdOfferPriceChargeModel

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

      • getPriceEvent

        @Accessor(qualifier="priceEvent",
                  type=GETTER)
        public BillingFrequencyModel getPriceEvent()
        Generated method - Getter of the TmaProductOfferingPrice.priceEvent attribute defined at extension b2ctelcoservices and redeclared at extension b2ctelcoservices.
        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.
      • getTierEnd

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

        @Accessor(qualifier="tierStart",
                  type=GETTER)
        public java.lang.Integer getTierStart()
        Generated method - Getter of the TmaUsageProdOfferPriceCharge.tierStart attribute defined at extension b2ctelcoservices.
        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 b2ctelcoservices.
        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 b2ctelcoservices and redeclared at extension b2ctelcoservices. 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.
      • setTierEnd

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

        @Accessor(qualifier="tierStart",
                  type=SETTER)
        public void setTierStart​(java.lang.Integer value)
        Generated method - Setter of TmaUsageProdOfferPriceCharge.tierStart attribute defined at extension b2ctelcoservices.
        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 b2ctelcoservices.
        Parameters:
        value - the usageUnit - The usage unit of the usage charge