APP_Listing_Purchased_Addon
A Listing Addon class that used in context of APP_Listing_Current_Plan_I plan type.
Package
Contents
Description Description
Uses Current Listing module type as reference to object. Retrieves Addon properties from the Listing Options object.
Methods Methods
- activate — Activates addon.
- apply — Adds addon to an order item.
- get_duration — Retrieves addon duration in days.
- get_period — Retrieves addon duration in other time units, like months or years.
- get_period_text — Generates period text.
- get_period_type — Retrieves period type (D, W, M, Y).
- get_purchase_option — Generates purchase addon option HTML.