$merchant Merchant identity. * @param array $billing Billing identity/address. * @param array $shipping Shipping identity/address. * @param array> $items Historical Woo order-line values. */ public function __construct( private readonly int $order_id, private readonly string $order_number, private readonly string $order_date, private readonly string $language, private readonly string $currency, private readonly array $merchant, private readonly array $billing, private readonly array $shipping, private readonly array $items, private readonly string $subtotal, private readonly string $discount, private readonly string $shipping_total, private readonly string $tax_total, private readonly string $total, private readonly string $payment_method, private readonly string $shipping_method, private readonly string $preview_label = '' ) {} public function order_id(): int { return $this->order_id; } public function order_number(): string { return $this->order_number; } public function order_date(): string { return $this->order_date; } public function language(): string { return $this->language; } public function currency(): string { return $this->currency; } /** @return array */ public function merchant(): array { return $this->merchant; } /** @return array */ public function billing(): array { return $this->billing; } /** @return array */ public function shipping(): array { return $this->shipping; } /** @return array> */ public function items(): array { return $this->items; } public function subtotal(): string { return $this->subtotal; } public function discount(): string { return $this->discount; } public function shipping_total(): string { return $this->shipping_total; } public function tax_total(): string { return $this->tax_total; } public function total(): string { return $this->total; } public function payment_method(): string { return $this->payment_method; } public function shipping_method(): string { return $this->shipping_method; } public function preview_label(): string { return $this->preview_label; } }