Class SubscriptionPricePlanModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class SubscriptionPricePlanModel
    extends PriceRowModel
    Generated model class for type SubscriptionPricePlan first defined at extension subscriptionservices.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

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

        public static final java.lang.String VALIDATIONMESSAGES
        Generated constant - Attribute key of SubscriptionPricePlan.validationMessages attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • ONETIMECHARGEENTRIES

        public static final java.lang.String ONETIMECHARGEENTRIES
        Generated constant - Attribute key of SubscriptionPricePlan.oneTimeChargeEntries attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • RECURRINGCHARGEENTRIES

        public static final java.lang.String RECURRINGCHARGEENTRIES
        Generated constant - Attribute key of SubscriptionPricePlan.recurringChargeEntries attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • USAGECHARGES

        public static final java.lang.String USAGECHARGES
        Generated constant - Attribute key of SubscriptionPricePlan.usageCharges attribute defined at extension subscriptionservices.
        See Also:
        Constant Field Values
      • PRICEPLANID

        public static final java.lang.String PRICEPLANID
        Generated constant - Attribute key of SubscriptionPricePlan.pricePlanId attribute defined at extension saprevenuecloudproduct.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SubscriptionPricePlanModel

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

        public SubscriptionPricePlanModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • SubscriptionPricePlanModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public SubscriptionPricePlanModel​(CurrencyModel _currency,
                                          java.lang.Double _price,
                                          UnitModel _unit)
        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:
        _currency - initial attribute declared by type PriceRow at extension europe1
        _price - initial attribute declared by type SubscriptionPricePlan at extension subscriptionservices
        _unit - initial attribute declared by type PriceRow at extension europe1
      • SubscriptionPricePlanModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public SubscriptionPricePlanModel​(CurrencyModel _currency,
                                          ItemModel _owner,
                                          ProductPriceGroup _pg,
                                          java.lang.Double _price,
                                          ProductModel _product,
                                          java.lang.String _productId,
                                          UnitModel _unit)
        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:
        _currency - initial attribute declared by type PriceRow at extension europe1
        _owner - initial attribute declared by type Item at extension core
        _pg - initial attribute declared by type PriceRow at extension europe1
        _price - initial attribute declared by type SubscriptionPricePlan at extension subscriptionservices
        _product - initial attribute declared by type PriceRow at extension europe1
        _productId - initial attribute declared by type PDTRow at extension europe1
        _unit - initial attribute declared by type PriceRow at extension europe1
    • Method Detail

      • getName

        @Accessor(qualifier="name",
                  type=GETTER)
        public java.lang.String getName()
        Generated method - Getter of the SubscriptionPricePlan.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 SubscriptionPricePlan.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
      • getOneTimeChargeEntries

        @Accessor(qualifier="oneTimeChargeEntries",
                  type=GETTER)
        public java.util.Collection<OneTimeChargeEntryModel> getOneTimeChargeEntries()
        Generated method - Getter of the SubscriptionPricePlan.oneTimeChargeEntries attribute defined at extension subscriptionservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the oneTimeChargeEntries
      • getPricePlanId

        @Accessor(qualifier="pricePlanId",
                  type=GETTER)
        public java.lang.String getPricePlanId()
        Generated method - Getter of the SubscriptionPricePlan.pricePlanId attribute defined at extension saprevenuecloudproduct.
        Returns:
        the pricePlanId - Rate plan ID from Revenue Cloud
      • getRecurringChargeEntries

        @Accessor(qualifier="recurringChargeEntries",
                  type=GETTER)
        public java.util.Collection<RecurringChargeEntryModel> getRecurringChargeEntries()
        Generated method - Getter of the SubscriptionPricePlan.recurringChargeEntries attribute defined at extension subscriptionservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the recurringChargeEntries
      • getUsageCharges

        @Accessor(qualifier="usageCharges",
                  type=GETTER)
        public java.util.Collection<UsageChargeModel> getUsageCharges()
        Generated method - Getter of the SubscriptionPricePlan.usageCharges attribute defined at extension subscriptionservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the usageCharges
      • getValidationMessages

        @Accessor(qualifier="validationMessages",
                  type=GETTER)
        public java.util.Collection<java.lang.String> getValidationMessages()
        Generated method - Getter of the SubscriptionPricePlan.validationMessages dynamic attribute defined at extension subscriptionservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the validationMessages - Validation Messages
      • setName

        @Accessor(qualifier="name",
                  type=SETTER)
        public void setName​(java.lang.String value)
        Generated method - Setter of SubscriptionPricePlan.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 SubscriptionPricePlan.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
      • setOneTimeChargeEntries

        @Accessor(qualifier="oneTimeChargeEntries",
                  type=SETTER)
        public void setOneTimeChargeEntries​(java.util.Collection<OneTimeChargeEntryModel> value)
        Generated method - Setter of SubscriptionPricePlan.oneTimeChargeEntries attribute defined at extension subscriptionservices.
        Parameters:
        value - the oneTimeChargeEntries
      • setPricePlanId

        @Accessor(qualifier="pricePlanId",
                  type=SETTER)
        public void setPricePlanId​(java.lang.String value)
        Generated method - Setter of SubscriptionPricePlan.pricePlanId attribute defined at extension saprevenuecloudproduct.
        Parameters:
        value - the pricePlanId - Rate plan ID from Revenue Cloud
      • setRecurringChargeEntries

        @Accessor(qualifier="recurringChargeEntries",
                  type=SETTER)
        public void setRecurringChargeEntries​(java.util.Collection<RecurringChargeEntryModel> value)
        Generated method - Setter of SubscriptionPricePlan.recurringChargeEntries attribute defined at extension subscriptionservices.
        Parameters:
        value - the recurringChargeEntries
      • setUsageCharges

        @Accessor(qualifier="usageCharges",
                  type=SETTER)
        public void setUsageCharges​(java.util.Collection<UsageChargeModel> value)
        Generated method - Setter of SubscriptionPricePlan.usageCharges attribute defined at extension subscriptionservices.
        Parameters:
        value - the usageCharges