commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
DiscountCode
DiscountCodeSetMaxApplicationsAction.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\DiscountCode
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
DiscountCodeSetMaxApplicationsAction
extends
DiscountCodeUpdateAction
15
{
16
public
const
FIELD_MAX_APPLICATIONS
=
'maxApplications'
;
17
25
public
function
getMaxApplications
();
26
30
public
function
setMaxApplications
(?
int
$maxApplications): void;
31
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\DiscountCode\DiscountCodeSetMaxApplicationsAction
Definition:
DiscountCodeSetMaxApplicationsAction.php:15
Commercetools\Api\Models\DiscountCode\DiscountCodeSetMaxApplicationsAction\setMaxApplications
setMaxApplications(?int $maxApplications)
Commercetools\Api\Models\DiscountCode\DiscountCodeSetMaxApplicationsAction\getMaxApplications
getMaxApplications()
Commercetools\Api\Models\DiscountCode\DiscountCodeSetMaxApplicationsAction\FIELD_MAX_APPLICATIONS
const FIELD_MAX_APPLICATIONS
Definition:
DiscountCodeSetMaxApplicationsAction.php:16
Commercetools\Api\Models\DiscountCode\DiscountCodeUpdateAction
Definition:
DiscountCodeUpdateAction.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\DiscountCode
Definition:
DiscountCode.php:9
Generated by
1.9.1