Class: Aws::AppMonetization::Types::Subscription
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMonetization::Types::Subscription
- Defined in:
- gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb
Overview
A user's subscription to a plan for an app.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#app_id ⇒ String
The ID of the app that the subscription belongs to.
-
#billing_anchor_date ⇒ Time
The fixed reference instant the recurring billing cycle is measured from.
-
#billing_cycle ⇒ String
The billing cycle of the subscription, such as monthly or annual.
-
#effective_at ⇒ Time
The time when the subscription took effect.
-
#plan_id ⇒ String
The ID of the plan that the user is subscribed to.
-
#user_id ⇒ String
The opaque end-user identifier that the subscription belongs to.
Instance Attribute Details
#app_id ⇒ String
The ID of the app that the subscription belongs to.
5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5079 class Subscription < Struct.new( :app_id, :user_id, :plan_id, :effective_at, :billing_anchor_date, :billing_cycle) SENSITIVE = [] include Aws::Structure end |
#billing_anchor_date ⇒ Time
The fixed reference instant the recurring billing cycle is measured
from. It is set when the subscription first takes effect and stays
fixed as periods roll forward, so it is normally an older date than
the current period — not the start of the current period. For the
end of the current cycle, use currentPeriodEndsAt on
GetSubscriptionResponse (derived from this anchor and the billing
cycle) rather than this value.
5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5079 class Subscription < Struct.new( :app_id, :user_id, :plan_id, :effective_at, :billing_anchor_date, :billing_cycle) SENSITIVE = [] include Aws::Structure end |
#billing_cycle ⇒ String
The billing cycle of the subscription, such as monthly or annual.
5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5079 class Subscription < Struct.new( :app_id, :user_id, :plan_id, :effective_at, :billing_anchor_date, :billing_cycle) SENSITIVE = [] include Aws::Structure end |
#effective_at ⇒ Time
The time when the subscription took effect.
5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5079 class Subscription < Struct.new( :app_id, :user_id, :plan_id, :effective_at, :billing_anchor_date, :billing_cycle) SENSITIVE = [] include Aws::Structure end |
#plan_id ⇒ String
The ID of the plan that the user is subscribed to.
5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5079 class Subscription < Struct.new( :app_id, :user_id, :plan_id, :effective_at, :billing_anchor_date, :billing_cycle) SENSITIVE = [] include Aws::Structure end |
#user_id ⇒ String
The opaque end-user identifier that the subscription belongs to.
5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5079 class Subscription < Struct.new( :app_id, :user_id, :plan_id, :effective_at, :billing_anchor_date, :billing_cycle) SENSITIVE = [] include Aws::Structure end |