commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-import
src
Models
Importrequests
StandalonePriceImportRequestBuilder.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Import\Models\Importrequests
;
10
11
use
Commercetools\Base\Builder
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
use
Commercetools\Base\JsonObjectModel
;
15
use
Commercetools\Base\MapperFactory
;
16
use
Commercetools\Import\Models\StandalonePrices\StandalonePriceImportCollection
;
17
use stdClass;
18
22
final
class
StandalonePriceImportRequestBuilder
implements
Builder
23
{
28
private
$resources;
29
36
public
function
getResources
()
37
{
38
return
$this->resources;
39
}
40
45
public
function
withResources
(?
StandalonePriceImportCollection
$resources)
46
{
47
$this->resources = $resources;
48
49
return
$this;
50
}
51
52
53
public
function
build
():
StandalonePriceImportRequest
54
{
55
return
new
StandalonePriceImportRequestModel
(
56
$this->resources
57
);
58
}
59
60
public
static
function
of
():
StandalonePriceImportRequestBuilder
61
{
62
return
new
self
();
63
}
64
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Base\JsonObjectModel
Definition:
JsonObjectModel.php:15
Commercetools\Base\MapperFactory
Definition:
MapperFactory.php:16
Commercetools\Import\Models\Importrequests\StandalonePriceImportRequestBuilder
Definition:
StandalonePriceImportRequestBuilder.php:23
Commercetools\Import\Models\Importrequests\StandalonePriceImportRequestBuilder\getResources
getResources()
Definition:
StandalonePriceImportRequestBuilder.php:36
Commercetools\Import\Models\Importrequests\StandalonePriceImportRequestBuilder\build
build()
Definition:
StandalonePriceImportRequestBuilder.php:53
Commercetools\Import\Models\Importrequests\StandalonePriceImportRequestBuilder\of
static of()
Definition:
StandalonePriceImportRequestBuilder.php:60
Commercetools\Import\Models\Importrequests\StandalonePriceImportRequestBuilder\withResources
withResources(?StandalonePriceImportCollection $resources)
Definition:
StandalonePriceImportRequestBuilder.php:45
Commercetools\Import\Models\Importrequests\StandalonePriceImportRequestModel
Definition:
StandalonePriceImportRequestModel.php:22
Commercetools\Import\Models\StandalonePrices\StandalonePriceImportCollection
Definition:
StandalonePriceImportCollection.php:22
Commercetools\Base\Builder
Definition:
Builder.php:16
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Import\Models\Importrequests\StandalonePriceImportRequest
Definition:
StandalonePriceImportRequest.php:16
Commercetools\Import\Models\Importrequests
Definition:
CategoryImportRequest.php:9
Generated by
1.9.1