commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Subscription
GoogleCloudPubSubDestination.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Subscription
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
GoogleCloudPubSubDestination
extends
Destination
15
{
16
public
const
FIELD_PROJECT_ID
=
'projectId'
;
17
public
const
FIELD_TOPIC
=
'topic'
;
18
25
public
function
getProjectId
();
26
33
public
function
getTopic
();
34
38
public
function
setProjectId
(?
string
$projectId): void;
39
43
public
function
setTopic
(?
string
$topic): void;
44
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Subscription\Destination
Definition:
Destination.php:15
Commercetools\Api\Models\Subscription\GoogleCloudPubSubDestination
Definition:
GoogleCloudPubSubDestination.php:15
Commercetools\Api\Models\Subscription\GoogleCloudPubSubDestination\setProjectId
setProjectId(?string $projectId)
Commercetools\Api\Models\Subscription\GoogleCloudPubSubDestination\FIELD_PROJECT_ID
const FIELD_PROJECT_ID
Definition:
GoogleCloudPubSubDestination.php:16
Commercetools\Api\Models\Subscription\GoogleCloudPubSubDestination\getTopic
getTopic()
Commercetools\Api\Models\Subscription\GoogleCloudPubSubDestination\FIELD_TOPIC
const FIELD_TOPIC
Definition:
GoogleCloudPubSubDestination.php:17
Commercetools\Api\Models\Subscription\GoogleCloudPubSubDestination\getProjectId
getProjectId()
Commercetools\Api\Models\Subscription\GoogleCloudPubSubDestination\setTopic
setTopic(?string $topic)
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Subscription
Definition:
AzureEventGridDestination.php:9
Generated by
1.9.1