commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
MyTransactionDraft.php
1<?php
2
3declare(strict_types=1);
10
15use DateTimeImmutable;
16
18{
19 public const FIELD_TIMESTAMP = 'timestamp';
20 public const FIELD_TYPE = 'type';
21 public const FIELD_AMOUNT = 'amount';
22 public const FIELD_INTERACTION_ID = 'interactionId';
23 public const FIELD_CUSTOM = 'custom';
24
31 public function getTimestamp();
32
40 public function getType();
41
48 public function getAmount();
49
57 public function getInteractionId();
58
65 public function getCustom();
66
70 public function setTimestamp(?DateTimeImmutable $timestamp): void;
71
75 public function setType(?string $type): void;
76
80 public function setAmount(?Money $amount): void;
81
85 public function setInteractionId(?string $interactionId): void;
86
90 public function setCustom(?CustomFieldsDraft $custom): void;
91}
setTimestamp(?DateTimeImmutable $timestamp)