PartnersSubscriptionsResource class

Constructors

PartnersSubscriptionsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel(GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest request, String name, {String? $fields}) Future<GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse>
Used by partners to cancel a subscription service either immediately or by the end of the current billing cycle for their customers.
create(GoogleCloudPaymentsResellerSubscriptionV1Subscription request, String parent, {String? subscriptionId, String? $fields}) Future<GoogleCloudPaymentsResellerSubscriptionV1Subscription>
Used by partners to create a subscription for their customers.
entitle(GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest request, String name, {String? $fields}) Future<GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse>
Used by partners to entitle a previously provisioned subscription to the current end user.
extend(GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionRequest request, String name, {String? $fields}) Future<GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse>
[Opt-in only] Most partners should be on auto-extend by default.
get(String name, {String? $fields}) Future<GoogleCloudPaymentsResellerSubscriptionV1Subscription>
Used by partners to get a subscription by id.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
provision(GoogleCloudPaymentsResellerSubscriptionV1Subscription request, String parent, {String? subscriptionId, String? $fields}) Future<GoogleCloudPaymentsResellerSubscriptionV1Subscription>
Used by partners to provision a subscription for their customers.
toString() String
A string representation of this object.
inherited
undoCancel(GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest request, String name, {String? $fields}) Future<GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse>
Used by partners to revoke the pending cancellation of a subscription, which is currently in STATE_CANCEL_AT_END_OF_CYCLE state.

Operators

operator ==(Object other) bool
The equality operator.
inherited