Skip to main content

CancelBranchRequest Constructors

An object defining constructors for the CancelBranchRequest class.

CancelBranchRequest()​

Initializes a new instance of the CancelBranchRequest class.


CancelBranchRequest(secretKey, branchSecretKey)​

Initializes a new instance of the CancelBranchRequest class with security information.

Parameters:​

secretKey (required): string
The encrypted secret key for the object containing the branch.

branchSecretKey (required): string
The encrypted secret key for the branch being cancelled.

This constructor creates a new CancelBranchRequest instance with the provided security keys. It initializes both the object and branch security information required for the cancellation process.