Class: Aws::AppMonetization::Types::OneTimePriceDefinition

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

Overview

The definition of a one-time price, including its display name, price, and the metric capacity each purchase credits.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#capacity ⇒ Integer

The units of metricId one purchase credits.

Returns:

  • (Integer)


3940
3941
3942
3943
3944
3945
3946
3947
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3940

class OneTimePriceDefinition < Struct.new(
  :name,
  :price,
  :metric_id,
  :capacity)
  SENSITIVE = []
  include Aws::Structure
end

#metric_id ⇒ String

The metric one purchase credits.

Returns:

  • (String)


3940
3941
3942
3943
3944
3945
3946
3947
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3940

class OneTimePriceDefinition < Struct.new(
  :name,
  :price,
  :metric_id,
  :capacity)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

A human-readable display name for the one-time price.

Returns:

  • (String)


3940
3941
3942
3943
3944
3945
3946
3947
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3940

class OneTimePriceDefinition < Struct.new(
  :name,
  :price,
  :metric_id,
  :capacity)
  SENSITIVE = []
  include Aws::Structure
end

#price ⇒ Types::Price

The amount and currency charged for one purchase of the one-time price.

Returns:



3940
3941
3942
3943
3944
3945
3946
3947
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3940

class OneTimePriceDefinition < Struct.new(
  :name,
  :price,
  :metric_id,
  :capacity)
  SENSITIVE = []
  include Aws::Structure
end