ShippingQueryBehaviour
Quoting delivery for an order that asked for a shipping address.
Tags
Table of Contents
Methods
- answer() : PromiseInterface<string|int, bool>
- Offers shipping options, or explains why delivery is not possible.
Methods
answer()
Offers shipping options, or explains why delivery is not possible.
public
answer([bool $ok = true ][, array<int, array<string, mixed>|JsonSerializable>|null $options = null ][, ?string $errorMessage = null ]) : PromiseInterface<string|int, bool>
Parameters
- $ok : bool = true
- $options : array<int, array<string, mixed>|JsonSerializable>|null = null
-
Shipping options, when accepting.
- $errorMessage : ?string = null