GoogleApi.AndroidPublisher.V3.Model.InstallmentsBasePlanType (google_api_android_publisher v0.43.0)
View SourceRepresents an installments base plan where a user commits to a specified number of payments.
Attributes
-
accountHoldDuration
(type:String.t
, default:nil
) - Optional. Account hold period of the subscription, specified in ISO 8601 format. Acceptable values must be in days and between P0D and P60D. If not specified, the default value is P30D. The sum of gracePeriodDuration and accountHoldDuration must be between P30D and P60D days, inclusive. -
billingPeriodDuration
(type:String.t
, default:nil
) - Required. Immutable. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center. The duration is immutable after the base plan is created. -
committedPaymentsCount
(type:integer()
, default:nil
) - Required. Immutable. The number of payments the user is committed to. It is immutable after the base plan is created. -
gracePeriodDuration
(type:String.t
, default:nil
) - Grace period of the subscription, specified in ISO 8601 format. Acceptable values must be in days and between P0D and the lesser of 30D and base plan billing period. If not specified, a default value will be used based on the billing period. The sum of gracePeriodDuration and accountHoldDuration must be between P30D and P60D days, inclusive. -
prorationMode
(type:String.t
, default:nil
) - The proration mode for the base plan determines what happens when a user switches to this plan from another base plan. If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE. -
renewalType
(type:String.t
, default:nil
) - Required. Immutable. Installments base plan renewal type. Determines the behavior at the end of the initial commitment. The renewal type is immutable after the base plan is created. -
resubscribeState
(type:String.t
, default:nil
) - Whether users should be able to resubscribe to this base plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AndroidPublisher.V3.Model.InstallmentsBasePlanType{ accountHoldDuration: String.t() | nil, billingPeriodDuration: String.t() | nil, committedPaymentsCount: integer() | nil, gracePeriodDuration: String.t() | nil, prorationMode: String.t() | nil, renewalType: String.t() | nil, resubscribeState: String.t() | nil }