Class: Aws::AppMonetization::Types::Comparable

Inherits:
Struct
  • Object
show all
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

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.

Returns:

  • (Float)


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.

Returns:

  • (Hash<String,Float>)


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.

Returns:

  • (Float)


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.

Returns:

  • (String)


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).

Returns:

  • (String)


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).

Returns:

  • (Float)


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.

Returns:



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.

Returns:

  • (Float)


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.

Returns:

  • (String)


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