Class OneTimeChargeEntryModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.subscriptionservices.model.ChargeEntryModel
-
- de.hybris.platform.subscriptionservices.model.OneTimeChargeEntryModel
-
- All Implemented Interfaces:
java.io.Serializable
public class OneTimeChargeEntryModel extends ChargeEntryModel
Generated model class for type OneTimeChargeEntry first defined at extension subscriptionservices.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_CPQSUBSCRIPTIONDETAIL2ONETIMECHARGEENTRYRELATIONGenerated relation code constant for relationCpqSubscriptionDetail2OneTimeChargeEntryRelationdefining source attributecpqSubscriptionOneTimein extensionsapcpqsbintegration.static java.lang.String_SUBSCRIPTIONPRICEPLAN2ONETIMECHARGEENTRYRELATIONGenerated relation code constant for relationSubscriptionPricePlan2OneTimeChargeEntryRelationdefining source attributesubscriptionPricePlanOneTimein extensionsubscriptionservices.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringBILLINGEVENTGenerated constant - Attribute key ofOneTimeChargeEntry.billingEventattribute defined at extensionsubscriptionservices.static java.lang.StringCPQSUBSCRIPTIONONETIMEGenerated constant - Attribute key ofOneTimeChargeEntry.cpqSubscriptionOneTimeattribute defined at extensionsapcpqsbintegration.static java.lang.StringNAMEGenerated constant - Attribute key ofOneTimeChargeEntry.nameattribute defined at extensionsubscriptionservices.static java.lang.StringSUBSCRIPTIONBILLINGIDGenerated constant - Attribute key ofOneTimeChargeEntry.subscriptionBillingIdattribute defined at extensionsaprevenuecloudproduct.static java.lang.StringSUBSCRIPTIONPRICEPLANONETIMEGenerated constant - Attribute key ofOneTimeChargeEntry.subscriptionPricePlanOneTimeattribute defined at extensionsubscriptionservices.-
Fields inherited from class de.hybris.platform.subscriptionservices.model.ChargeEntryModel
BILLINGTIME, CATALOGVERSION, CURRENCY, ID, PRICE
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
-
Constructor Summary
Constructors Constructor Description OneTimeChargeEntryModel()Generated constructor - Default constructor for generic creation.OneTimeChargeEntryModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextOneTimeChargeEntryModel(BillingEventModel _billingEvent, CatalogVersionModel _catalogVersion, java.lang.String _id, ItemModel _owner, java.lang.Double _price)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersOneTimeChargeEntryModel(BillingEventModel _billingEvent, java.lang.Double _price)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 BillingEventModelgetBillingEvent()Generated method - Getter of theOneTimeChargeEntry.billingEventattribute defined at extensionsubscriptionservices.CpqSubscriptionDetailModelgetCpqSubscriptionOneTime()Generated method - Getter of theOneTimeChargeEntry.cpqSubscriptionOneTimeattribute defined at extensionsapcpqsbintegration.java.lang.StringgetName()Generated method - Getter of theOneTimeChargeEntry.nameattribute defined at extensionsubscriptionservices.java.lang.StringgetName(java.util.Locale loc)Generated method - Getter of theOneTimeChargeEntry.nameattribute defined at extensionsubscriptionservices.java.lang.StringgetSubscriptionBillingId()Generated method - Getter of theOneTimeChargeEntry.subscriptionBillingIdattribute defined at extensionsaprevenuecloudproduct.SubscriptionPricePlanModelgetSubscriptionPricePlanOneTime()Generated method - Getter of theOneTimeChargeEntry.subscriptionPricePlanOneTimeattribute defined at extensionsubscriptionservices.voidsetBillingEvent(BillingEventModel value)Generated method - Setter ofOneTimeChargeEntry.billingEventattribute defined at extensionsubscriptionservices.voidsetCpqSubscriptionOneTime(CpqSubscriptionDetailModel value)Generated method - Setter ofOneTimeChargeEntry.cpqSubscriptionOneTimeattribute defined at extensionsapcpqsbintegration.voidsetName(java.lang.String value)Generated method - Setter ofOneTimeChargeEntry.nameattribute defined at extensionsubscriptionservices.voidsetName(java.lang.String value, java.util.Locale loc)Generated method - Setter ofOneTimeChargeEntry.nameattribute defined at extensionsubscriptionservices.voidsetSubscriptionBillingId(java.lang.String value)Generated method - Setter ofOneTimeChargeEntry.subscriptionBillingIdattribute defined at extensionsaprevenuecloudproduct.voidsetSubscriptionPricePlanOneTime(SubscriptionPricePlanModel value)Generated method - Setter ofOneTimeChargeEntry.subscriptionPricePlanOneTimeattribute defined at extensionsubscriptionservices.-
Methods inherited from class de.hybris.platform.subscriptionservices.model.ChargeEntryModel
getBillingTime, getCatalogVersion, getCurrency, getId, getPrice, setCatalogVersion, setId, setPrice
-
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
-
_SUBSCRIPTIONPRICEPLAN2ONETIMECHARGEENTRYRELATION
public static final java.lang.String _SUBSCRIPTIONPRICEPLAN2ONETIMECHARGEENTRYRELATION
Generated relation code constant for relationSubscriptionPricePlan2OneTimeChargeEntryRelationdefining source attributesubscriptionPricePlanOneTimein extensionsubscriptionservices.- See Also:
- Constant Field Values
-
_CPQSUBSCRIPTIONDETAIL2ONETIMECHARGEENTRYRELATION
public static final java.lang.String _CPQSUBSCRIPTIONDETAIL2ONETIMECHARGEENTRYRELATION
Generated relation code constant for relationCpqSubscriptionDetail2OneTimeChargeEntryRelationdefining source attributecpqSubscriptionOneTimein extensionsapcpqsbintegration.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofOneTimeChargeEntry.nameattribute defined at extensionsubscriptionservices.- See Also:
- Constant Field Values
-
BILLINGEVENT
public static final java.lang.String BILLINGEVENT
Generated constant - Attribute key ofOneTimeChargeEntry.billingEventattribute defined at extensionsubscriptionservices.- See Also:
- Constant Field Values
-
SUBSCRIPTIONPRICEPLANONETIME
public static final java.lang.String SUBSCRIPTIONPRICEPLANONETIME
Generated constant - Attribute key ofOneTimeChargeEntry.subscriptionPricePlanOneTimeattribute defined at extensionsubscriptionservices.- See Also:
- Constant Field Values
-
SUBSCRIPTIONBILLINGID
public static final java.lang.String SUBSCRIPTIONBILLINGID
Generated constant - Attribute key ofOneTimeChargeEntry.subscriptionBillingIdattribute defined at extensionsaprevenuecloudproduct.- See Also:
- Constant Field Values
-
CPQSUBSCRIPTIONONETIME
public static final java.lang.String CPQSUBSCRIPTIONONETIME
Generated constant - Attribute key ofOneTimeChargeEntry.cpqSubscriptionOneTimeattribute defined at extensionsapcpqsbintegration.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OneTimeChargeEntryModel
public OneTimeChargeEntryModel()
Generated constructor - Default constructor for generic creation.
-
OneTimeChargeEntryModel
public OneTimeChargeEntryModel(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
-
OneTimeChargeEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public OneTimeChargeEntryModel(BillingEventModel _billingEvent, java.lang.Double _price)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:
_billingEvent- initial attribute declared by typeOneTimeChargeEntryat extensionsubscriptionservices_price- initial attribute declared by typeChargeEntryat extensionsubscriptionservices
-
OneTimeChargeEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public OneTimeChargeEntryModel(BillingEventModel _billingEvent, CatalogVersionModel _catalogVersion, java.lang.String _id, ItemModel _owner, java.lang.Double _price)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:
_billingEvent- initial attribute declared by typeOneTimeChargeEntryat extensionsubscriptionservices_catalogVersion- initial attribute declared by typeChargeEntryat extensionsubscriptionservices_id- initial attribute declared by typeChargeEntryat extensionsubscriptionservices_owner- initial attribute declared by typeItemat extensioncore_price- initial attribute declared by typeChargeEntryat extensionsubscriptionservices
-
-
Method Detail
-
getBillingEvent
@Accessor(qualifier="billingEvent", type=GETTER) public BillingEventModel getBillingEvent()Generated method - Getter of theOneTimeChargeEntry.billingEventattribute defined at extensionsubscriptionservices.- Returns:
- the billingEvent - Billing Event
-
getCpqSubscriptionOneTime
@Accessor(qualifier="cpqSubscriptionOneTime", type=GETTER) public CpqSubscriptionDetailModel getCpqSubscriptionOneTime()Generated method - Getter of theOneTimeChargeEntry.cpqSubscriptionOneTimeattribute defined at extensionsapcpqsbintegration.- Returns:
- the cpqSubscriptionOneTime
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()Generated method - Getter of theOneTimeChargeEntry.nameattribute defined at extensionsubscriptionservices.- Returns:
- the name - Name
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)Generated method - Getter of theOneTimeChargeEntry.nameattribute defined at extensionsubscriptionservices.- Parameters:
loc- the value localization key- Returns:
- the name - Name
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getSubscriptionBillingId
@Accessor(qualifier="subscriptionBillingId", type=GETTER) public java.lang.String getSubscriptionBillingId()Generated method - Getter of theOneTimeChargeEntry.subscriptionBillingIdattribute defined at extensionsaprevenuecloudproduct.- Returns:
- the subscriptionBillingId - Subscription Billing Charge ID
-
getSubscriptionPricePlanOneTime
@Accessor(qualifier="subscriptionPricePlanOneTime", type=GETTER) public SubscriptionPricePlanModel getSubscriptionPricePlanOneTime()Generated method - Getter of theOneTimeChargeEntry.subscriptionPricePlanOneTimeattribute defined at extensionsubscriptionservices.- Returns:
- the subscriptionPricePlanOneTime
-
setBillingEvent
@Accessor(qualifier="billingEvent", type=SETTER) public void setBillingEvent(BillingEventModel value)Generated method - Setter ofOneTimeChargeEntry.billingEventattribute defined at extensionsubscriptionservices.- Parameters:
value- the billingEvent - Billing Event
-
setCpqSubscriptionOneTime
@Accessor(qualifier="cpqSubscriptionOneTime", type=SETTER) public void setCpqSubscriptionOneTime(CpqSubscriptionDetailModel value)Generated method - Setter ofOneTimeChargeEntry.cpqSubscriptionOneTimeattribute defined at extensionsapcpqsbintegration.- Parameters:
value- the cpqSubscriptionOneTime
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)Generated method - Setter ofOneTimeChargeEntry.nameattribute defined at extensionsubscriptionservices.- Parameters:
value- the name - Name
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)Generated method - Setter ofOneTimeChargeEntry.nameattribute defined at extensionsubscriptionservices.- Parameters:
value- the name - Nameloc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setSubscriptionBillingId
@Accessor(qualifier="subscriptionBillingId", type=SETTER) public void setSubscriptionBillingId(java.lang.String value)Generated method - Setter ofOneTimeChargeEntry.subscriptionBillingIdattribute defined at extensionsaprevenuecloudproduct.- Parameters:
value- the subscriptionBillingId - Subscription Billing Charge ID
-
setSubscriptionPricePlanOneTime
@Accessor(qualifier="subscriptionPricePlanOneTime", type=SETTER) public void setSubscriptionPricePlanOneTime(SubscriptionPricePlanModel value)Generated method - Setter ofOneTimeChargeEntry.subscriptionPricePlanOneTimeattribute defined at extensionsubscriptionservices.- Parameters:
value- the subscriptionPricePlanOneTime
-
-