AccountsHelperCreateAccountTerminationRequest Method |
Creates new account termination request.
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 AccountTerminationRequest CreateAccountTerminationRequest(
Guid customerId,
AccountStatusChangeRequestStatusType status,
DateTime date,
TerminationOption terminationOption,
TerminationOrigin terminationOrigin,
string reason,
IList<AccountStatusChangeRequestCustomAttribute> customAttributes,
Guid creatorAccountId
)
Public Shared Function CreateAccountTerminationRequest (
customerId As Guid,
status As AccountStatusChangeRequestStatusType,
date As DateTime,
terminationOption As TerminationOption,
terminationOrigin As TerminationOrigin,
reason As String,
customAttributes As IList(Of AccountStatusChangeRequestCustomAttribute),
creatorAccountId As Guid
) As AccountTerminationRequest
public:
static AccountTerminationRequest^ CreateAccountTerminationRequest(
Guid customerId,
AccountStatusChangeRequestStatusType status,
DateTime date,
TerminationOption terminationOption,
TerminationOrigin^ terminationOrigin,
String^ reason,
IList<AccountStatusChangeRequestCustomAttribute^>^ customAttributes,
Guid creatorAccountId
)
static member CreateAccountTerminationRequest :
customerId : Guid *
status : AccountStatusChangeRequestStatusType *
date : DateTime *
terminationOption : TerminationOption *
terminationOrigin : TerminationOrigin *
reason : string *
customAttributes : IList<AccountStatusChangeRequestCustomAttribute> *
creatorAccountId : Guid -> AccountTerminationRequest
Parameters
- customerId
- Type: SystemGuid
The customer id. - status
- Type: Atomia.Billing.Core.Sdk.BusinessObjectsAccountStatusChangeRequestStatusType
The request status. - date
- Type: SystemDateTime
The request date. - terminationOption
- Type: Atomia.Billing.Core.Sdk.BusinessObjectsTerminationOption
The termination option. - terminationOrigin
- Type: Atomia.Billing.Core.Sdk.BusinessObjectsTerminationOrigin
The termination origin. - reason
- Type: SystemString
The reason. - customAttributes
- Type: System.Collections.GenericIListAccountStatusChangeRequestCustomAttribute
The custom attributes. - creatorAccountId
- Type: SystemGuid
The creator account id.
Return Value
Type:
AccountTerminationRequestCreated request.
See Also