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
44 changes: 22 additions & 22 deletions init.php
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,28 @@
require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/UpdateCustomerDeliveryAddressRequest/UpdateCustomerDeliveryAddressRequest/Data.php';
require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/UpdateCustomerDeliveryAddressResponse/UpdateCustomerDeliveryAddressResponse.php';
require_once __DIR__ . '/src/Endpoint/CustomerDeliveryAddresses/UpdateCustomerDeliveryAddressResponse/UpdateCustomerDeliveryAddressResponse/Data.php';
require_once __DIR__ . '/src/Endpoint/CustomerGroups/CreateCustomerGroup.php';
require_once __DIR__ . '/src/Endpoint/CustomerGroups/CreateCustomerGroupRequest/CreateCustomerGroupRequest.php';
require_once __DIR__ . '/src/Endpoint/CustomerGroups/CreateCustomerGroupRequest/CreateCustomerGroupRequest/Data.php';
require_once __DIR__ . '/src/Endpoint/CustomerGroups/CreateCustomerGroupResponse/CreateCustomerGroupResponse.php';
require_once __DIR__ . '/src/Endpoint/CustomerGroups/CreateCustomerGroupResponse/CreateCustomerGroupResponse/Data.php';
require_once __DIR__ . '/src/Endpoint/CustomerGroups/CreateCustomerGroupResponse/CreateCustomerGroupResponse/Data/CustomerGroups.php';
require_once __DIR__ . '/src/Endpoint/CustomerGroups/CreateCustomerGroupResponse/CreateCustomerGroupResponse/Data/CustomerGroups/Item.php';
require_once __DIR__ . '/src/Endpoint/CustomerGroups/DeleteCustomerGroup.php';
require_once __DIR__ . '/src/Endpoint/CustomerGroups/DeleteCustomerGroupResponse/DeleteCustomerGroupResponse.php';
require_once __DIR__ . '/src/Endpoint/CustomerGroups/DeleteCustomerGroupResponse/DeleteCustomerGroupResponse/Data.php';
require_once __DIR__ . '/src/Endpoint/CustomerGroups/GetListOfCustomerGroups.php';
require_once __DIR__ . '/src/Endpoint/CustomerGroups/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse.php';
require_once __DIR__ . '/src/Endpoint/CustomerGroups/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse/Data.php';
require_once __DIR__ . '/src/Endpoint/CustomerGroups/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse/Data/CustomerGroups.php';
require_once __DIR__ . '/src/Endpoint/CustomerGroups/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse/Data/CustomerGroups/Item.php';
require_once __DIR__ . '/src/Endpoint/CustomerGroups/UpdateCustomerGroup.php';
require_once __DIR__ . '/src/Endpoint/CustomerGroups/UpdateCustomerGroupRequest/UpdateCustomerGroupRequest.php';
require_once __DIR__ . '/src/Endpoint/CustomerGroups/UpdateCustomerGroupRequest/UpdateCustomerGroupRequest/Data.php';
require_once __DIR__ . '/src/Endpoint/CustomerGroups/UpdateCustomerGroupResponse/UpdateCustomerGroupResponse.php';
require_once __DIR__ . '/src/Endpoint/CustomerGroups/UpdateCustomerGroupResponse/UpdateCustomerGroupResponse/Data.php';
require_once __DIR__ . '/src/Endpoint/CustomerGroups/UpdateCustomerGroupResponse/UpdateCustomerGroupResponse/Data/CustomerGroups.php';
require_once __DIR__ . '/src/Endpoint/CustomerGroups/UpdateCustomerGroupResponse/UpdateCustomerGroupResponse/Data/CustomerGroups/Item.php';
require_once __DIR__ . '/src/Endpoint/CustomerRemarks/CreateCustomerRemark.php';
require_once __DIR__ . '/src/Endpoint/CustomerRemarks/CreateCustomerRemarkRequest/CreateCustomerRemarkRequest.php';
require_once __DIR__ . '/src/Endpoint/CustomerRemarks/CreateCustomerRemarkRequest/CreateCustomerRemarkRequest/Schema.php';
Expand All @@ -623,22 +645,12 @@
require_once __DIR__ . '/src/Endpoint/CustomerRemarks/UpdateCustomerRemarkResponse/UpdateCustomerRemarkResponse/Data.php';
require_once __DIR__ . '/src/Endpoint/CustomerRemarks/UpdateCustomerRemarkResponse/UpdateCustomerRemarkResponse/Data/Remark.php';
require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomer.php';
require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerGroup.php';
require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerGroupRequest/CreateCustomerGroupRequest.php';
require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerGroupRequest/CreateCustomerGroupRequest/Data.php';
require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerGroupResponse/CreateCustomerGroupResponse.php';
require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerGroupResponse/CreateCustomerGroupResponse/Data.php';
require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerGroupResponse/CreateCustomerGroupResponse/Data/CustomerGroups.php';
require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerGroupResponse/CreateCustomerGroupResponse/Data/CustomerGroups/Item.php';
require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerRequest/CreateCustomerRequest.php';
require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerRequest/CreateCustomerRequest/Data.php';
require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerRequest/CreateCustomerRequest/Data/Account.php';
require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerResponse/CreateCustomerResponse.php';
require_once __DIR__ . '/src/Endpoint/Customers/CreateCustomerResponse/CreateCustomerResponse/Data.php';
require_once __DIR__ . '/src/Endpoint/Customers/DeleteCustomer.php';
require_once __DIR__ . '/src/Endpoint/Customers/DeleteCustomerGroup.php';
require_once __DIR__ . '/src/Endpoint/Customers/DeleteCustomerGroupResponse/DeleteCustomerGroupResponse.php';
require_once __DIR__ . '/src/Endpoint/Customers/DeleteCustomerGroupResponse/DeleteCustomerGroupResponse/Data.php';
require_once __DIR__ . '/src/Endpoint/Customers/DeleteCustomerResponse/DeleteCustomerResponse.php';
require_once __DIR__ . '/src/Endpoint/Customers/DeleteCustomerResponse/DeleteCustomerResponse/Data.php';
require_once __DIR__ . '/src/Endpoint/Customers/GetCustomerDetail.php';
Expand All @@ -652,11 +664,6 @@
require_once __DIR__ . '/src/Endpoint/Customers/GetListOfAllCustomers.php';
require_once __DIR__ . '/src/Endpoint/Customers/GetListOfAllCustomersResponse/GetListOfAllCustomersResponse.php';
require_once __DIR__ . '/src/Endpoint/Customers/GetListOfAllCustomersResponse/GetListOfAllCustomersResponse/Data.php';
require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerGroups.php';
require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse.php';
require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse/Data.php';
require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse/Data/CustomerGroups.php';
require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerGroupsResponse/GetListOfCustomerGroupsResponse/Data/CustomerGroups/Item.php';
require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerRegions.php';
require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerRegionsResponse/GetListOfCustomerRegionsResponse.php';
require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomerRegionsResponse/GetListOfCustomerRegionsResponse/Data.php';
Expand All @@ -668,13 +675,6 @@
require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomersResponse/GetListOfCustomersResponse/Data/Customers.php';
require_once __DIR__ . '/src/Endpoint/Customers/GetListOfCustomersResponse/GetListOfCustomersResponse/Data/Customers/Item.php';
require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomer.php';
require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerGroup.php';
require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerGroupRequest/UpdateCustomerGroupRequest.php';
require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerGroupRequest/UpdateCustomerGroupRequest/Data.php';
require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerGroupResponse/UpdateCustomerGroupResponse.php';
require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerGroupResponse/UpdateCustomerGroupResponse/Data.php';
require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerGroupResponse/UpdateCustomerGroupResponse/Data/CustomerGroups.php';
require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerGroupResponse/UpdateCustomerGroupResponse/Data/CustomerGroups/Item.php';
require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerRequest/UpdateCustomerRequest.php';
require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerRequest/UpdateCustomerRequest/Data.php';
require_once __DIR__ . '/src/Endpoint/Customers/UpdateCustomerResponse/UpdateCustomerResponse.php';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

