Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions init.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@
require_once __DIR__ . '/src/Component/Entity/ShipmentPackageWithHistory.php';
require_once __DIR__ . '/src/Component/Entity/ShipmentPackageWithHistory/History.php';
require_once __DIR__ . '/src/Component/Entity/ShipmentPrice.php';
require_once __DIR__ . '/src/Component/Entity/ShipmentSenderRecipientAddress.php';
require_once __DIR__ . '/src/Component/Entity/Shipping.php';
require_once __DIR__ . '/src/Component/Entity/Stock.php';
require_once __DIR__ . '/src/Component/Entity/StockList.php';
Expand Down
103 changes: 103 additions & 0 deletions src/Component/Entity/ShipmentSenderRecipientAddress.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
<?php

namespace Shoptet\Api\Sdk\Php\Component\Entity;

class ShipmentSenderRecipientAddress extends Entity
{
protected ?string $name;
protected ?string $company;
protected ?string $street;
protected ?string $city;
protected ?string $zip;
protected ?string $countryCode;
protected ?string $phone;
protected ?string $email;

public function getName(): ?string
{
return $this->name;
}

public function setName(?string $name): static
{
$this->name = $name;
return $this;
}

public function getCompany(): ?string
{
return $this->company;
}

public function setCompany(?string $company): static
{
$this->company = $company;
return $this;
}

public function getStreet(): ?string
{
return $this->street;
}

public function setStreet(?string $street): static
{
$this->street = $street;
return $this;
}

public function getCity(): ?string
{
return $this->city;
}

public function setCity(?string $city): static
{
$this->city = $city;
return $this;
}

public function getZip(): ?string
{
return $this->zip;
}

public function setZip(?string $zip): static
{
$this->zip = $zip;
return $this;
}

public function getCountryCode(): ?string
{
return $this->countryCode;
}

public function setCountryCode(?string $countryCode): static
{
$this->countryCode = $countryCode;
return $this;
}

public function getPhone(): ?string
{
return $this->phone;
}

public function setPhone(?string $phone): static
{
$this->phone = $phone;
return $this;
}

public function getEmail(): ?string
{
return $this->email;
}

public function setEmail(?string $email): static
{
$this->email = $email;
return $this;
}
}
Loading