Class: Aws::AppMonetization::Types::PlanOptions
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMonetization::Types::PlanOptions
- Defined in:
- gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb
Overview
The pricing model and optional plans to consider, prices to evaluate,
and the developer's own price. The response's planOptions.freeTier
and planOptions.maxTier report the outcome of the inclusion members.
A per-use price has no Free, Max or Annual plan, so
freeTierInclusion, maxTierInclusion or annualPlanInclusion
INCLUDE together with a pricingModelPreference of PER_USE or
PER_USE_SPLIT is rejected. A Free plan makes a flat price tiered, so
freeTierInclusion INCLUDE with FLAT is rejected too: TIERED with
freeTierInclusion INCLUDE asks for a Free plan.
Constant Summary collapse
- SENSITIVE =
[:plan_prices, :published_price]
Instance Attribute Summary collapse
-
#annual_plan_inclusion ⇒ String
Whether to add an annual plan (
Annual). -
#credit_pack_inclusion ⇒ String
Whether to add one-time credit packs alongside the plans, the response's
creditPacks. -
#free_tier_inclusion ⇒ String
Whether to include a Free plan.
-
#max_tier_inclusion ⇒ String
Whether to include a Max plan for heavy users.
-
#plan_prices ⇒ Array<Types::PlanPrice>
Prices to evaluate instead of the recommended ones, one per plan.
-
#pricing_model_preference ⇒ String
Pricing model to use instead of letting the service choose.
-
#published_price ⇒ Types::PublishedPrice
Your current or intended monthly price, in USD (another currencyCode is rejected).
Instance Attribute Details
#annual_plan_inclusion ⇒ String
Whether to add an annual plan (Annual). Absent: it is added when a
subscription (FLAT or TIERED) is recommended, without changing the
pricing model, unless every action is used less than once a month on
average (typicalMonthlyUsage below 1). INCLUDE adds it at any
usage and, when the request sends no pricingModelPreference, also
limits the choice to subscriptions; INCLUDE with a PER_USE or
PER_USE_SPLIT preference is rejected. EXCLUDE leaves it out.
4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4225 class PlanOptions < Struct.new( :pricing_model_preference, :free_tier_inclusion, :max_tier_inclusion, :annual_plan_inclusion, :credit_pack_inclusion, :plan_prices, :published_price) SENSITIVE = [:plan_prices, :published_price] include Aws::Structure end |
#credit_pack_inclusion ⇒ String
Whether to add one-time credit packs alongside the plans, the
response's creditPacks. Absent: EXCLUDE. INCLUDE is allowed with
every pricing model, per-use included.
4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4225 class PlanOptions < Struct.new( :pricing_model_preference, :free_tier_inclusion, :max_tier_inclusion, :annual_plan_inclusion, :credit_pack_inclusion, :plan_prices, :published_price) SENSITIVE = [:plan_prices, :published_price] include Aws::Structure end |
#free_tier_inclusion ⇒ String
Whether to include a Free plan. Absent: the segment's default,
which considers a Free plan for CONSUMER and PROSUMER and not for
ENTERPRISE; with a pricingModelPreference, a Free plan is
considered only for TIERED. INCLUDE with no pricingModelPreference
limits the choice to TIERED; INCLUDE with a PER_USE,
PER_USE_SPLIT or FLAT preference is rejected. The response's
planOptions.freeTier gives the outcome.
4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4225 class PlanOptions < Struct.new( :pricing_model_preference, :free_tier_inclusion, :max_tier_inclusion, :annual_plan_inclusion, :credit_pack_inclusion, :plan_prices, :published_price) SENSITIVE = [:plan_prices, :published_price] include Aws::Structure end |
#max_tier_inclusion ⇒ String
Whether to include a Max plan for heavy users. On the default menu
for CONSUMER and PROSUMER; for ENTERPRISE only when this is INCLUDE.
Only with a value estimate: when no action has a value basis
(minutesSaved, moneySaved or valuePerUse) and there is no
experiential estimate (see valueKind), the price is cost-based and
this is ignored, with no error: the response has no Max plan and no
planOptions.maxTier outcome. A Max plan goes with a TIERED or FLAT
model, never PER_USE or PER_USE_SPLIT: INCLUDE with a PER_USE or
PER_USE_SPLIT preference is rejected, and a per-use model the
service chooses has no Max plan. Absent, for CONSUMER and PROSUMER:
a TIERED recommendation includes it unless it would clearly lower
the modeled profit or almost no paying customer would move up to it;
a FLAT one includes it only when it improves the recommendation.
Absent, for ENTERPRISE: no Max plan. A TIERED Max is unlimited
(includedQuantity 1,000,000,000 with NO_OVERAGE_THROTTLE) unless
its buyers' usage would cost too much of the Max price; then it has
an allowance and overage. A FLAT Max always has an allowance.
4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4225 class PlanOptions < Struct.new( :pricing_model_preference, :free_tier_inclusion, :max_tier_inclusion, :annual_plan_inclusion, :credit_pack_inclusion, :plan_prices, :published_price) SENSITIVE = [:plan_prices, :published_price] include Aws::Structure end |
#plan_prices ⇒ Array<Types::PlanPrice>
Prices to evaluate instead of the recommended ones, one per plan.
Each is evaluated against the same modeled demand and returned in
planOptions.evaluatedPlanPrices, with the recommended plans and
credit packs rebuilt at that price; the recommendation itself does
not change. A pro price is evaluated with the Max plan as
recommended; when that Max would sit too close to the pro price,
Max is re-priced or left out, as the recommendation does when it
moves Pro, and the rendered text says which. A max price in the
same request does not change this, so a pro item is the same as
for that pro price alone. A max price must be above Pro's
price, and is evaluated with this request's pro price if it has
one. Absent: none, and planOptions.evaluatedPlanPrices is empty.
4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4225 class PlanOptions < Struct.new( :pricing_model_preference, :free_tier_inclusion, :max_tier_inclusion, :annual_plan_inclusion, :credit_pack_inclusion, :plan_prices, :published_price) SENSITIVE = [:plan_prices, :published_price] include Aws::Structure end |
#pricing_model_preference ⇒ String
Pricing model to use instead of letting the service choose.
planOptions.preferenceOutcome in the response says whether it was
used. Absent: the service chooses (preferenceOutcome
NOT_REQUESTED). PER_USE_SPLIT needs two or more actions. PER_USE
or PER_USE_SPLIT with freeTierInclusion, maxTierInclusion or
annualPlanInclusion INCLUDE is rejected, and so is FLAT with
freeTierInclusion INCLUDE.
4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4225 class PlanOptions < Struct.new( :pricing_model_preference, :free_tier_inclusion, :max_tier_inclusion, :annual_plan_inclusion, :credit_pack_inclusion, :plan_prices, :published_price) SENSITIVE = [:plan_prices, :published_price] include Aws::Structure end |
#published_price ⇒ Types::PublishedPrice
Your current or intended monthly price, in USD (another currencyCode
is rejected). Shown for comparison, except when no action has a
value basis and no comparables are used: then it is the recommended
price, raised to cost to serve at the lowest margin in
costs.margins (0, which is cost, when margins are omitted) when it
is below that. Absent: no price is shown for comparison, and the
price comes from the value estimate, comparables or cost.
4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4225 class PlanOptions < Struct.new( :pricing_model_preference, :free_tier_inclusion, :max_tier_inclusion, :annual_plan_inclusion, :credit_pack_inclusion, :plan_prices, :published_price) SENSITIVE = [:plan_prices, :published_price] include Aws::Structure end |