Class: PlanDrop
- Inherits:
-
Liquid::Simplero::Drop
- Object
- Liquid::Drop
- Liquid::Simplero::Drop
- PlanDrop
- Defined in:
- app/drops/plan_drop.rb
Overview
PlanDrop represents the Simplero plan
Instance Method Summary collapse
-
#annual_compare_at_price ⇒ Integer
Returns price that would be paid in year for a monthly plan.
-
#annual_compare_at_price_incl_extra ⇒ Integer
Returns price that would be paid in year for a monthly plan including contact and storage cost based on current usage.
- #annual_price ⇒ Integer
- #annual_price_incl_extra ⇒ Integer
- #base_annual_price ⇒ Integer
- #base_annual_price_incl_extra ⇒ Integer
- #base_monthly_price ⇒ Integer
- #base_monthly_price_incl_extra ⇒ Integer
- #blackfriday_annual_price ⇒ Integer
- #blackfriday_coupon_code ⇒ String
- #blackfriday_monthly_price ⇒ Integer
- #blackfriday_savings_percentage ⇒ Integer
- #contact_charge_threshold ⇒ Integer
-
#contact_cost_data ⇒ Object
Returns slabs of contacts and their cost.
- #contacts_limit_for_current_usage ⇒ Object
- #core_features ⇒ Array<PlanFeatureDrop>
-
#feature_hash ⇒ Object
String (feature_name) => PlanFeatureDrop.
-
#features ⇒ Array<PlanFeatureDrop>
Returns all the features for this plan.
- #handle ⇒ String
- #highlighted? ⇒ Boolean
- #image ⇒ AssetDrop
- #most_popular? ⇒ Boolean
- #non_core_features ⇒ Array<PlanFeatureDrop>
- #pricing_page_name ⇒ String
- #pricing_page_short_name ⇒ String
- #recommended? ⇒ Boolean
- #start_trial_url ⇒ String
- #storage ⇒ Integer
- #storage_cost_data ⇒ Object
- #storage_limit_for_current_usage ⇒ Object
- #tag_line ⇒ String
-
#tickets? ⇒ Boolean
Returns whether this plan includes the “Support Tickets” feature.
Methods inherited from Liquid::Simplero::Drop
Instance Method Details
#annual_compare_at_price ⇒ Integer
Returns price that would be paid in year for a monthly plan
#annual_compare_at_price_incl_extra ⇒ Integer
Returns price that would be paid in year for a monthly plan including contact and storage cost based on current usage
#annual_price ⇒ Integer
#annual_price_incl_extra ⇒ Integer
#base_annual_price ⇒ Integer
#base_annual_price_incl_extra ⇒ Integer
#base_monthly_price ⇒ Integer
#base_monthly_price_incl_extra ⇒ Integer
#blackfriday_annual_price ⇒ Integer
#blackfriday_coupon_code ⇒ String
#blackfriday_monthly_price ⇒ Integer
#blackfriday_savings_percentage ⇒ Integer
#contact_charge_threshold ⇒ Integer
#contact_cost_data ⇒ Object
Returns slabs of contacts and their cost. Also, increase in costs for each step increase in contacts
Example:
{
thresholds: {
1000 => 0,
2500 => 20,
5000 => 50,
7500 => 70,
10000 => 90
},
step: 2500,
cost: 15
}
#contacts_limit_for_current_usage ⇒ Object
#core_features ⇒ Array<PlanFeatureDrop>
#feature_hash ⇒ Object
String (feature_name) => PlanFeatureDrop
#features ⇒ Array<PlanFeatureDrop>
Returns all the features for this plan
#handle ⇒ String
#highlighted? ⇒ Boolean
#image ⇒ AssetDrop
#most_popular? ⇒ Boolean
#non_core_features ⇒ Array<PlanFeatureDrop>
#pricing_page_name ⇒ String
#pricing_page_short_name ⇒ String
#recommended? ⇒ Boolean
#start_trial_url ⇒ String
#storage ⇒ Integer
#storage_cost_data ⇒ Object
#storage_limit_for_current_usage ⇒ Object
#tag_line ⇒ String
#tickets? ⇒ Boolean
Returns whether this plan includes the “Support Tickets” feature