Click or drag to resize

AccountsHelperReactivateAccount Method

Checks if reactivation is possible for customer with id accountId.

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 bool ReactivateAccount(
	Guid accountId,
	TerminationOrigin terminationOrigin,
	string reason,
	Guid creatorAccountId,
	bool forceReactivation,
	IAtomiaBillingApi atomiaBillingApi
)

Parameters

accountId
Type: SystemGuid
The account id.
terminationOrigin
Type: Atomia.Billing.Core.Sdk.BusinessObjectsTerminationOrigin
The termination origin.
reason
Type: SystemString
The reason.
creatorAccountId
Type: SystemGuid
The creator account id.
forceReactivation
Type: SystemBoolean
The force reactivation flag.
atomiaBillingApi
Type: Atomia.Billing.Core.SdkIAtomiaBillingApi
The atomia billing API.

Return Value

Type: Boolean
true if reactivation is allowed, otherwise false.
See Also