commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
ApprovalRule
ApprovalRuleDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\ApprovalRule
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
ApprovalRuleDraft
extends
JsonObject
15
{
16
public
const
FIELD_KEY
=
'key'
;
17
public
const
FIELD_NAME
=
'name'
;
18
public
const
FIELD_DESCRIPTION
=
'description'
;
19
public
const
FIELD_STATUS
=
'status'
;
20
public
const
FIELD_PREDICATE
=
'predicate'
;
21
public
const
FIELD_APPROVERS
=
'approvers'
;
22
public
const
FIELD_REQUESTERS
=
'requesters'
;
23
30
public
function
getKey
();
31
38
public
function
getName
();
39
46
public
function
getDescription
();
47
54
public
function
getStatus
();
55
62
public
function
getPredicate
();
63
70
public
function
getApprovers
();
71
78
public
function
getRequesters
();
79
83
public
function
setKey
(?
string
$key): void;
84
88
public
function
setName
(?
string
$name): void;
89
93
public
function
setDescription
(?
string
$description): void;
94
98
public
function
setStatus
(?
string
$status): void;
99
103
public
function
setPredicate
(?
string
$predicate): void;
104
108
public
function
setApprovers
(?
ApproverHierarchyDraft
$approvers): void;
109
113
public
function
setRequesters
(?
RuleRequesterDraftCollection
$requesters): void;
114
}
Commercetools\Api\Models\ApprovalRule\RuleRequesterDraftCollection
Definition:
RuleRequesterDraftCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\ApprovalRule\ApprovalRuleDraft
Definition:
ApprovalRuleDraft.php:15
Commercetools\Api\Models\ApprovalRule\ApprovalRuleDraft\setApprovers
setApprovers(?ApproverHierarchyDraft $approvers)
Commercetools\Api\Models\ApprovalRule\ApprovalRuleDraft\setDescription
setDescription(?string $description)
Commercetools\Api\Models\ApprovalRule\ApprovalRuleDraft\getApprovers
getApprovers()
Commercetools\Api\Models\ApprovalRule\ApprovalRuleDraft\FIELD_APPROVERS
const FIELD_APPROVERS
Definition:
ApprovalRuleDraft.php:21
Commercetools\Api\Models\ApprovalRule\ApprovalRuleDraft\FIELD_KEY
const FIELD_KEY
Definition:
ApprovalRuleDraft.php:16
Commercetools\Api\Models\ApprovalRule\ApprovalRuleDraft\FIELD_PREDICATE
const FIELD_PREDICATE
Definition:
ApprovalRuleDraft.php:20
Commercetools\Api\Models\ApprovalRule\ApprovalRuleDraft\getName
getName()
Commercetools\Api\Models\ApprovalRule\ApprovalRuleDraft\getKey
getKey()
Commercetools\Api\Models\ApprovalRule\ApprovalRuleDraft\setName
setName(?string $name)
Commercetools\Api\Models\ApprovalRule\ApprovalRuleDraft\setKey
setKey(?string $key)
Commercetools\Api\Models\ApprovalRule\ApprovalRuleDraft\setPredicate
setPredicate(?string $predicate)
Commercetools\Api\Models\ApprovalRule\ApprovalRuleDraft\FIELD_DESCRIPTION
const FIELD_DESCRIPTION
Definition:
ApprovalRuleDraft.php:18
Commercetools\Api\Models\ApprovalRule\ApprovalRuleDraft\setStatus
setStatus(?string $status)
Commercetools\Api\Models\ApprovalRule\ApprovalRuleDraft\getRequesters
getRequesters()
Commercetools\Api\Models\ApprovalRule\ApprovalRuleDraft\setRequesters
setRequesters(?RuleRequesterDraftCollection $requesters)
Commercetools\Api\Models\ApprovalRule\ApprovalRuleDraft\FIELD_REQUESTERS
const FIELD_REQUESTERS
Definition:
ApprovalRuleDraft.php:22
Commercetools\Api\Models\ApprovalRule\ApprovalRuleDraft\getDescription
getDescription()
Commercetools\Api\Models\ApprovalRule\ApprovalRuleDraft\FIELD_NAME
const FIELD_NAME
Definition:
ApprovalRuleDraft.php:17
Commercetools\Api\Models\ApprovalRule\ApprovalRuleDraft\getPredicate
getPredicate()
Commercetools\Api\Models\ApprovalRule\ApprovalRuleDraft\getStatus
getStatus()
Commercetools\Api\Models\ApprovalRule\ApprovalRuleDraft\FIELD_STATUS
const FIELD_STATUS
Definition:
ApprovalRuleDraft.php:19
Commercetools\Api\Models\ApprovalRule\ApproverHierarchyDraft
Definition:
ApproverHierarchyDraft.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\ApprovalRule
Definition:
ApprovalRule.php:9
Generated by
1.9.1