View Source GoogleApi.AndroidPublisher.V3.Model.UpgradeTargetingRule (google_api_android_publisher v0.34.1)
Represents a targeting rule of the form: User currently has {scope} [with billing period {billing_period}].
Attributes
-
billingPeriodDuration
(type:String.t
, default:nil
) - The specific billing period duration, specified in ISO 8601 format, that a user must be currently subscribed to to be eligible for this rule. If not specified, users subscribed to any billing period are matched. -
oncePerUser
(type:boolean()
, default:nil
) - Limit this offer to only once per user. If set to true, a user can never be eligible for this offer again if they ever subscribed to this offer. -
scope
(type:GoogleApi.AndroidPublisher.V3.Model.TargetingRuleScope.t
, default:nil
) - Required. The scope of subscriptions this rule considers. Only allows "this subscription" and "specific subscription in app".
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AndroidPublisher.V3.Model.UpgradeTargetingRule{ billingPeriodDuration: String.t() | nil, oncePerUser: boolean() | nil, scope: GoogleApi.AndroidPublisher.V3.Model.TargetingRuleScope.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.