namespace Shoptet\Api\Sdk\Php\Endpoint\Customers;
namespace Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups;

use Shoptet\Api\Sdk\Php\Endpoint\Customers\CreateCustomerGroupRequest\CreateCustomerGroupRequest;
use Shoptet\Api\Sdk\Php\Endpoint\Customers\CreateCustomerGroupResponse\CreateCustomerGroupResponse;
use Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\CreateCustomerGroupRequest\CreateCustomerGroupRequest;
use Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\CreateCustomerGroupResponse\CreateCustomerGroupResponse;
use Shoptet\Api\Sdk\Php\Endpoint\Post;

/**
* @see https://api.docs.shoptet.com/shoptet-api/openapi/Customers/createcustomergroup
* @see https://api.docs.shoptet.com/shoptet-api/openapi/Customer-groups/createcustomergroup
*
* @method CreateCustomerGroup setBody(null|array<string, mixed>|CreateCustomerGroupRequest $entity)
* @method null|CreateCustomerGroupRequest getBody()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Shoptet\Api\Sdk\Php\Endpoint\Customers\CreateCustomerGroupRequest;
namespace Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\CreateCustomerGroupRequest;

use Shoptet\Api\Sdk\Php\Component\Entity\Entity;
use Shoptet\Api\Sdk\Php\Endpoint\Customers\CreateCustomerGroupRequest\CreateCustomerGroupRequest\Data;
use Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\CreateCustomerGroupRequest\CreateCustomerGroupRequest\Data;

class CreateCustomerGroupRequest extends Entity
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Shoptet\Api\Sdk\Php\Endpoint\Customers\CreateCustomerGroupRequest\CreateCustomerGroupRequest;
namespace Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\CreateCustomerGroupRequest\CreateCustomerGroupRequest;

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

Expand All @@ -17,6 +17,7 @@ class Data extends Entity
protected ?bool $wholesale;
protected ?bool $tableLayout;
protected ?bool $fullProfileRequired;
protected ?int $defaultOrderStatusId;

public function getName(): string
{
Expand Down Expand Up @@ -138,4 +139,15 @@ public function setFullProfileRequired(?bool $fullProfileRequired): static
$this->fullProfileRequired = $fullProfileRequired;
return $this;
}

public function getDefaultOrderStatusId(): ?int
{
return $this->defaultOrderStatusId;
}

public function setDefaultOrderStatusId(?int $defaultOrderStatusId): static
{
$this->defaultOrderStatusId = $defaultOrderStatusId;
return $this;
}
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace Shoptet\Api\Sdk\Php\Endpoint\Customers\CreateCustomerGroupResponse;
namespace Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\CreateCustomerGroupResponse;

use Shoptet\Api\Sdk\Php\Component\Entity\Entity;
use Shoptet\Api\Sdk\Php\Component\Entity\Errors;
use Shoptet\Api\Sdk\Php\Endpoint\Customers\CreateCustomerGroupResponse\CreateCustomerGroupResponse\Data;
use Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\CreateCustomerGroupResponse\CreateCustomerGroupResponse\Data;

class CreateCustomerGroupResponse extends Entity
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Shoptet\Api\Sdk\Php\Endpoint\Customers\UpdateCustomerGroupResponse\UpdateCustomerGroupResponse;
namespace Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\CreateCustomerGroupResponse\CreateCustomerGroupResponse;

use Shoptet\Api\Sdk\Php\Component\Entity\Entity;
use Shoptet\Api\Sdk\Php\Endpoint\Customers\UpdateCustomerGroupResponse\UpdateCustomerGroupResponse\Data\CustomerGroups;
use Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\CreateCustomerGroupResponse\CreateCustomerGroupResponse\Data\CustomerGroups;

class Data extends Entity
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Shoptet\Api\Sdk\Php\Endpoint\Customers\UpdateCustomerGroupResponse\UpdateCustomerGroupResponse\Data;
namespace Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\CreateCustomerGroupResponse\CreateCustomerGroupResponse\Data;

use Shoptet\Api\Sdk\Php\Component\Entity\EntityCollection;
use Shoptet\Api\Sdk\Php\Endpoint\Customers\UpdateCustomerGroupResponse\UpdateCustomerGroupResponse\Data\CustomerGroups\Item;
use Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\CreateCustomerGroupResponse\CreateCustomerGroupResponse\Data\CustomerGroups\Item;

/**
* @extends EntityCollection<Item>
Expand All @@ -26,6 +26,6 @@ class CustomerGroups extends EntityCollection
*/
public function getItemType(array $data): string
{
return 'Shoptet\Api\Sdk\Php\Endpoint\Customers\UpdateCustomerGroupResponse\UpdateCustomerGroupResponse\Data\CustomerGroups\Item';
return 'Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\CreateCustomerGroupResponse\CreateCustomerGroupResponse\Data\CustomerGroups\Item';
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Shoptet\Api\Sdk\Php\Endpoint\Customers\CreateCustomerGroupResponse\CreateCustomerGroupResponse\Data\CustomerGroups;
namespace Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\CreateCustomerGroupResponse\CreateCustomerGroupResponse\Data\CustomerGroups;

use Shoptet\Api\Sdk\Php\Component\Entity\Entity;
use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceRatio;
Expand All @@ -21,6 +21,7 @@ class Item extends Entity
protected bool $tableLayout;
protected bool $fullProfileRequired;
protected ?int $defaultDueDays;
protected ?int $defaultOrderStatusId;

public function getId(): int
{
Expand Down Expand Up @@ -175,4 +176,15 @@ public function setDefaultDueDays(?int $defaultDueDays): static
$this->defaultDueDays = $defaultDueDays;
return $this;
}

public function getDefaultOrderStatusId(): ?int
{
return $this->defaultOrderStatusId;
}

public function setDefaultOrderStatusId(?int $defaultOrderStatusId): static
{
$this->defaultOrderStatusId = $defaultOrderStatusId;
return $this;
}
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php

namespace Shoptet\Api\Sdk\Php\Endpoint\Customers;
namespace Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups;

use Shoptet\Api\Sdk\Php\Endpoint\Customers\DeleteCustomerGroupResponse\DeleteCustomerGroupResponse;
use Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\DeleteCustomerGroupResponse\DeleteCustomerGroupResponse;
use Shoptet\Api\Sdk\Php\Endpoint\Delete;

/**
* @see https://api.docs.shoptet.com/shoptet-api/openapi/Customers/deletecustomergroup
* @see https://api.docs.shoptet.com/shoptet-api/openapi/Customer-groups/deletecustomergroup
*
* @method DeleteCustomerGroup setBody(null $entity)
* @method null getBody()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace Shoptet\Api\Sdk\Php\Endpoint\Customers\DeleteCustomerGroupResponse;
namespace Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\DeleteCustomerGroupResponse;

use Shoptet\Api\Sdk\Php\Component\Entity\Entity;
use Shoptet\Api\Sdk\Php\Component\Entity\Errors;
use Shoptet\Api\Sdk\Php\Endpoint\Customers\DeleteCustomerGroupResponse\DeleteCustomerGroupResponse\Data;
use Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\DeleteCustomerGroupResponse\DeleteCustomerGroupResponse\Data;

class DeleteCustomerGroupResponse extends Entity
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

namespace Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\DeleteCustomerGroupResponse\DeleteCustomerGroupResponse;

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

class Data extends Entity
{
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php

namespace Shoptet\Api\Sdk\Php\Endpoint\Customers;
namespace Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups;

use Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfCustomerGroupsResponse\GetListOfCustomerGroupsResponse;
use Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\GetListOfCustomerGroupsResponse\GetListOfCustomerGroupsResponse;
use Shoptet\Api\Sdk\Php\Endpoint\Get;

/**
* @see https://api.docs.shoptet.com/shoptet-api/openapi/Customers/getlistofcustomergroups
* @see https://api.docs.shoptet.com/shoptet-api/openapi/Customer-groups/getlistofcustomergroups
*
* @method GetListOfCustomerGroups setBody(null $entity)
* @method null getBody()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfCustomerGroupsResponse;
namespace Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\GetListOfCustomerGroupsResponse;

use Shoptet\Api\Sdk\Php\Component\Entity\Entity;
use Shoptet\Api\Sdk\Php\Component\Entity\Errors;
use Shoptet\Api\Sdk\Php\Component\Entity\Metadata;
use Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfCustomerGroupsResponse\GetListOfCustomerGroupsResponse\Data;
use Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\GetListOfCustomerGroupsResponse\GetListOfCustomerGroupsResponse\Data;

class GetListOfCustomerGroupsResponse extends Entity
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfCustomerGroupsResponse\GetListOfCustomerGroupsResponse;
namespace Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\GetListOfCustomerGroupsResponse\GetListOfCustomerGroupsResponse;

use Shoptet\Api\Sdk\Php\Component\Entity\Entity;
use Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfCustomerGroupsResponse\GetListOfCustomerGroupsResponse\Data\CustomerGroups;
use Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\GetListOfCustomerGroupsResponse\GetListOfCustomerGroupsResponse\Data\CustomerGroups;

class Data extends Entity
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfCustomerGroupsResponse\GetListOfCustomerGroupsResponse\Data;
namespace Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\GetListOfCustomerGroupsResponse\GetListOfCustomerGroupsResponse\Data;

use Shoptet\Api\Sdk\Php\Component\Entity\EntityCollection;
use Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfCustomerGroupsResponse\GetListOfCustomerGroupsResponse\Data\CustomerGroups\Item;
use Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\GetListOfCustomerGroupsResponse\GetListOfCustomerGroupsResponse\Data\CustomerGroups\Item;

/**
* @extends EntityCollection<Item>
Expand All @@ -26,6 +26,6 @@ class CustomerGroups extends EntityCollection
*/
public function getItemType(array $data): string
{
return 'Shoptet\Api\Sdk\Php\Endpoint\Customers\GetListOfCustomerGroupsResponse\GetListOfCustomerGroupsResponse\Data\CustomerGroups\Item';
return 'Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\GetListOfCustomerGroupsResponse\GetListOfCustomerGroupsResponse\Data\CustomerGroups\Item';
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Shoptet\Api\Sdk\Php\Endpoint\Customers\UpdateCustomerGroupResponse\UpdateCustomerGroupResponse\Data\CustomerGroups;
namespace Shoptet\Api\Sdk\Php\Endpoint\CustomerGroups\GetListOfCustomerGroupsResponse\GetListOfCustomerGroupsResponse\Data\CustomerGroups;

use Shoptet\Api\Sdk\Php\Component\Entity\Entity;
use Shoptet\Api\Sdk\Php\Component\ValueObject\TypePriceRatio;
Expand All @@ -21,6 +21,7 @@ class Item extends Entity
protected bool $tableLayout;
protected bool $fullProfileRequired;
protected ?int $defaultDueDays;
protected ?int $defaultOrderStatusId;

public function getId(): int
{
Expand Down Expand Up @@ -175,4 +176,15 @@ public function setDefaultDueDays(?int $defaultDueDays): static
$this->defaultDueDays = $defaultDueDays;
return $this;
}

public function getDefaultOrderStatusId(): ?int
{
return $this->defaultOrderStatusId;
}

public function setDefaultOrderStatusId(?int $defaultOrderStatusId): static
{
$this->defaultOrderStatusId = $defaultOrderStatusId;
return $this;
}
}
Loading
Loading