You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/payments_reseller_subscription/lib/google_api/payments_reseller_subscription/v1/api/partners.ex
+158Lines changed: 158 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -746,6 +746,164 @@ defmodule GoogleApi.PaymentsResellerSubscription.V1.Api.Partners do
746
746
)
747
747
end
748
748
749
+
@doc"""
750
+
Resumes a suspended subscription. The new billing cycle will start at the time of the request. It should be called directly by the partner using service accounts.
751
+
752
+
## Parameters
753
+
754
+
* `connection` (*type:* `GoogleApi.PaymentsResellerSubscription.V1.Connection.t`) - Connection to server
755
+
* `name` (*type:* `String.t`) - Required. The name of the subscription resource to be resumed. It will have the format of "partners/{partner_id}/subscriptions/{subscription_id}"
* `:alt` (*type:* `String.t`) - Data format for response.
760
+
* `:callback` (*type:* `String.t`) - JSONP
761
+
* `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.
762
+
* `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
763
+
* `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.
764
+
* `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.
765
+
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
766
+
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
767
+
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
Suspends a subscription. Contract terms may dictate if a prorated refund will be issued upon suspension. It should be called directly by the partner using service accounts.
830
+
831
+
## Parameters
832
+
833
+
* `connection` (*type:* `GoogleApi.PaymentsResellerSubscription.V1.Connection.t`) - Connection to server
834
+
* `name` (*type:* `String.t`) - Required. The name of the subscription resource to be suspended. It will have the format of "partners/{partner_id}/subscriptions/{subscription_id}"
* `:alt` (*type:* `String.t`) - Data format for response.
839
+
* `:callback` (*type:* `String.t`) - JSONP
840
+
* `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.
841
+
* `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
842
+
* `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.
843
+
* `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.
844
+
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
845
+
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
846
+
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
Currently, it is used by **Google One, Play Pass** partners. Revokes the pending cancellation of a subscription, which is currently in `STATE_CANCEL_AT_END_OF_CYCLE` state. If the subscription is already cancelled, the request will fail. It should be called directly by the partner using service accounts.
0 commit comments