| Package | Description |
|---|---|
| com.squareup.square.api | |
| com.squareup.square.models |
| Modifier and Type | Method and Description |
|---|---|
CancelSubscriptionResponse |
SubscriptionsApi.cancelSubscription(String subscriptionId)
Schedules a `CANCEL` action to cancel an active subscription by setting the `canceled_date`
field to the end of the active billing period and changing the subscription status from
ACTIVE to CANCELED after this date.
|
CancelSubscriptionResponse |
DefaultSubscriptionsApi.cancelSubscription(String subscriptionId)
Schedules a `CANCEL` action to cancel an active subscription by setting the `canceled_date`
field to the end of the active billing period and changing the subscription status from
ACTIVE to CANCELED after this date.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<CancelSubscriptionResponse> |
SubscriptionsApi.cancelSubscriptionAsync(String subscriptionId)
Schedules a `CANCEL` action to cancel an active subscription by setting the `canceled_date`
field to the end of the active billing period and changing the subscription status from
ACTIVE to CANCELED after this date.
|
CompletableFuture<CancelSubscriptionResponse> |
DefaultSubscriptionsApi.cancelSubscriptionAsync(String subscriptionId)
Schedules a `CANCEL` action to cancel an active subscription by setting the `canceled_date`
field to the end of the active billing period and changing the subscription status from
ACTIVE to CANCELED after this date.
|
| Modifier and Type | Method and Description |
|---|---|
CancelSubscriptionResponse |
CancelSubscriptionResponse.Builder.build()
Builds a new
CancelSubscriptionResponse object using the set fields. |
Copyright © 2022. All rights reserved.