Class OneTimeChargeEntryModel

All Implemented Interfaces:
Serializable

public class OneTimeChargeEntryModel extends ChargeEntryModel
Generated model class for type OneTimeChargeEntry first defined at extension subscriptionservices.
See Also:
  • Field Details

    • _TYPECODE

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

      public static final String _SUBSCRIPTIONPRICEPLAN2ONETIMECHARGEENTRYRELATION
      Generated relation code constant for relation SubscriptionPricePlan2OneTimeChargeEntryRelation defining source attribute subscriptionPricePlanOneTime in extension subscriptionservices.
      See Also:
    • NAME

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

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

      public static final String SUBSCRIPTIONPRICEPLANONETIME
      Generated constant - Attribute key of OneTimeChargeEntry.subscriptionPricePlanOneTime attribute defined at extension subscriptionservices.
      See Also:
  • Constructor Details

    • OneTimeChargeEntryModel

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

      public OneTimeChargeEntryModel(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, 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, String _id, ItemModel _owner, 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 Details

    • 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
    • getName

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

      @Accessor(qualifier="name", type=SETTER) public void setName(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(String value, Locale loc)
      Generated method - Setter of OneTimeChargeEntry.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
    • 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