SubscriptionHelperTerminateSubscription Method |
Terminates the subscription.
Namespace:
Atomia.Billing.Core.Sdk.BusinessLogic
Assembly:
Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax public static Subscription TerminateSubscription(
Guid subscriptionId,
string reason,
IAtomiaBillingApi atomiaBillingApi
)
Public Shared Function TerminateSubscription (
subscriptionId As Guid,
reason As String,
atomiaBillingApi As IAtomiaBillingApi
) As Subscription
public:
static Subscription^ TerminateSubscription(
Guid subscriptionId,
String^ reason,
IAtomiaBillingApi^ atomiaBillingApi
)
static member TerminateSubscription :
subscriptionId : Guid *
reason : string *
atomiaBillingApi : IAtomiaBillingApi -> Subscription
Parameters
- subscriptionId
- Type: SystemGuid
The subscription id. - reason
- Type: SystemString
The reason. - atomiaBillingApi
- Type: Atomia.Billing.Core.SdkIAtomiaBillingApi
The atomia billing API.
Return Value
Type:
SubscriptionTerminated subscription.
See Also