Class TmaSubscribedProductModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.subscriptionservices.model.SubscriptionModel
de.hybris.platform.b2ctelcoservices.model.TmaSubscribedProductModel
All Implemented Interfaces:
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:
  • Field Details

    • _TYPECODE

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

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

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

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

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

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

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

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

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

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

      public static final String AVERAGESERVICEUSAGES
      Generated constant - Attribute key of TmaSubscribedProduct.averageServiceUsages attribute defined at extension b2ctelcoservices.
      See Also:
  • Constructor Details

    • 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(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(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 Details

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