Class SubscriptionPricePlanModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable

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

    • _TYPECODE

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

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

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

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

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

      public static final String USAGECHARGES
      Generated constant - Attribute key of SubscriptionPricePlan.usageCharges attribute defined at extension subscriptionservices.
      See Also:
  • Constructor Details

    • SubscriptionPricePlanModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public SubscriptionPricePlanModel(CurrencyModel _currency, 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, Double _price, ProductModel _product, 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 Details

    • getName

      @Accessor(qualifier="name", type=GETTER) public 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 String getName(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:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getOneTimeChargeEntries

      @Accessor(qualifier="oneTimeChargeEntries", type=GETTER) public 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
    • getRecurringChargeEntries

      @Accessor(qualifier="recurringChargeEntries", type=GETTER) public 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 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 Collection<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(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(String value, Locale loc)
      Generated method - Setter of SubscriptionPricePlan.name attribute defined at extension subscriptionservices.
      Parameters:
      value - the name - Name
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setOneTimeChargeEntries

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

      @Accessor(qualifier="recurringChargeEntries", type=SETTER) public void setRecurringChargeEntries(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(Collection<UsageChargeModel> value)
      Generated method - Setter of SubscriptionPricePlan.usageCharges attribute defined at extension subscriptionservices.
      Parameters:
      value - the usageCharges