Class: Aws::AppMonetization::Types::SubscriptionSummary
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMonetization::Types::SubscriptionSummary
- Defined in:
- gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb
Overview
A summary of a user's subscription to a plan for an app, read from the user's latest subscription record. While a change is scheduled, planId, effectiveAt and billingCycle describe the scheduled change. Call GetSubscription for the subscription in effect.
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 on the user's latest subscription record.
-
#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.
5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5165 class SubscriptionSummary < 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. The
resolved current-period end (currentPeriodEndsAt) is available on
GetSubscription for a single user; this summary carries only the
anchor.
5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5165 class SubscriptionSummary < 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.
5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5165 class SubscriptionSummary < 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.
5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5165 class SubscriptionSummary < 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 on the user's latest subscription record. If a plan change is scheduled, this is the plan the subscription moves to; if a cancellation is scheduled or has taken effect, it is absent. Call GetSubscription for the plan in effect.
5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5165 class SubscriptionSummary < 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.
5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5165 class SubscriptionSummary < Struct.new( :app_id, :user_id, :plan_id, :effective_at, :billing_anchor_date, :billing_cycle) SENSITIVE = [] include Aws::Structure end |