Class GeneratedSubscriptionservicesManager

    • Field Detail

      • ABSTRACTMASTERORDER2ABSTRACTCHILDORDERRELATIONCHILDRENHANDLER

        protected static final OneToManyHandler<AbstractOrder> ABSTRACTMASTERORDER2ABSTRACTCHILDORDERRELATIONCHILDRENHANDLER
        OneToManyHandler for handling 1:n CHILDREN's relation attributes from 'many' side.
      • MASTERABSTRACTORDERENTRY2CHILDABSTRACTORDERENTRIESRELATIONCHILDENTRIESHANDLER

        protected static final OneToManyHandler<AbstractOrderEntry> MASTERABSTRACTORDERENTRY2CHILDABSTRACTORDERENTRIESRELATIONCHILDENTRIESHANDLER
        OneToManyHandler for handling 1:n CHILDENTRIES's relation attributes from 'many' side.
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​Item.AttributeMode>> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedSubscriptionservicesManager

        public GeneratedSubscriptionservicesManager()
    • Method Detail

      • getBillingTime

        public BillingTime getBillingTime​(SessionContext ctx,
                                          AbstractOrder item)
        Generated method - Getter of the AbstractOrder.billingTime attribute.
        Returns:
        the billingTime - Billing Time
      • getBillingTime

        public BillingTime getBillingTime​(AbstractOrder item)
        Generated method - Getter of the AbstractOrder.billingTime attribute.
        Returns:
        the billingTime - Billing Time
      • setBillingTime

        public void setBillingTime​(SessionContext ctx,
                                   AbstractOrder item,
                                   BillingTime value)
        Generated method - Setter of the AbstractOrder.billingTime attribute.
        Parameters:
        value - the billingTime - Billing Time
      • setBillingTime

        public void setBillingTime​(AbstractOrder item,
                                   BillingTime value)
        Generated method - Setter of the AbstractOrder.billingTime attribute.
        Parameters:
        value - the billingTime - Billing Time
      • getChildEntries

        public java.util.Collection<AbstractOrderEntry> getChildEntries​(AbstractOrderEntry item)
        Generated method - Getter of the AbstractOrderEntry.childEntries attribute.
        Returns:
        the childEntries
      • setChildEntries

        public void setChildEntries​(SessionContext ctx,
                                    AbstractOrderEntry item,
                                    java.util.Collection<AbstractOrderEntry> value)
        Generated method - Setter of the AbstractOrderEntry.childEntries attribute.
        Parameters:
        value - the childEntries
      • setChildEntries

        public void setChildEntries​(AbstractOrderEntry item,
                                    java.util.Collection<AbstractOrderEntry> value)
        Generated method - Setter of the AbstractOrderEntry.childEntries attribute.
        Parameters:
        value - the childEntries
      • addToChildEntries

        public void addToChildEntries​(AbstractOrderEntry item,
                                      AbstractOrderEntry value)
        Generated method - Adds value to childEntries.
        Parameters:
        value - the item to add to childEntries
      • removeFromChildEntries

        public void removeFromChildEntries​(AbstractOrderEntry item,
                                           AbstractOrderEntry value)
        Generated method - Removes value from childEntries.
        Parameters:
        value - the item to remove from childEntries
      • getChildren

        public java.util.Collection<AbstractOrder> getChildren​(SessionContext ctx,
                                                               AbstractOrder item)
        Generated method - Getter of the AbstractOrder.children attribute.
        Returns:
        the children
      • getChildren

        public java.util.Collection<AbstractOrder> getChildren​(AbstractOrder item)
        Generated method - Getter of the AbstractOrder.children attribute.
        Returns:
        the children
      • setChildren

        public void setChildren​(SessionContext ctx,
                                AbstractOrder item,
                                java.util.Collection<AbstractOrder> value)
        Generated method - Setter of the AbstractOrder.children attribute.
        Parameters:
        value - the children
      • setChildren

        public void setChildren​(AbstractOrder item,
                                java.util.Collection<AbstractOrder> value)
        Generated method - Setter of the AbstractOrder.children attribute.
        Parameters:
        value - the children
      • addToChildren

        public void addToChildren​(SessionContext ctx,
                                  AbstractOrder item,
                                  AbstractOrder value)
        Generated method - Adds value to children.
        Parameters:
        value - the item to add to children
      • addToChildren

        public void addToChildren​(AbstractOrder item,
                                  AbstractOrder value)
        Generated method - Adds value to children.
        Parameters:
        value - the item to add to children
      • removeFromChildren

        public void removeFromChildren​(SessionContext ctx,
                                       AbstractOrder item,
                                       AbstractOrder value)
        Generated method - Removes value from children.
        Parameters:
        value - the item to remove from children
      • removeFromChildren

        public void removeFromChildren​(AbstractOrder item,
                                       AbstractOrder value)
        Generated method - Removes value from children.
        Parameters:
        value - the item to remove from children
      • createBillingEvent

        public BillingEvent createBillingEvent​(java.util.Map attributeValues)
      • createBillingFrequency

        public BillingFrequency createBillingFrequency​(java.util.Map attributeValues)
      • createBillingPlan

        public BillingPlan createBillingPlan​(java.util.Map attributeValues)
      • createOneTimeChargeEntry

        public OneTimeChargeEntry createOneTimeChargeEntry​(java.util.Map attributeValues)
      • createOverageUsageChargeEntry

        public OverageUsageChargeEntry createOverageUsageChargeEntry​(java.util.Map attributeValues)
      • createPerUnitUsageCharge

        public PerUnitUsageCharge createPerUnitUsageCharge​(java.util.Map attributeValues)
      • createPriceRowsValidConstraint

        public PriceRowsValidConstraint createPriceRowsValidConstraint​(java.util.Map attributeValues)
      • createRecurringChargeEntry

        public RecurringChargeEntry createRecurringChargeEntry​(java.util.Map attributeValues)
      • createSubscription

        public Subscription createSubscription​(java.util.Map attributeValues)
      • createSubscriptionPricePlan

        public SubscriptionPricePlan createSubscriptionPricePlan​(java.util.Map attributeValues)
      • createSubscriptionProduct

        public SubscriptionProduct createSubscriptionProduct​(java.util.Map attributeValues)
      • createSubscriptionTerm

        public SubscriptionTerm createSubscriptionTerm​(java.util.Map attributeValues)
      • createTierUsageChargeEntry

        public TierUsageChargeEntry createTierUsageChargeEntry​(java.util.Map attributeValues)
      • createUsageUnit

        public UsageUnit createUsageUnit​(java.util.Map attributeValues)
      • createVolumeUsageCharge

        public VolumeUsageCharge createVolumeUsageCharge​(java.util.Map attributeValues)
      • getName

        public java.lang.String getName()
        Specified by:
        getName in class Extension
      • getMasterEntry

        public AbstractOrderEntry getMasterEntry​(AbstractOrderEntry item)
        Generated method - Getter of the AbstractOrderEntry.masterEntry attribute.
        Returns:
        the masterEntry
      • setMasterEntry

        public void setMasterEntry​(AbstractOrderEntry item,
                                   AbstractOrderEntry value)
        Generated method - Setter of the AbstractOrderEntry.masterEntry attribute.
        Parameters:
        value - the masterEntry
      • getOriginalOrderEntry

        public OrderEntry getOriginalOrderEntry​(SessionContext ctx,
                                                AbstractOrderEntry item)
        Generated method - Getter of the AbstractOrderEntry.originalOrderEntry attribute.
        Returns:
        the originalOrderEntry - YTODO to be added to the new entry configuration: Reference to the original entry of the subscription that is upgraded
      • getOriginalOrderEntry

        public OrderEntry getOriginalOrderEntry​(AbstractOrderEntry item)
        Generated method - Getter of the AbstractOrderEntry.originalOrderEntry attribute.
        Returns:
        the originalOrderEntry - YTODO to be added to the new entry configuration: Reference to the original entry of the subscription that is upgraded
      • setOriginalOrderEntry

        public void setOriginalOrderEntry​(SessionContext ctx,
                                          AbstractOrderEntry item,
                                          OrderEntry value)
        Generated method - Setter of the AbstractOrderEntry.originalOrderEntry attribute.
        Parameters:
        value - the originalOrderEntry - YTODO to be added to the new entry configuration: Reference to the original entry of the subscription that is upgraded
      • setOriginalOrderEntry

        public void setOriginalOrderEntry​(AbstractOrderEntry item,
                                          OrderEntry value)
        Generated method - Setter of the AbstractOrderEntry.originalOrderEntry attribute.
        Parameters:
        value - the originalOrderEntry - YTODO to be added to the new entry configuration: Reference to the original entry of the subscription that is upgraded
      • getOriginalSubscriptionId

        public java.lang.String getOriginalSubscriptionId​(SessionContext ctx,
                                                          AbstractOrderEntry item)
        Generated method - Getter of the AbstractOrderEntry.originalSubscriptionId attribute.
        Returns:
        the originalSubscriptionId - YTODO to be added to the new entry configuration: Id of the original subscription that is upgraded
      • getOriginalSubscriptionId

        public java.lang.String getOriginalSubscriptionId​(AbstractOrderEntry item)
        Generated method - Getter of the AbstractOrderEntry.originalSubscriptionId attribute.
        Returns:
        the originalSubscriptionId - YTODO to be added to the new entry configuration: Id of the original subscription that is upgraded
      • setOriginalSubscriptionId

        public void setOriginalSubscriptionId​(SessionContext ctx,
                                              AbstractOrderEntry item,
                                              java.lang.String value)
        Generated method - Setter of the AbstractOrderEntry.originalSubscriptionId attribute.
        Parameters:
        value - the originalSubscriptionId - YTODO to be added to the new entry configuration: Id of the original subscription that is upgraded
      • setOriginalSubscriptionId

        public void setOriginalSubscriptionId​(AbstractOrderEntry item,
                                              java.lang.String value)
        Generated method - Setter of the AbstractOrderEntry.originalSubscriptionId attribute.
        Parameters:
        value - the originalSubscriptionId - YTODO to be added to the new entry configuration: Id of the original subscription that is upgraded
      • getParent

        public AbstractOrder getParent​(AbstractOrder item)
        Generated method - Getter of the AbstractOrder.parent attribute.
        Returns:
        the parent
      • setParent

        public void setParent​(AbstractOrder item,
                              AbstractOrder value)
        Generated method - Setter of the AbstractOrder.parent attribute.
        Parameters:
        value - the parent
      • getSubscriptionServiceId

        public java.lang.String getSubscriptionServiceId​(SessionContext ctx,
                                                         PaymentInfo item)
        Generated method - Getter of the CreditCardPaymentInfo.subscriptionServiceId attribute.
        Returns:
        the subscriptionServiceId - Subscription Service ID
      • getSubscriptionServiceId

        public java.lang.String getSubscriptionServiceId​(PaymentInfo item)
        Generated method - Getter of the CreditCardPaymentInfo.subscriptionServiceId attribute.
        Returns:
        the subscriptionServiceId - Subscription Service ID
      • setSubscriptionServiceId

        public void setSubscriptionServiceId​(SessionContext ctx,
                                             PaymentInfo item,
                                             java.lang.String value)
        Generated method - Setter of the CreditCardPaymentInfo.subscriptionServiceId attribute.
        Parameters:
        value - the subscriptionServiceId - Subscription Service ID
      • setSubscriptionServiceId

        public void setSubscriptionServiceId​(PaymentInfo item,
                                             java.lang.String value)
        Generated method - Setter of the CreditCardPaymentInfo.subscriptionServiceId attribute.
        Parameters:
        value - the subscriptionServiceId - Subscription Service ID
      • getSubscriptionTerm

        public SubscriptionTerm getSubscriptionTerm​(SessionContext ctx,
                                                    Product item)
        Generated method - Getter of the Product.subscriptionTerm attribute.
        Returns:
        the subscriptionTerm
      • getSubscriptionTerm

        public SubscriptionTerm getSubscriptionTerm​(Product item)
        Generated method - Getter of the Product.subscriptionTerm attribute.
        Returns:
        the subscriptionTerm
      • setSubscriptionTerm

        public void setSubscriptionTerm​(SessionContext ctx,
                                        Product item,
                                        SubscriptionTerm value)
        Generated method - Setter of the Product.subscriptionTerm attribute.
        Parameters:
        value - the subscriptionTerm
      • setSubscriptionTerm

        public void setSubscriptionTerm​(Product item,
                                        SubscriptionTerm value)
        Generated method - Setter of the Product.subscriptionTerm attribute.
        Parameters:
        value - the subscriptionTerm
      • getXmlProduct

        public java.lang.String getXmlProduct​(SessionContext ctx,
                                              AbstractOrderEntry item)
        Generated method - Getter of the AbstractOrderEntry.xmlProduct attribute.
        Returns:
        the xmlProduct - xmlProduct
      • getXmlProduct

        public java.lang.String getXmlProduct​(AbstractOrderEntry item)
        Generated method - Getter of the AbstractOrderEntry.xmlProduct attribute.
        Returns:
        the xmlProduct - xmlProduct
      • setXmlProduct

        public void setXmlProduct​(SessionContext ctx,
                                  AbstractOrderEntry item,
                                  java.lang.String value)
        Generated method - Setter of the AbstractOrderEntry.xmlProduct attribute.
        Parameters:
        value - the xmlProduct - xmlProduct
      • setXmlProduct

        public void setXmlProduct​(AbstractOrderEntry item,
                                  java.lang.String value)
        Generated method - Setter of the AbstractOrderEntry.xmlProduct attribute.
        Parameters:
        value - the xmlProduct - xmlProduct