commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
ProductDiscount
ProductDiscountReference.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\ProductDiscount
;
10
11
use
Commercetools\Api\Models\Common\Reference
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
ProductDiscountReference
extends
Reference
16
{
17
public
const
FIELD_OBJ
=
'obj'
;
18
25
public
function
getObj
();
26
33
public
function
getId
();
34
38
public
function
setObj
(?
ProductDiscount
$obj): void;
39
43
public
function
setId
(?
string
$id): void;
44
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\Reference
Definition:
Reference.php:50
Commercetools\Api\Models\ProductDiscount\ProductDiscount
Definition:
ProductDiscount.php:21
Commercetools\Api\Models\ProductDiscount\ProductDiscountReference
Definition:
ProductDiscountReference.php:16
Commercetools\Api\Models\ProductDiscount\ProductDiscountReference\getId
getId()
Commercetools\Api\Models\ProductDiscount\ProductDiscountReference\getObj
getObj()
Commercetools\Api\Models\ProductDiscount\ProductDiscountReference\FIELD_OBJ
const FIELD_OBJ
Definition:
ProductDiscountReference.php:17
Commercetools\Api\Models\ProductDiscount\ProductDiscountReference\setId
setId(?string $id)
Commercetools\Api\Models\ProductDiscount\ProductDiscountReference\setObj
setObj(?ProductDiscount $obj)
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\ProductDiscount
Definition:
ProductDiscount.php:9
Generated by
1.9.1