completeActivation static method

(GemError, String) completeActivation(
  1. String activationResponseBlob
)

Completes an activation that required an extra manual step.

Used when the activation flow required an out-of-band/manual request. Pass the activationResponseBlob obtained from the manual activation service call to finalize the activation locally.

Parameters

  • activationResponseBlob: The response blob returned by the activation service as described in the manual activation instructions.

Returns

Also see:

Implementation

static (GemError, String) completeActivation(
  final String activationResponseBlob,
) {
  final OperationResult resultString = staticMethod(
    'ActivationService',
    'completeActivation',
    args: activationResponseBlob,
  );

  return (
    GemErrorExtension.fromCode(resultString['result']['first']),
    resultString['result']['second'],
  );
}