3 declare(strict_types=1);
71 if (is_null($this->quantity)) {
73 $data = $this->
raw(self::FIELD_QUANTITY);
77 $this->quantity = (int) $data;
89 if (is_null($this->owner)) {
91 $data = $this->
raw(self::FIELD_OWNER);
108 if (is_null($this->createdAt)) {
110 $data = $this->
raw(self::FIELD_CREATED_AT);
111 if (is_null($data)) {
114 $this->createdAt = (string) $data;
126 if (is_null($this->checkoutStartedAt)) {
128 $data = $this->
raw(self::FIELD_CHECKOUT_STARTED_AT);
129 if (is_null($data)) {
132 $this->checkoutStartedAt = (string) $data;
setCreatedAt(?string $createdAt)
setOwner(?Reference $owner)
setCheckoutStartedAt(?string $checkoutStartedAt)
setQuantity(?int $quantity)
__construct(?int $quantity=null, ?Reference $owner=null, ?string $createdAt=null, ?string $checkoutStartedAt=null)