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:
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 Summary
Fields Modifier and Type Field Description static java.lang.String_TMABILLAGREEMENTITEM2SUBSPRODUCTSGenerated relation code constant for relationTmaBillAgreementItem2SubsProductsdefining source attributeagreementItemin extensionb2ctelcoservices.static java.lang.String_TMASUBSCRIPTIONBASE2TMASUBSCRIBEDPRODUCTRELATIONGenerated relation code constant for relationTmaSubscriptionBase2TmaSubscribedProductRelationdefining source attributesubscriptionBasein extensionb2ctelcoservices.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringAGREEMENTITEMGenerated constant - Attribute key ofTmaSubscribedProduct.agreementItemattribute defined at extensionb2ctelcoservices.static java.lang.StringAVERAGESERVICEUSAGESGenerated constant - Attribute key ofTmaSubscribedProduct.averageServiceUsagesattribute defined at extensionb2ctelcoservices.static java.lang.StringBILLINGSUBSCRIPTIONIDGenerated constant - Attribute key ofTmaSubscribedProduct.billingSubscriptionIdattribute defined at extensionb2ctelcoservices.static java.lang.StringBUNDLEDPRODUCTCODEGenerated constant - Attribute key ofTmaSubscribedProduct.bundledProductCodeattribute defined at extensionb2ctelcoservices.static java.lang.StringPAYMENTMETHODIDGenerated constant - Attribute key ofTmaSubscribedProduct.paymentMethodIdattribute defined at extensionb2ctelcoservices.static java.lang.StringPRODUCTSPECIFICATIONGenerated constant - Attribute key ofTmaSubscribedProduct.productSpecificationattribute defined at extensionb2ctelcoservices.static java.lang.StringSERVICETYPEGenerated constant - Attribute key ofTmaSubscribedProduct.serviceTypeattribute defined at extensionb2ctelcoservices.static java.lang.StringSUBSCRIPTIONBASEGenerated constant - Attribute key ofTmaSubscribedProduct.subscriptionBaseattribute defined at extensionb2ctelcoservices.-
Fields inherited from class de.hybris.platform.subscriptionservices.model.SubscriptionModel
BILLINGFREQUENCY, BILLINGSYSTEMID, CANCELLABLE, CANCELLEDDATE, CONTRACTDURATION, CONTRACTFREQUENCY, CUSTOMERID, DESCRIPTION, ENDDATE, ID, NAME, ORDERENTRYNUMBER, ORDERNUMBER, PLACEDON, PRODUCTCODE, RENEWALTYPE, STARTDATE, SUBSCRIPTIONSTATUS
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
-
Constructor Summary
Constructors Constructor Description TmaSubscribedProductModel()Generated constructor - Default constructor for generic creation.TmaSubscribedProductModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextTmaSubscribedProductModel(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 parametersTmaSubscribedProductModel(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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TmaBillingAgreementItemModelgetAgreementItem()Generated method - Getter of theTmaSubscribedProduct.agreementItemattribute defined at extensionb2ctelcoservices.java.util.Set<TmaAverageServiceUsageModel>getAverageServiceUsages()Generated method - Getter of theTmaSubscribedProduct.averageServiceUsagesattribute defined at extensionb2ctelcoservices.java.lang.StringgetBillingSubscriptionId()Generated method - Getter of theTmaSubscribedProduct.billingSubscriptionIdattribute defined at extensionb2ctelcoservices.java.lang.StringgetBundledProductCode()Generated method - Getter of theTmaSubscribedProduct.bundledProductCodeattribute defined at extensionb2ctelcoservices.java.lang.StringgetPaymentMethodId()Generated method - Getter of theTmaSubscribedProduct.paymentMethodIdattribute defined at extensionb2ctelcoservices.TmaProductSpecificationModelgetProductSpecification()Generated method - Getter of theTmaSubscribedProduct.productSpecificationattribute defined at extensionb2ctelcoservices.TmaServiceTypegetServiceType()Generated method - Getter of theTmaSubscribedProduct.serviceTypeattribute defined at extensionb2ctelcoservices.TmaSubscriptionBaseModelgetSubscriptionBase()Generated method - Getter of theTmaSubscribedProduct.subscriptionBaseattribute defined at extensionb2ctelcoservices.voidsetAgreementItem(TmaBillingAgreementItemModel value)Generated method - Setter ofTmaSubscribedProduct.agreementItemattribute defined at extensionb2ctelcoservices.voidsetAverageServiceUsages(java.util.Set<TmaAverageServiceUsageModel> value)Generated method - Setter ofTmaSubscribedProduct.averageServiceUsagesattribute defined at extensionb2ctelcoservices.voidsetBillingSubscriptionId(java.lang.String value)Generated method - Setter ofTmaSubscribedProduct.billingSubscriptionIdattribute defined at extensionb2ctelcoservices.voidsetBundledProductCode(java.lang.String value)Generated method - Setter ofTmaSubscribedProduct.bundledProductCodeattribute defined at extensionb2ctelcoservices.voidsetPaymentMethodId(java.lang.String value)Generated method - Setter ofTmaSubscribedProduct.paymentMethodIdattribute defined at extensionb2ctelcoservices.voidsetProductSpecification(TmaProductSpecificationModel value)Generated method - Setter ofTmaSubscribedProduct.productSpecificationattribute defined at extensionb2ctelcoservices.voidsetServiceType(TmaServiceType value)Generated method - Setter ofTmaSubscribedProduct.serviceTypeattribute defined at extensionb2ctelcoservices.voidsetSubscriptionBase(TmaSubscriptionBaseModel value)Generated method - Setter ofTmaSubscribedProduct.subscriptionBaseattribute defined at extensionb2ctelcoservices.-
Methods inherited from class de.hybris.platform.subscriptionservices.model.SubscriptionModel
getBillingFrequency, getBillingsystemId, getCancellable, getCancelledDate, getContractDuration, getContractFrequency, getCustomerId, getDescription, getEndDate, getId, getName, getOrderEntryNumber, getOrderNumber, getPlacedOn, getProductCode, getRenewalType, getStartDate, getSubscriptionStatus, setBillingFrequency, setBillingsystemId, setCancellable, setCancelledDate, setContractDuration, setContractFrequency, setCustomerId, setDescription, setEndDate, setId, setName, setOrderEntryNumber, setOrderNumber, setPlacedOn, setProductCode, setRenewalType, setStartDate, setSubscriptionStatus
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
-
-
-
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 relationTmaSubscriptionBase2TmaSubscribedProductRelationdefining source attributesubscriptionBasein extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
_TMABILLAGREEMENTITEM2SUBSPRODUCTS
public static final java.lang.String _TMABILLAGREEMENTITEM2SUBSPRODUCTS
Generated relation code constant for relationTmaBillAgreementItem2SubsProductsdefining source attributeagreementItemin extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
SERVICETYPE
public static final java.lang.String SERVICETYPE
Generated constant - Attribute key ofTmaSubscribedProduct.serviceTypeattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
BILLINGSUBSCRIPTIONID
public static final java.lang.String BILLINGSUBSCRIPTIONID
Generated constant - Attribute key ofTmaSubscribedProduct.billingSubscriptionIdattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
BUNDLEDPRODUCTCODE
public static final java.lang.String BUNDLEDPRODUCTCODE
Generated constant - Attribute key ofTmaSubscribedProduct.bundledProductCodeattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
PAYMENTMETHODID
public static final java.lang.String PAYMENTMETHODID
Generated constant - Attribute key ofTmaSubscribedProduct.paymentMethodIdattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
PRODUCTSPECIFICATION
public static final java.lang.String PRODUCTSPECIFICATION
Generated constant - Attribute key ofTmaSubscribedProduct.productSpecificationattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
SUBSCRIPTIONBASE
public static final java.lang.String SUBSCRIPTIONBASE
Generated constant - Attribute key ofTmaSubscribedProduct.subscriptionBaseattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
AGREEMENTITEM
public static final java.lang.String AGREEMENTITEM
Generated constant - Attribute key ofTmaSubscribedProduct.agreementItemattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
AVERAGESERVICEUSAGES
public static final java.lang.String AVERAGESERVICEUSAGES
Generated constant - Attribute key ofTmaSubscribedProduct.averageServiceUsagesattribute defined at extensionb2ctelcoservices.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_id- initial attribute declared by typeSubscriptionat extensionsubscriptionservices
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_id- initial attribute declared by typeSubscriptionat extensionsubscriptionservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getAgreementItem
@Accessor(qualifier="agreementItem", type=GETTER) public TmaBillingAgreementItemModel getAgreementItem()Generated method - Getter of theTmaSubscribedProduct.agreementItemattribute defined at extensionb2ctelcoservices.- Returns:
- the agreementItem
-
getAverageServiceUsages
@Accessor(qualifier="averageServiceUsages", type=GETTER) public java.util.Set<TmaAverageServiceUsageModel> getAverageServiceUsages()Generated method - Getter of theTmaSubscribedProduct.averageServiceUsagesattribute defined at extensionb2ctelcoservices. 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 theTmaSubscribedProduct.billingSubscriptionIdattribute defined at extensionb2ctelcoservices.- 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 theTmaSubscribedProduct.bundledProductCodeattribute defined at extensionb2ctelcoservices.- 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 theTmaSubscribedProduct.paymentMethodIdattribute defined at extensionb2ctelcoservices.- Returns:
- the paymentMethodId - identifier of the payment method used.
-
getProductSpecification
@Accessor(qualifier="productSpecification", type=GETTER) public TmaProductSpecificationModel getProductSpecification()Generated method - Getter of theTmaSubscribedProduct.productSpecificationattribute defined at extensionb2ctelcoservices.- Returns:
- the productSpecification - The product specification.
-
getServiceType
@Accessor(qualifier="serviceType", type=GETTER) public TmaServiceType getServiceType()Generated method - Getter of theTmaSubscribedProduct.serviceTypeattribute defined at extensionb2ctelcoservices.- 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 theTmaSubscribedProduct.subscriptionBaseattribute defined at extensionb2ctelcoservices.- Returns:
- the subscriptionBase - Subscription Base
-
setAgreementItem
@Accessor(qualifier="agreementItem", type=SETTER) public void setAgreementItem(TmaBillingAgreementItemModel value)Generated method - Setter ofTmaSubscribedProduct.agreementItemattribute defined at extensionb2ctelcoservices.- Parameters:
value- the agreementItem
-
setAverageServiceUsages
@Accessor(qualifier="averageServiceUsages", type=SETTER) public void setAverageServiceUsages(java.util.Set<TmaAverageServiceUsageModel> value)Generated method - Setter ofTmaSubscribedProduct.averageServiceUsagesattribute defined at extensionb2ctelcoservices.- 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 ofTmaSubscribedProduct.billingSubscriptionIdattribute defined at extensionb2ctelcoservices.- 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 ofTmaSubscribedProduct.bundledProductCodeattribute defined at extensionb2ctelcoservices.- 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 ofTmaSubscribedProduct.paymentMethodIdattribute defined at extensionb2ctelcoservices.- Parameters:
value- the paymentMethodId - identifier of the payment method used.
-
setProductSpecification
@Accessor(qualifier="productSpecification", type=SETTER) public void setProductSpecification(TmaProductSpecificationModel value)Generated method - Setter ofTmaSubscribedProduct.productSpecificationattribute defined at extensionb2ctelcoservices.- Parameters:
value- the productSpecification - The product specification.
-
setServiceType
@Accessor(qualifier="serviceType", type=SETTER) public void setServiceType(TmaServiceType value)Generated method - Setter ofTmaSubscribedProduct.serviceTypeattribute defined at extensionb2ctelcoservices.- 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 ofTmaSubscribedProduct.subscriptionBaseattribute defined at extensionb2ctelcoservices.- Parameters:
value- the subscriptionBase - Subscription Base
-
-