Class 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _CPQSUBSCRIPTIONDETAIL2ONETIMECHARGEENTRYRELATION
      Generated relation code constant for relation CpqSubscriptionDetail2OneTimeChargeEntryRelation defining source attribute cpqSubscriptionOneTime in extension sapcpqsbintegration.
      static java.lang.String _SUBSCRIPTIONPRICEPLAN2ONETIMECHARGEENTRYRELATION
      Generated relation code constant for relation SubscriptionPricePlan2OneTimeChargeEntryRelation defining source attribute subscriptionPricePlanOneTime in extension subscriptionservices.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String BILLINGEVENT
      Generated constant - Attribute key of OneTimeChargeEntry.billingEvent attribute defined at extension subscriptionservices.
      static java.lang.String CPQSUBSCRIPTIONONETIME
      Generated constant - Attribute key of OneTimeChargeEntry.cpqSubscriptionOneTime attribute defined at extension sapcpqsbintegration.
      static java.lang.String NAME
      Generated constant - Attribute key of OneTimeChargeEntry.name attribute defined at extension subscriptionservices.
      static java.lang.String SUBSCRIPTIONBILLINGID
      Generated constant - Attribute key of OneTimeChargeEntry.subscriptionBillingId attribute defined at extension saprevenuecloudproduct.
      static java.lang.String SUBSCRIPTIONPRICEPLANONETIME
      Generated constant - Attribute key of OneTimeChargeEntry.subscriptionPricePlanOneTime attribute defined at extension subscriptionservices.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • 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 context
      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 parameters
      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 parameters
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BillingEventModel getBillingEvent()
      Generated method - Getter of the OneTimeChargeEntry.billingEvent attribute defined at extension subscriptionservices.
      CpqSubscriptionDetailModel getCpqSubscriptionOneTime()
      Generated method - Getter of the OneTimeChargeEntry.cpqSubscriptionOneTime attribute defined at extension sapcpqsbintegration.
      java.lang.String getName()
      Generated method - Getter of the OneTimeChargeEntry.name attribute defined at extension subscriptionservices.
      java.lang.String getName​(java.util.Locale loc)
      Generated method - Getter of the OneTimeChargeEntry.name attribute defined at extension subscriptionservices.
      java.lang.String getSubscriptionBillingId()
      Generated method - Getter of the OneTimeChargeEntry.subscriptionBillingId attribute defined at extension saprevenuecloudproduct.
      SubscriptionPricePlanModel getSubscriptionPricePlanOneTime()
      Generated method - Getter of the OneTimeChargeEntry.subscriptionPricePlanOneTime attribute defined at extension subscriptionservices.
      void setBillingEvent​(BillingEventModel value)
      Generated method - Setter of OneTimeChargeEntry.billingEvent attribute defined at extension subscriptionservices.
      void setCpqSubscriptionOneTime​(CpqSubscriptionDetailModel value)
      Generated method - Setter of OneTimeChargeEntry.cpqSubscriptionOneTime attribute defined at extension sapcpqsbintegration.
      void setName​(java.lang.String value)
      Generated method - Setter of OneTimeChargeEntry.name attribute defined at extension subscriptionservices.
      void setName​(java.lang.String value, java.util.Locale loc)
      Generated method - Setter of OneTimeChargeEntry.name attribute defined at extension subscriptionservices.
      void setSubscriptionBillingId​(java.lang.String value)
      Generated method - Setter of OneTimeChargeEntry.subscriptionBillingId attribute defined at extension saprevenuecloudproduct.
      void setSubscriptionPricePlanOneTime​(SubscriptionPricePlanModel value)
      Generated method - Setter of OneTimeChargeEntry.subscriptionPricePlanOneTime attribute defined at extension subscriptionservices.
      • 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
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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 relation SubscriptionPricePlan2OneTimeChargeEntryRelation defining source attribute subscriptionPricePlanOneTime in extension subscriptionservices.
        See Also:
        Constant Field Values
      • _CPQSUBSCRIPTIONDETAIL2ONETIMECHARGEENTRYRELATION

        public static final java.lang.String _CPQSUBSCRIPTIONDETAIL2ONETIMECHARGEENTRYRELATION
        Generated relation code constant for relation CpqSubscriptionDetail2OneTimeChargeEntryRelation defining source attribute cpqSubscriptionOneTime in extension sapcpqsbintegration.
        See Also:
        Constant Field Values
      • NAME

        public static final java.lang.String NAME
        Generated constant - Attribute key of OneTimeChargeEntry.name attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • BILLINGEVENT

        public static final java.lang.String BILLINGEVENT
        Generated constant - Attribute key of OneTimeChargeEntry.billingEvent attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • SUBSCRIPTIONPRICEPLANONETIME

        public static final java.lang.String SUBSCRIPTIONPRICEPLANONETIME
        Generated constant - Attribute key of OneTimeChargeEntry.subscriptionPricePlanOneTime attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • SUBSCRIPTIONBILLINGID

        public static final java.lang.String SUBSCRIPTIONBILLINGID
        Generated constant - Attribute key of OneTimeChargeEntry.subscriptionBillingId attribute defined at extension saprevenuecloudproduct.
        See Also:
        Constant Field Values
      • CPQSUBSCRIPTIONONETIME

        public static final java.lang.String CPQSUBSCRIPTIONONETIME
        Generated constant - Attribute key of OneTimeChargeEntry.cpqSubscriptionOneTime attribute defined at extension sapcpqsbintegration.
        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 parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _billingEvent - initial attribute declared by type OneTimeChargeEntry at extension subscriptionservices
        _price - initial attribute declared by type ChargeEntry at extension subscriptionservices
      • 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 parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _billingEvent - initial attribute declared by type OneTimeChargeEntry at extension subscriptionservices
        _catalogVersion - initial attribute declared by type ChargeEntry at extension subscriptionservices
        _id - initial attribute declared by type ChargeEntry at extension subscriptionservices
        _owner - initial attribute declared by type Item at extension core
        _price - initial attribute declared by type ChargeEntry at extension subscriptionservices
    • Method Detail

      • getBillingEvent

        @Accessor(qualifier="billingEvent",
                  type=GETTER)
        public BillingEventModel getBillingEvent()
        Generated method - Getter of the OneTimeChargeEntry.billingEvent attribute defined at extension subscriptionservices.
        Returns:
        the billingEvent - Billing Event
      • getCpqSubscriptionOneTime

        @Accessor(qualifier="cpqSubscriptionOneTime",
                  type=GETTER)
        public CpqSubscriptionDetailModel getCpqSubscriptionOneTime()
        Generated method - Getter of the OneTimeChargeEntry.cpqSubscriptionOneTime attribute defined at extension sapcpqsbintegration.
        Returns:
        the cpqSubscriptionOneTime
      • getName

        @Accessor(qualifier="name",
                  type=GETTER)
        public java.lang.String getName()
        Generated method - Getter of the OneTimeChargeEntry.name attribute defined at extension subscriptionservices.
        Returns:
        the name - Name
      • getName

        @Accessor(qualifier="name",
                  type=GETTER)
        public java.lang.String getName​(java.util.Locale loc)
        Generated method - Getter of the OneTimeChargeEntry.name attribute defined at extension subscriptionservices.
        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 the OneTimeChargeEntry.subscriptionBillingId attribute defined at extension saprevenuecloudproduct.
        Returns:
        the subscriptionBillingId - Subscription Billing Charge ID
      • getSubscriptionPricePlanOneTime

        @Accessor(qualifier="subscriptionPricePlanOneTime",
                  type=GETTER)
        public SubscriptionPricePlanModel getSubscriptionPricePlanOneTime()
        Generated method - Getter of the OneTimeChargeEntry.subscriptionPricePlanOneTime attribute defined at extension subscriptionservices.
        Returns:
        the subscriptionPricePlanOneTime
      • setBillingEvent

        @Accessor(qualifier="billingEvent",
                  type=SETTER)
        public void setBillingEvent​(BillingEventModel value)
        Generated method - Setter of OneTimeChargeEntry.billingEvent attribute defined at extension subscriptionservices.
        Parameters:
        value - the billingEvent - Billing Event
      • setCpqSubscriptionOneTime

        @Accessor(qualifier="cpqSubscriptionOneTime",
                  type=SETTER)
        public void setCpqSubscriptionOneTime​(CpqSubscriptionDetailModel value)
        Generated method - Setter of OneTimeChargeEntry.cpqSubscriptionOneTime attribute defined at extension sapcpqsbintegration.
        Parameters:
        value - the cpqSubscriptionOneTime
      • setName

        @Accessor(qualifier="name",
                  type=SETTER)
        public void setName​(java.lang.String value)
        Generated method - Setter of OneTimeChargeEntry.name attribute defined at extension subscriptionservices.
        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 of OneTimeChargeEntry.name attribute defined at extension subscriptionservices.
        Parameters:
        value - the name - Name
        loc - 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 of OneTimeChargeEntry.subscriptionBillingId attribute defined at extension saprevenuecloudproduct.
        Parameters:
        value - the subscriptionBillingId - Subscription Billing Charge ID
      • setSubscriptionPricePlanOneTime

        @Accessor(qualifier="subscriptionPricePlanOneTime",
                  type=SETTER)
        public void setSubscriptionPricePlanOneTime​(SubscriptionPricePlanModel value)
        Generated method - Setter of OneTimeChargeEntry.subscriptionPricePlanOneTime attribute defined at extension subscriptionservices.
        Parameters:
        value - the subscriptionPricePlanOneTime