1 | <?php |
||
21 | class Contacts extends Objects |
||
22 | { |
||
23 | /** |
||
24 | * @inheritdoc |
||
25 | */ |
||
26 | public function getObjectLabel(): string |
||
30 | |||
31 | /** |
||
32 | * @inheritdoc |
||
33 | */ |
||
34 | public static function displayName(): string |
||
38 | |||
39 | /** |
||
40 | * @inheritdoc |
||
41 | */ |
||
42 | public static function defaultSelectionLabel(): string |
||
46 | |||
47 | /** |
||
48 | * @inheritdoc |
||
49 | * @throws \flipbox\craft\integration\exceptions\ConnectionNotFound |
||
50 | */ |
||
51 | protected function upsertToHubSpot( |
||
62 | |||
63 | /** |
||
64 | * @inheritdoc |
||
65 | * @throws \flipbox\craft\integration\exceptions\ConnectionNotFound |
||
66 | * @throws \Exception |
||
67 | */ |
||
68 | public function readFromHubSpot( |
||
77 | |||
78 | /** |
||
79 | * @inheritDoc |
||
80 | * @return bool |
||
81 | * @throws \Throwable |
||
82 | */ |
||
83 | protected function handleSyncToHubSpotResponse( |
||
107 | |||
108 | /** |
||
109 | * @param ResponseInterface $response |
||
110 | * @return string|null |
||
111 | */ |
||
112 | protected function getObjectIdFromResponse(ResponseInterface $response) |
||
122 | } |
||
123 |