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 @@ -151,6 +151,7 @@
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/MainImage/SignedCdnNames/Item.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 @@ -195,6 +196,7 @@
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/Images/Item/SignedCdnNames/Item.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 @@ -1465,6 +1467,7 @@
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/GetListOfProductImagesResponse/GetListOfProductImagesResponse/Data/Images/Item/SignedCdnNames/Item.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 @@ -1475,6 +1478,7 @@
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/GetProductImagesUpdateResponse/GetProductImagesUpdateResponse/Data/Images/Item/SignedCdnNames/Item.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 @@ -1556,6 +1560,7 @@
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/GetListOfProductsResponse/GetListOfProductsResponse/Data/Products/Item/MainImage/SignedCdnNames/Item.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
26 changes: 24 additions & 2 deletions src/Component/Entity/OrderItem/MainImage/SignedCdnNames.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,30 @@

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

use Shoptet\Api\Sdk\Php\Component\Entity\Entity;
use Shoptet\Api\Sdk\Php\Component\Entity\EntityCollection;
use Shoptet\Api\Sdk\Php\Component\Entity\OrderItem\MainImage\SignedCdnNames\Item;

class SignedCdnNames extends Entity
/**
* @extends EntityCollection<Item>
* @property Item[] $data
* @method Item[] toArray()
* @method void set(int $key, Item $item)
* @method null|Item get(int $key)
* @method void add(Item $item)
* @method null|Item remove(int $key)
* @method bool removeItem(Item $item, bool $strict = true)
* @method bool contains(Item $item, bool $strict = true)
* @method null|Item offsetGet(int $offset)
* @method void offsetSet(int $offset, Item $value)
*/
class SignedCdnNames extends EntityCollection
{
/**
* @param mixed $data
* @return class-string<Item>
*/
public function getItemType(mixed $data): string
{
return 'Shoptet\Api\Sdk\Php\Component\Entity\OrderItem\MainImage\SignedCdnNames\Item';
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php

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

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

class Item extends Entity
{
protected string $type;
protected string $name;

public function getType(): string
{
return $this->type;
}

public function setType(string $type): static
{
$this->type = $type;
return $this;
}

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

public function setName(string $name): static
{
$this->name = $name;
return $this;
}
}
26 changes: 24 additions & 2 deletions src/Component/Entity/Product/Images/Item/SignedCdnNames.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,30 @@

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

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

class SignedCdnNames extends Entity
/**
* @extends EntityCollection<Item>
* @property Item[] $data
* @method Item[] toArray()
* @method void set(int $key, Item $item)
* @method null|Item get(int $key)
* @method void add(Item $item)
* @method null|Item remove(int $key)
* @method bool removeItem(Item $item, bool $strict = true)
* @method bool contains(Item $item, bool $strict = true)
* @method null|Item offsetGet(int $offset)
* @method void offsetSet(int $offset, Item $value)
*/
class SignedCdnNames extends EntityCollection
{
/**
* @param mixed $data
* @return class-string<Item>
*/
public function getItemType(mixed $data): string
{
return 'Shoptet\Api\Sdk\Php\Component\Entity\Product\Images\Item\SignedCdnNames\Item';
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php

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

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

class Item extends Entity
{
protected string $type;
protected string $name;

public function getType(): string
{
return $this->type;
}

public function setType(string $type): static
{
$this->type = $type;
return $this;
}

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

public function setName(string $name): static
{
$this->name = $name;
return $this;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,30 @@

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

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

class SignedCdnNames extends Entity
/**
* @extends EntityCollection<Item>
* @property Item[] $data
* @method Item[] toArray()
* @method void set(int $key, Item $item)
* @method null|Item get(int $key)
* @method void add(Item $item)
* @method null|Item remove(int $key)
* @method bool removeItem(Item $item, bool $strict = true)
* @method bool contains(Item $item, bool $strict = true)
* @method null|Item offsetGet(int $offset)
* @method void offsetSet(int $offset, Item $value)
*/
class SignedCdnNames extends EntityCollection
{
/**
* @param mixed $data
* @return class-string<Item>
*/
public function getItemType(mixed $data): string
{
return 'Shoptet\Api\Sdk\Php\Endpoint\ProductImages\GetListOfProductImagesResponse\GetListOfProductImagesResponse\Data\Images\Item\SignedCdnNames\Item';
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php

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

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

class Item extends Entity
{
protected string $type;
protected string $name;

public function getType(): string
{
return $this->type;
}

public function setType(string $type): static
{
$this->type = $type;
return $this;
}

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

public function setName(string $name): static
{
$this->name = $name;
return $this;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,30 @@

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

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

class SignedCdnNames extends Entity
/**
* @extends EntityCollection<Item>
* @property Item[] $data
* @method Item[] toArray()
* @method void set(int $key, Item $item)
* @method null|Item get(int $key)
* @method void add(Item $item)
* @method null|Item remove(int $key)
* @method bool removeItem(Item $item, bool $strict = true)
* @method bool contains(Item $item, bool $strict = true)
* @method null|Item offsetGet(int $offset)
* @method void offsetSet(int $offset, Item $value)
*/
class SignedCdnNames extends EntityCollection
{
/**
* @param mixed $data
* @return class-string<Item>
*/
public function getItemType(mixed $data): string
{
return 'Shoptet\Api\Sdk\Php\Endpoint\ProductImages\GetProductImagesUpdateResponse\GetProductImagesUpdateResponse\Data\Images\Item\SignedCdnNames\Item';
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php

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

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

class Item extends Entity
{
protected string $type;
protected string $name;

public function getType(): string
{
return $this->type;
}

public function setType(string $type): static
{
$this->type = $type;
return $this;
}

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

public function setName(string $name): static
{
$this->name = $name;
return $this;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,30 @@

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

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

class SignedCdnNames extends Entity
/**
* @extends EntityCollection<Item>
* @property Item[] $data
* @method Item[] toArray()
* @method void set(int $key, Item $item)
* @method null|Item get(int $key)
* @method void add(Item $item)
* @method null|Item remove(int $key)
* @method bool removeItem(Item $item, bool $strict = true)
* @method bool contains(Item $item, bool $strict = true)
* @method null|Item offsetGet(int $offset)
* @method void offsetSet(int $offset, Item $value)
*/
class SignedCdnNames extends EntityCollection
{
/**
* @param mixed $data
* @return class-string<Item>
*/
public function getItemType(mixed $data): string
{
return 'Shoptet\Api\Sdk\Php\Endpoint\Products\GetListOfProductsResponse\GetListOfProductsResponse\Data\Products\Item\MainImage\SignedCdnNames\Item';
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php

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

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

class Item extends Entity
{
protected string $type;
protected string $name;

public function getType(): string
{
return $this->type;
}

public function setType(string $type): static
{
$this->type = $type;
return $this;
}

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

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