Class TmaSubscribedProductModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class TmaSubscribedProductModel
    extends SubscriptionModel
    Generated model class for type TmaSubscribedProduct first defined at extension b2ctelcoservices.

    Subscription Service referring a Subscription Product.

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String _TMASUBSCRIPTIONBASE2TMASUBSCRIBEDPRODUCTRELATION
        Generated relation code constant for relation TmaSubscriptionBase2TmaSubscribedProductRelation defining source attribute subscriptionBase in extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • _TMABILLAGREEMENTITEM2SUBSPRODUCTS

        public static final java.lang.String _TMABILLAGREEMENTITEM2SUBSPRODUCTS
        Generated relation code constant for relation TmaBillAgreementItem2SubsProducts defining source attribute agreementItem in extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • SERVICETYPE

        public static final java.lang.String SERVICETYPE
        Generated constant - Attribute key of TmaSubscribedProduct.serviceType attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • BILLINGSUBSCRIPTIONID

        public static final java.lang.String BILLINGSUBSCRIPTIONID
        Generated constant - Attribute key of TmaSubscribedProduct.billingSubscriptionId attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • BUNDLEDPRODUCTCODE

        public static final java.lang.String BUNDLEDPRODUCTCODE
        Generated constant - Attribute key of TmaSubscribedProduct.bundledProductCode attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • PAYMENTMETHODID

        public static final java.lang.String PAYMENTMETHODID
        Generated constant - Attribute key of TmaSubscribedProduct.paymentMethodId attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • PRODUCTSPECIFICATION

        public static final java.lang.String PRODUCTSPECIFICATION
        Generated constant - Attribute key of TmaSubscribedProduct.productSpecification attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • SUBSCRIPTIONBASE

        public static final java.lang.String SUBSCRIPTIONBASE
        Generated constant - Attribute key of TmaSubscribedProduct.subscriptionBase attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • AGREEMENTITEM

        public static final java.lang.String AGREEMENTITEM
        Generated constant - Attribute key of TmaSubscribedProduct.agreementItem attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • AVERAGESERVICEUSAGES

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

      • TmaSubscribedProductModel

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

        public TmaSubscribedProductModel​(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
      • TmaSubscribedProductModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public TmaSubscribedProductModel​(java.lang.String _id)
        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:
        _id - initial attribute declared by type Subscription at extension subscriptionservices
      • TmaSubscribedProductModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public TmaSubscribedProductModel​(java.lang.String _id,
                                         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:
        _id - initial attribute declared by type Subscription at extension subscriptionservices
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getAgreementItem

        @Accessor(qualifier="agreementItem",
                  type=GETTER)
        public TmaBillingAgreementItemModel getAgreementItem()
        Generated method - Getter of the TmaSubscribedProduct.agreementItem attribute defined at extension b2ctelcoservices.
        Returns:
        the agreementItem
      • getAverageServiceUsages

        @Accessor(qualifier="averageServiceUsages",
                  type=GETTER)
        public java.util.Set<TmaAverageServiceUsageModel> getAverageServiceUsages()
        Generated method - Getter of the TmaSubscribedProduct.averageServiceUsages attribute defined at extension b2ctelcoservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the averageServiceUsages - Average Service Usages for the Subscribed Product.
      • getBillingSubscriptionId

        @Accessor(qualifier="billingSubscriptionId",
                  type=GETTER)
        public java.lang.String getBillingSubscriptionId()
        Generated method - Getter of the TmaSubscribedProduct.billingSubscriptionId attribute defined at extension b2ctelcoservices.
        Returns:
        the billingSubscriptionId - Id of the Subscription as it can be found in the Billing System.
      • getBundledProductCode

        @Accessor(qualifier="bundledProductCode",
                  type=GETTER)
        public java.lang.String getBundledProductCode()
        Generated method - Getter of the TmaSubscribedProduct.bundledProductCode attribute defined at extension b2ctelcoservices.
        Returns:
        the bundledProductCode - identifier of the bundled-product-offering that was used.
      • getPaymentMethodId

        @Accessor(qualifier="paymentMethodId",
                  type=GETTER)
        public java.lang.String getPaymentMethodId()
        Generated method - Getter of the TmaSubscribedProduct.paymentMethodId attribute defined at extension b2ctelcoservices.
        Returns:
        the paymentMethodId - identifier of the payment method used.
      • getProductSpecification

        @Accessor(qualifier="productSpecification",
                  type=GETTER)
        public TmaProductSpecificationModel getProductSpecification()
        Generated method - Getter of the TmaSubscribedProduct.productSpecification attribute defined at extension b2ctelcoservices.
        Returns:
        the productSpecification - The product specification.
      • getServiceType

        @Accessor(qualifier="serviceType",
                  type=GETTER)
        public TmaServiceType getServiceType()
        Generated method - Getter of the TmaSubscribedProduct.serviceType attribute defined at extension b2ctelcoservices.
        Returns:
        the serviceType - Type of the Service (eg. TARIFF_PLAN, ADD_ON).
      • getSubscriptionBase

        @Accessor(qualifier="subscriptionBase",
                  type=GETTER)
        public TmaSubscriptionBaseModel getSubscriptionBase()
        Generated method - Getter of the TmaSubscribedProduct.subscriptionBase attribute defined at extension b2ctelcoservices.
        Returns:
        the subscriptionBase - Subscription Base
      • setAgreementItem

        @Accessor(qualifier="agreementItem",
                  type=SETTER)
        public void setAgreementItem​(TmaBillingAgreementItemModel value)
        Generated method - Setter of TmaSubscribedProduct.agreementItem attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the agreementItem
      • setAverageServiceUsages

        @Accessor(qualifier="averageServiceUsages",
                  type=SETTER)
        public void setAverageServiceUsages​(java.util.Set<TmaAverageServiceUsageModel> value)
        Generated method - Setter of TmaSubscribedProduct.averageServiceUsages attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the averageServiceUsages - Average Service Usages for the Subscribed Product.
      • setBillingSubscriptionId

        @Accessor(qualifier="billingSubscriptionId",
                  type=SETTER)
        public void setBillingSubscriptionId​(java.lang.String value)
        Generated method - Setter of TmaSubscribedProduct.billingSubscriptionId attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the billingSubscriptionId - Id of the Subscription as it can be found in the Billing System.
      • setBundledProductCode

        @Accessor(qualifier="bundledProductCode",
                  type=SETTER)
        public void setBundledProductCode​(java.lang.String value)
        Generated method - Setter of TmaSubscribedProduct.bundledProductCode attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the bundledProductCode - identifier of the bundled-product-offering that was used.
      • setPaymentMethodId

        @Accessor(qualifier="paymentMethodId",
                  type=SETTER)
        public void setPaymentMethodId​(java.lang.String value)
        Generated method - Setter of TmaSubscribedProduct.paymentMethodId attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the paymentMethodId - identifier of the payment method used.
      • setProductSpecification

        @Accessor(qualifier="productSpecification",
                  type=SETTER)
        public void setProductSpecification​(TmaProductSpecificationModel value)
        Generated method - Setter of TmaSubscribedProduct.productSpecification attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the productSpecification - The product specification.
      • setServiceType

        @Accessor(qualifier="serviceType",
                  type=SETTER)
        public void setServiceType​(TmaServiceType value)
        Generated method - Setter of TmaSubscribedProduct.serviceType attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the serviceType - Type of the Service (eg. TARIFF_PLAN, ADD_ON).
      • setSubscriptionBase

        @Accessor(qualifier="subscriptionBase",
                  type=SETTER)
        public void setSubscriptionBase​(TmaSubscriptionBaseModel value)
        Generated method - Setter of TmaSubscribedProduct.subscriptionBase attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the subscriptionBase - Subscription Base