EvaluateSuggestion
in package
Evaluates the spec and returns the evaluated suggestion.
Table of Contents
- evaluate() : object
- Evaluates the spec and returns the suggestion.
- evaluate_specs() : array<string|int, mixed>
- Evaluates the specs and returns the visible suggestions.
Methods
evaluate()
Evaluates the spec and returns the suggestion.
public
static evaluate(object|array<string|int, mixed> $spec) : object
Parameters
- $spec : object|array<string|int, mixed>
-
The suggestion to evaluate.
Return values
object — The evaluated suggestion.evaluate_specs()
Evaluates the specs and returns the visible suggestions.
public
static evaluate_specs(array<string|int, mixed> $specs) : array<string|int, mixed>
Parameters
- $specs : array<string|int, mixed>
-
payment suggestion spec array.