commercetools-sdk-php-v2  master
The platform, import-api and ml-api PHP sdks generated from our api reference.
Public Member Functions | Static Public Member Functions | List of all members
Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder Class Reference
Inheritance diagram for Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder:
Commercetools\Base\Builder Commercetools\Base\Builder

Public Member Functions

 getId ()
 
 getVersion ()
 
 getCreatedAt ()
 
 getLastModifiedAt ()
 
 getLastModifiedBy ()
 
 getCreatedBy ()
 
 getSequenceNumber ()
 
 getResource ()
 
 getResourceVersion ()
 
 getResourceUserProvidedIdentifiers ()
 
 getTiers ()
 
 getPreviousTiers ()
 
 withId (?string $id)
 
 withVersion (?int $version)
 
 withCreatedAt (?DateTimeImmutable $createdAt)
 
 withLastModifiedAt (?DateTimeImmutable $lastModifiedAt)
 
 withLastModifiedBy (?LastModifiedBy $lastModifiedBy)
 
 withCreatedBy (?CreatedBy $createdBy)
 
 withSequenceNumber (?int $sequenceNumber)
 
 withResource (?Reference $resource)
 
 withResourceVersion (?int $resourceVersion)
 
 withResourceUserProvidedIdentifiers (?UserProvidedIdentifiers $resourceUserProvidedIdentifiers)
 
 withTiers (?PriceTierCollection $tiers)
 
 withPreviousTiers (?PriceTierCollection $previousTiers)
 
 withLastModifiedByBuilder (?LastModifiedByBuilder $lastModifiedBy)
 
 withCreatedByBuilder (?CreatedByBuilder $createdBy)
 
 withResourceBuilder (?ReferenceBuilder $resource)
 
 withResourceUserProvidedIdentifiersBuilder (?UserProvidedIdentifiersBuilder $resourceUserProvidedIdentifiers)
 
 build ()
 

Static Public Member Functions

static of ()
 

Detailed Description

<StandalonePriceTiersSetMessage>

Definition at line 29 of file StandalonePriceTiersSetMessageBuilder.php.

Member Function Documentation

◆ build()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::build ( )

@psalm-return T

Implements Commercetools\Base\Builder.

Definition at line 412 of file StandalonePriceTiersSetMessageBuilder.php.

◆ getCreatedAt()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::getCreatedAt ( )

Date and time (UTC) the Message was generated.

Returns
null|DateTimeImmutable

Definition at line 131 of file StandalonePriceTiersSetMessageBuilder.php.

◆ getCreatedBy()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::getCreatedBy ( )

IDs and references that created the Message.

Returns
null|CreatedBy

Definition at line 164 of file StandalonePriceTiersSetMessageBuilder.php.

◆ getId()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::getId ( )

Unique identifier of the Message. Can be used to track which Messages have been processed.

Returns
null|string

Definition at line 109 of file StandalonePriceTiersSetMessageBuilder.php.

◆ getLastModifiedAt()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::getLastModifiedAt ( )

Value of createdAt.

Returns
null|DateTimeImmutable

Definition at line 142 of file StandalonePriceTiersSetMessageBuilder.php.

◆ getLastModifiedBy()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::getLastModifiedBy ( )

IDs and references that last modified the Message.

Returns
null|LastModifiedBy

Definition at line 153 of file StandalonePriceTiersSetMessageBuilder.php.

◆ getPreviousTiers()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::getPreviousTiers ( )

The previous content of the field tiers of the affected StandalonePrice.

Returns
null|PriceTierCollection

Definition at line 231 of file StandalonePriceTiersSetMessageBuilder.php.

◆ getResource()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::getResource ( )

Reference to the resource on which the change or action was performed.

Returns
null|Reference

Definition at line 187 of file StandalonePriceTiersSetMessageBuilder.php.

◆ getResourceUserProvidedIdentifiers()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::getResourceUserProvidedIdentifiers ( )

User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

Returns
null|UserProvidedIdentifiers

Definition at line 209 of file StandalonePriceTiersSetMessageBuilder.php.

◆ getResourceVersion()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::getResourceVersion ( )

Version of the resource on which the change or action was performed.

Returns
null|int

Definition at line 198 of file StandalonePriceTiersSetMessageBuilder.php.

◆ getSequenceNumber()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::getSequenceNumber ( )

Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

Returns
null|int

Definition at line 176 of file StandalonePriceTiersSetMessageBuilder.php.

◆ getTiers()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::getTiers ( )

The updated content of the field tiers of the affected StandalonePrice.

