Skip to content

Byd\ApiClient\Service\VehicleService

No PHPDoc description provided.

Type: class
Source: src/Service/VehicleService.php

Public methods

__construct

No PHPDoc description provided.

public function __construct(\Byd\ApiClient\ProtocolClient $protocol, \Byd\ApiClient\Serialization\DtoSerializer $serializer): mixed

all

Return all vehicles associated with the authenticated account.

public function all(): array

get

Find a vehicle by VIN, loading the account list if necessary.

public function get(\Byd\ApiClient\Value\Vin $vin): ?\Byd\ApiClient\Dto\Response\Vehicle