View Source GoogleApi.AndroidPublisher.V3.Model.UpdateSubscriptionOfferStateRequest (google_api_android_publisher v0.34.1)

Request message to update the state of a subscription offer.

Attributes

  • activateSubscriptionOfferRequest (type: GoogleApi.AndroidPublisher.V3.Model.ActivateSubscriptionOfferRequest.t, default: nil) - Activates an offer. Once activated, the offer will be available to new subscribers.
  • deactivateSubscriptionOfferRequest (type: GoogleApi.AndroidPublisher.V3.Model.DeactivateSubscriptionOfferRequest.t, default: nil) - Deactivates an offer. Once deactivated, the offer will become unavailable to new subscribers, but existing subscribers will maintain their subscription

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidPublisher.V3.Model.UpdateSubscriptionOfferStateRequest{
  activateSubscriptionOfferRequest:
    GoogleApi.AndroidPublisher.V3.Model.ActivateSubscriptionOfferRequest.t()
    | nil,
  deactivateSubscriptionOfferRequest:
    GoogleApi.AndroidPublisher.V3.Model.DeactivateSubscriptionOfferRequest.t()
    | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.