Returns
null|PriceTierCollection

Definition at line 220 of file StandalonePriceTiersSetMessageBuilder.php.

◆ getVersion()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::getVersion ( )

Version of a resource. In case of Messages, this is always 1.

Returns
null|int

Definition at line 120 of file StandalonePriceTiersSetMessageBuilder.php.

◆ of()

static Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::of ( )
static

Definition at line 430 of file StandalonePriceTiersSetMessageBuilder.php.

◆ withCreatedAt()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::withCreatedAt ( ?DateTimeImmutable  $createdAt)
Parameters
?DateTimeImmutable$createdAt
Returns
$this

Definition at line 262 of file StandalonePriceTiersSetMessageBuilder.php.

◆ withCreatedBy()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::withCreatedBy ( ?CreatedBy  $createdBy)
Parameters
?CreatedBy$createdBy
Returns
$this

Definition at line 295 of file StandalonePriceTiersSetMessageBuilder.php.

◆ withCreatedByBuilder()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::withCreatedByBuilder ( ?CreatedByBuilder  $createdBy)
Deprecated:
use withCreatedBy() instead
Returns
$this

Definition at line 383 of file StandalonePriceTiersSetMessageBuilder.php.

◆ withId()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::withId ( ?string  $id)
Parameters
?string$id
Returns
$this

Definition at line 240 of file StandalonePriceTiersSetMessageBuilder.php.

◆ withLastModifiedAt()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::withLastModifiedAt ( ?DateTimeImmutable  $lastModifiedAt)
Parameters
?DateTimeImmutable$lastModifiedAt
Returns
$this

Definition at line 273 of file StandalonePriceTiersSetMessageBuilder.php.

◆ withLastModifiedBy()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::withLastModifiedBy ( ?LastModifiedBy  $lastModifiedBy)
Parameters
?LastModifiedBy$lastModifiedBy
Returns
$this

Definition at line 284 of file StandalonePriceTiersSetMessageBuilder.php.

◆ withLastModifiedByBuilder()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::withLastModifiedByBuilder ( ?LastModifiedByBuilder  $lastModifiedBy)
Deprecated:
use withLastModifiedBy() instead
Returns
$this

Definition at line 372 of file StandalonePriceTiersSetMessageBuilder.php.

◆ withPreviousTiers()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::withPreviousTiers ( ?PriceTierCollection  $previousTiers)
Parameters
?PriceTierCollection$previousTiers
Returns
$this

Definition at line 361 of file StandalonePriceTiersSetMessageBuilder.php.

◆ withResource()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::withResource ( ?Reference  $resource)
Parameters
?Reference$resource
Returns
$this

Definition at line 317 of file StandalonePriceTiersSetMessageBuilder.php.

◆ withResourceBuilder()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::withResourceBuilder ( ?ReferenceBuilder  $resource)
Deprecated:
use withResource() instead
Returns
$this

Definition at line 394 of file StandalonePriceTiersSetMessageBuilder.php.

◆ withResourceUserProvidedIdentifiers()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::withResourceUserProvidedIdentifiers ( ?UserProvidedIdentifiers  $resourceUserProvidedIdentifiers)
Parameters
?UserProvidedIdentifiers$resourceUserProvidedIdentifiers
Returns
$this

Definition at line 339 of file StandalonePriceTiersSetMessageBuilder.php.

◆ withResourceUserProvidedIdentifiersBuilder()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::withResourceUserProvidedIdentifiersBuilder ( ?UserProvidedIdentifiersBuilder  $resourceUserProvidedIdentifiers)

◆ withResourceVersion()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::withResourceVersion ( ?int  $resourceVersion)
Parameters
?int$resourceVersion
Returns
$this

Definition at line 328 of file StandalonePriceTiersSetMessageBuilder.php.

◆ withSequenceNumber()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::withSequenceNumber ( ?int  $sequenceNumber)
Parameters
?int$sequenceNumber
Returns
$this

Definition at line 306 of file StandalonePriceTiersSetMessageBuilder.php.

◆ withTiers()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::withTiers ( ?PriceTierCollection  $tiers)
Parameters
?PriceTierCollection$tiers
Returns
$this

Definition at line 350 of file StandalonePriceTiersSetMessageBuilder.php.

◆ withVersion()

Commercetools\Api\Models\Message\StandalonePriceTiersSetMessageBuilder::withVersion ( ?int  $version)
Parameters
?int$version
Returns
$this

Definition at line 251 of file StandalonePriceTiersSetMessageBuilder.php.


The documentation for this class was generated from the following file: