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
5 changes: 5 additions & 0 deletions init.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
require_once __DIR__ . '/src/Component/Entity/OrderItem/DisplayPrices.php';
require_once __DIR__ . '/src/Component/Entity/OrderItem/ItemPriceVatBreakdown.php';
require_once __DIR__ . '/src/Component/Entity/OrderItem/MainImage.php';
require_once __DIR__ . '/src/Component/Entity/OrderItem/MainImage/SignedCdnNames.php';
require_once __DIR__ . '/src/Component/Entity/OrderItem/Status.php';
require_once __DIR__ . '/src/Component/Entity/OrderItem/SurchargeParametersTexts.php';
require_once __DIR__ . '/src/Component/Entity/OrderPreAuthorization.php';
Expand Down Expand Up @@ -193,6 +194,7 @@
require_once __DIR__ . '/src/Component/Entity/Product/Flags/Item.php';
require_once __DIR__ . '/src/Component/Entity/Product/Images.php';
require_once __DIR__ . '/src/Component/Entity/Product/Images/Item.php';
require_once __DIR__ . '/src/Component/Entity/Product/Images/Item/SignedCdnNames.php';
require_once __DIR__ . '/src/Component/Entity/Product/RelatedFiles.php';
require_once __DIR__ . '/src/Component/Entity/Product/RelatedFiles/Item.php';
require_once __DIR__ . '/src/Component/Entity/Product/RelatedProducts.php';
Expand Down Expand Up @@ -1462,6 +1464,7 @@
require_once __DIR__ . '/src/Endpoint/ProductImages/GetListOfProductImagesResponse/GetListOfProductImagesResponse/Data.php';
require_once __DIR__ . '/src/Endpoint/ProductImages/GetListOfProductImagesResponse/GetListOfProductImagesResponse/Data/Images.php';
require_once __DIR__ . '/src/Endpoint/ProductImages/GetListOfProductImagesResponse/GetListOfProductImagesResponse/Data/Images/Item.php';
require_once __DIR__ . '/src/Endpoint/ProductImages/GetListOfProductImagesResponse/GetListOfProductImagesResponse/Data/Images/Item/SignedCdnNames.php';
require_once __DIR__ . '/src/Endpoint/ProductImages/GetProductImagesUpdate.php';
require_once __DIR__ . '/src/Endpoint/ProductImages/GetProductImagesUpdateRequest/GetProductImagesUpdateRequest.php';
require_once __DIR__ . '/src/Endpoint/ProductImages/GetProductImagesUpdateRequest/GetProductImagesUpdateRequest/Data.php';
Expand All @@ -1471,6 +1474,7 @@
require_once __DIR__ . '/src/Endpoint/ProductImages/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse/Data.php';
require_once __DIR__ . '/src/Endpoint/ProductImages/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse/Data/Images.php';
require_once __DIR__ . '/src/Endpoint/ProductImages/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse/Data/Images/Item.php';
require_once __DIR__ . '/src/Endpoint/ProductImages/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse/Data/Images/Item/SignedCdnNames.php';
require_once __DIR__ . '/src/Endpoint/ProductImages/UpdateProductImagesSource.php';
require_once __DIR__ . '/src/Endpoint/ProductImages/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest.php';
require_once __DIR__ . '/src/Endpoint/ProductImages/UpdateProductImagesSourceRequest/UpdateProductImagesSourceRequest/Data.php';
Expand Down Expand Up @@ -1551,6 +1555,7 @@
require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item.php';
require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item/DefaultCategory.php';
require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item/MainImage.php';
require_once __DIR__ . '/src/Endpoint/Products/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item/MainImage/SignedCdnNames.php';
require_once __DIR__ . '/src/Endpoint/Products/GetProductDetail.php';
require_once __DIR__ . '/src/Endpoint/Products/GetProductDetailByCode.php';
require_once __DIR__ . '/src/Endpoint/Products/GetProductDetailByCodeResponse/GetProductDetailByCodeResponse.php';
Expand Down
13 changes: 13 additions & 0 deletions src/Component/Entity/OrderItem/MainImage.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
namespace Shoptet\Api\Sdk\Php\Component\Entity\OrderItem;

use Shoptet\Api\Sdk\Php\Component\Entity\Entity;
use Shoptet\Api\Sdk\Php\Component\Entity\OrderItem\MainImage\SignedCdnNames;
use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable;

class MainImage extends Entity
{
protected string $name;
protected string $seoName;
protected string $cdnName;
protected ?SignedCdnNames $signedCdnNames;
protected int $priority;
protected ?string $description;
protected TypeDateTimeNullable $changeTime;
Expand Down Expand Up @@ -47,6 +49,17 @@ public function setCdnName(string $cdnName): static
return $this;
}

public function getSignedCdnNames(): ?SignedCdnNames
{
return $this->signedCdnNames;
}

public function setSignedCdnNames(?SignedCdnNames $signedCdnNames): static
{
$this->signedCdnNames = $signedCdnNames;
return $this;
}

public function getPriority(): int
{
return $this->priority;
Expand Down
9 changes: 9 additions & 0 deletions src/Component/Entity/OrderItem/MainImage/SignedCdnNames.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

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

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

class SignedCdnNames extends Entity
{
}
13 changes: 13 additions & 0 deletions src/Component/Entity/Product/Images/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
namespace Shoptet\Api\Sdk\Php\Component\Entity\Product\Images;

use Shoptet\Api\Sdk\Php\Component\Entity\Entity;
use Shoptet\Api\Sdk\Php\Component\Entity\Product\Images\Item\SignedCdnNames;
use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable;

class Item extends Entity
{
protected string $name;
protected string $seoName;
protected string $cdnName;
protected ?SignedCdnNames $signedCdnNames;
protected ?int $priority;
protected ?string $description;
protected TypeDateTimeNullable $changeTime;
Expand Down Expand Up @@ -49,6 +51,17 @@ public function setCdnName(string $cdnName): static
return $this;
}

public function getSignedCdnNames(): ?SignedCdnNames
{
return $this->signedCdnNames;
}

public function setSignedCdnNames(?SignedCdnNames $signedCdnNames): static
{
$this->signedCdnNames = $signedCdnNames;
return $this;
}

public function getPriority(): ?int
{
return $this->priority;
Expand Down
9 changes: 9 additions & 0 deletions src/Component/Entity/Product/Images/Item/SignedCdnNames.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

namespace Shoptet\Api\Sdk\Php\Component\Entity\Product\Images\Item;

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

class SignedCdnNames extends Entity
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Shoptet\Api\Sdk\Php\Component\Entity\Entity;
use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable;
use Shoptet\Api\Sdk\Php\Endpoint\ProductImages\GetListOfProductImagesResponse\GetListOfProductImagesResponse\Data\Images\Item\SignedCdnNames;

class Item extends Entity
{
Expand All @@ -13,6 +14,7 @@ class Item extends Entity
protected TypeDateTimeNullable $changeTime;
protected string $seoName;
protected string $cdnName;
protected ?SignedCdnNames $signedCdnNames;
protected bool $isMainImage;
protected string $gallery;

Expand Down Expand Up @@ -82,6 +84,17 @@ public function setCdnName(string $cdnName): static
return $this;
}

public function getSignedCdnNames(): ?SignedCdnNames
{
return $this->signedCdnNames;
}

public function setSignedCdnNames(?SignedCdnNames $signedCdnNames): static
{
$this->signedCdnNames = $signedCdnNames;
return $this;
}

public function isIsMainImage(): bool
{
return $this->isMainImage;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

namespace Shoptet\Api\Sdk\Php\Endpoint\ProductImages\GetListOfProductImagesResponse\GetListOfProductImagesResponse\Data\Images\Item;

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

class SignedCdnNames extends Entity
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Shoptet\Api\Sdk\Php\Component\Entity\Entity;
use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable;
use Shoptet\Api\Sdk\Php\Endpoint\ProductImages\GetProductImagesUpdateResponse\GetProductImagesUpdateResponse\Data\Images\Item\SignedCdnNames;

class Item extends Entity
{
Expand All @@ -13,6 +14,7 @@ class Item extends Entity
protected TypeDateTimeNullable $changeTime;
protected string $seoName;
protected string $cdnName;
protected ?SignedCdnNames $signedCdnNames;
protected bool $isMainImage;
protected string $gallery;

Expand Down Expand Up @@ -82,6 +84,17 @@ public function setCdnName(string $cdnName): static
return $this;
}

public function getSignedCdnNames(): ?SignedCdnNames
{
return $this->signedCdnNames;
}

public function setSignedCdnNames(?SignedCdnNames $signedCdnNames): static
{
$this->signedCdnNames = $signedCdnNames;
return $this;
}

public function isIsMainImage(): bool
{
return $this->isMainImage;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

namespace Shoptet\Api\Sdk\Php\Endpoint\ProductImages\GetProductImagesUpdateResponse\GetProductImagesUpdateResponse\Data\Images\Item;

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

class SignedCdnNames extends Entity
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@

use Shoptet\Api\Sdk\Php\Component\Entity\Entity;
use Shoptet\Api\Sdk\Php\Component\ValueObject\TypeDateTimeNullable;
use Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsResponse\GetListOfProductsResponse\Data\Products\Item\MainImage\SignedCdnNames;

class MainImage extends Entity
{
protected string $name;
protected string $seoName;
protected string $cdnName;
protected ?SignedCdnNames $signedCdnNames;
protected int $priority;
protected ?string $description;
protected TypeDateTimeNullable $changeTime;
Expand Down Expand Up @@ -47,6 +49,17 @@ public function setCdnName(string $cdnName): static
return $this;
}

public function getSignedCdnNames(): ?SignedCdnNames
{
return $this->signedCdnNames;
}

public function setSignedCdnNames(?SignedCdnNames $signedCdnNames): static
{
$this->signedCdnNames = $signedCdnNames;
return $this;
}

public function getPriority(): int
{
return $this->priority;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

namespace Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsResponse\GetListOfProductsResponse\Data\Products\Item\MainImage;

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

class SignedCdnNames extends Entity
{
}
Loading