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
)
Public Shared Function ReactivateAccount (
accountId As Guid,
terminationOrigin As TerminationOrigin,
reason As String,
creatorAccountId As Guid,
forceReactivation As Boolean,
atomiaBillingApi As IAtomiaBillingApi
) As Boolean
public:
static bool ReactivateAccount(
Guid accountId,
TerminationOrigin^ terminationOrigin,
String^ reason,
Guid creatorAccountId,
bool forceReactivation,
IAtomiaBillingApi^ atomiaBillingApi
)
static member ReactivateAccount :
accountId : Guid *
terminationOrigin : TerminationOrigin *
reason : string *
creatorAccountId : Guid *
forceReactivation : bool *
atomiaBillingApi : IAtomiaBillingApi -> bool
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:
Booleantrue if reactivation is allowed, otherwise
false.
See Also