GetConsentsRequest

Request object for fetching user consents

Request object for fetching user consents.

Constructors

Constructor

new GetConsentsRequest(data): GetConsentsRequest

Parameters

data

GetConsentsRequestInput

Returns

GetConsentsRequest

Inherited from

ValidationRequest<GetConsentsRequestInput>.constructor

Methods

data()

data(): GetConsentsRequestInput

Returns data encapsulated by the Request

Returns

GetConsentsRequestInput

Inherited from

ValidationRequest.data


toJSON()

toJSON(): GetConsentsRequestInput

Method to allow JSON serializers to only serialize the wrapped request data without serializing any of the Request object data

Returns

GetConsentsRequestInput

See

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#description

Inherited from

ValidationRequest.toJSON


validate()

validate(): BWellTransactionResult<null, ValidationError>

Validate the request.

Returns

BWellTransactionResult<null, ValidationError>

a BWellTransactionResult describing any validation errors found

Inherited from

ValidationRequest.validate