Class VouchersResolver

  • All Implemented Interfaces:
    BooleanPropertiesResolver<VoucherConfiguration>, ProductsResolver<BooleanPropertiesHolder<VoucherConfiguration>,​Void>

    public final class VouchersResolver
    extends BaseVouchersResolver
    Resolves the relationship between a member/admin product and vouchers We must use the same resolver for admins and members because the property is the same: "vouchers" for both accessors. If we use different resolvers but do not rename the property then the incorrect resolver could be used (e.g the admin resolver could be used to resolve the voucher configurations for member products), this is due to the product accessor implementation actually implements all *ProductAccessor interfaces.