additionalData
for a given vaultedPaymentMethodId
.
validate
method performs validation operation for the given vaultedPaymentMethodId
and additionalData
.
Returns a result object of type Result.
The Result class represents the outcome of the operation, indicating success
or failure
.
By inspecting the returned Result object, you can determine the success or failure of the validation.
This allows you to handle different scenarios based on the result.
validate
function, you can validate the CVV collected from the user by passing
PrimerVaultedCardAdditionalData(cvv: ...)
as the additionalData
parameter.