public class ValidationsModule.ExtAsync
extends pl.rspective.voucherify.client.module.AbsModule.Async
| Constructor and Description |
|---|
ExtAsync() |
| Modifier and Type | Method and Description |
|---|---|
void |
validateVoucher(java.lang.String code,
VoucherValidationContext validationContext,
VoucherifyCallback<VoucherValidationResult> callback)
Validates given voucher code against the customer.
|
public void validateVoucher(java.lang.String code,
VoucherValidationContext validationContext,
VoucherifyCallback<VoucherValidationResult> callback)
code - code of the vouchervalidationContext - a context in terms of which the voucher is being validated (e.g. customer profile)