Skip to content

Conversation

lukasz-falda
Copy link
Member

No description provided.

@@ -7,6 +7,7 @@
public function __construct(
public string $id,
public string $type,
public string $state,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is some state like "boxnow-ready"


public function getHeaders(): array
{
return [];
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no authorization required for this, but I'll confirm that

@@ -25,6 +25,7 @@ public function handleData(array $data): void
$this->pickupPoints[] = new PickupPointDTO(
$pickupPoint['id'],
$pickupPoint['state'],
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in this response there is no type, only state.
Previously as "type" we set "state" so i left it as is

@lukasz-falda lukasz-falda force-pushed the apms-by-region branch 2 times, most recently from 8d7e76f to 7f7772b Compare June 27, 2025 10:18
@lukasz-falda lukasz-falda marked this pull request as ready for review June 27, 2025 11:39
@yekovalenkoa yekovalenkoa self-requested a review June 27, 2025 12:29

public function getEndpoint(): string
{
return str_replace('REGION_PLACEHOLDER', $this->region->value, self::ENDPOINT);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not sprintf? 🤔

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a placeholder is better to show what exactly I'm doing

@jrawska jrawska self-requested a review June 30, 2025 05:51
@lukasz-falda lukasz-falda merged commit 8e7a1c3 into main Jun 30, 2025
2 checks passed
@lukasz-falda lukasz-falda deleted the apms-by-region branch June 30, 2025 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants