Class: Aws::AppMonetization::Types::Comparable
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMonetization::Types::Comparable
- Defined in:
- gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb
Overview
A comparable app, read from its public pricing page. Give quality or
features: one of them is required.
Constant Summary collapse
- SENSITIVE =
[:overage_rate]
Instance Attribute Summary collapse
-
#cap ⇒ Float
Monthly usage cap of the free tier, for FREE_CAPPED and FREEMIUM.
-
#features ⇒ Hash<String,Float>
Its scores on the characteristics in
features, instead ofquality. -
#included_units ⇒ Float
For PAID_SUB: units of this app's billable action the plan includes per month.
-
#mechanism ⇒ String
How the comparable charges.
-
#name ⇒ String
Short name of the comparable app.
-
#overage_rate ⇒ Float
For PAID_SUB with
includedUnits: price per unit past the allowance, in USD. -
#price ⇒ Types::Price
Its price: per month for PAID_SUB, per use for PER_REQUEST, 0 for FREE_CAPPED and FREEMIUM, the one-time price for ONE_TIME.
-
#quality ⇒ Float
How good it is compared with this app, where this app is 1.
-
#url ⇒ String
The public pricing page the price was read from.
Instance Attribute Details
#cap ⇒ Float
Monthly usage cap of the free tier, for FREE_CAPPED and FREEMIUM. A free tier without a cap is not used.
781 782 783 784 785 786 787 788 789 790 791 792 793 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 781 class Comparable < Struct.new( :name, :url, :mechanism, :price, :cap, :included_units, :overage_rate, :quality, :features) SENSITIVE = [:overage_rate] include Aws::Structure end |
#features ⇒ Hash<String,Float>
Its scores on the characteristics in features, instead of
quality. Required when quality is absent.
781 782 783 784 785 786 787 788 789 790 791 792 793 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 781 class Comparable < Struct.new( :name, :url, :mechanism, :price, :cap, :included_units, :overage_rate, :quality, :features) SENSITIVE = [:overage_rate] include Aws::Structure end |
#included_units ⇒ Float
For PAID_SUB: units of this app's billable action the plan
includes per month. With overageRate, a customer pays the plan
price plus overage at their own usage; without it, the plan stops at
this allowance. Absent: the plan price covers any usage.
781 782 783 784 785 786 787 788 789 790 791 792 793 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 781 class Comparable < Struct.new( :name, :url, :mechanism, :price, :cap, :included_units, :overage_rate, :quality, :features) SENSITIVE = [:overage_rate] include Aws::Structure end |
#mechanism ⇒ String
How the comparable charges.
781 782 783 784 785 786 787 788 789 790 791 792 793 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 781 class Comparable < Struct.new( :name, :url, :mechanism, :price, :cap, :included_units, :overage_rate, :quality, :features) SENSITIVE = [:overage_rate] include Aws::Structure end |
#name ⇒ String
Short name of the comparable app. Absent: the host of url,
lowercased, without a leading www.; when two comparables get the
same name, the later ones get (2), (3).
781 782 783 784 785 786 787 788 789 790 791 792 793 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 781 class Comparable < Struct.new( :name, :url, :mechanism, :price, :cap, :included_units, :overage_rate, :quality, :features) SENSITIVE = [:overage_rate] include Aws::Structure end |
#overage_rate ⇒ Float
For PAID_SUB with includedUnits: price per unit past the
allowance, in USD. Absent: the plan stops at includedUnits (no
overage).
781 782 783 784 785 786 787 788 789 790 791 792 793 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 781 class Comparable < Struct.new( :name, :url, :mechanism, :price, :cap, :included_units, :overage_rate, :quality, :features) SENSITIVE = [:overage_rate] include Aws::Structure end |
#price ⇒ Types::Price
Its price: per month for PAID_SUB, per use for PER_REQUEST, 0 for FREE_CAPPED and FREEMIUM, the one-time price for ONE_TIME. USD only: another currencyCode is rejected.
781 782 783 784 785 786 787 788 789 790 791 792 793 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 781 class Comparable < Struct.new( :name, :url, :mechanism, :price, :cap, :included_units, :overage_rate, :quality, :features) SENSITIVE = [:overage_rate] include Aws::Structure end |
#quality ⇒ Float
How good it is compared with this app, where this app is 1.
781 782 783 784 785 786 787 788 789 790 791 792 793 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 781 class Comparable < Struct.new( :name, :url, :mechanism, :price, :cap, :included_units, :overage_rate, :quality, :features) SENSITIVE = [:overage_rate] include Aws::Structure end |
#url ⇒ String
The public pricing page the price was read from.
781 782 783 784 785 786 787 788 789 790 791 792 793 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 781 class Comparable < Struct.new( :name, :url, :mechanism, :price, :cap, :included_units, :overage_rate, :quality, :features) SENSITIVE = [:overage_rate] include Aws::Structure end |