Class: Aws::AppMonetization::Types::PlanPrice

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb

Overview

A price to evaluate for one recommended plan, or for one action's rate on the pay-as-you-go plan.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#action_name ⇒ String

With pay_as_you_go only: the action this rate is for, one of actions[].name; the other actions keep their recommended rates. Absent on pay_as_you_go: one rate for every charged action, accepted only when pricingModel is PER_USE.

Returns:

  • (String)


4294
4295
4296
4297
4298
4299
4300
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4294

class PlanPrice < Struct.new(
  :plan_code,
  :action_name,
  :price)
  SENSITIVE = []
  include Aws::Structure
end

#plan_code ⇒ String

Plan code as returned in plans, for example pro. Each plan code appears once.

Returns:

  • (String)


4294
4295
4296
4297
4298
4299
4300
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4294

class PlanPrice < Struct.new(
  :plan_code,
  :action_name,
  :price)
  SENSITIVE = []
  include Aws::Structure
end

#price ⇒ Types::Price

Price per billing cycle, or per use for pay_as_you_go (at least 0.01). A whole number of cents. USD only: another currencyCode is rejected.

Returns:



4294
4295
4296
4297
4298
4299
4300
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4294

class PlanPrice < Struct.new(
  :plan_code,
  :action_name,
  :price)
  SENSITIVE = []
  include Aws::Structure
end