* } $attributes The order data: * - billing_address: Billing address (ISO 3166-1 alpha-2 country code) * - shipping_address: Shipping address (first name, last name, ISO 3166-1 alpha-2 country code) * - items: Array of order items (each with type, name, price, unit, units, and quantity) * @throws Throwable */ public function create(array $attributes = []): Order { return (new Order(fn() => $this->billable->request('POST', 'v1/orders', $attributes))) ->setBillable($this->billable); } /** * Get given order from the current user. * * @throws Throwable */ public function find(string $id): ?Order { return (new Order(fn() => $this->billable->request('GET', sprintf('v1/orders/%s', $id)))) ->setBillable($this->billable); } }