commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
PaymentSetCustomFieldActionBuilder.php
1<?php
2
3declare(strict_types=1);
10
16use stdClass;
17
22{
27 private $name;
28
33 private $value;
34
41 public function getName()
42 {
43 return $this->name;
44 }
45
54 public function getValue()
55 {
56 return $this->value;
57 }
58
63 public function withName(?string $name)
64 {
65 $this->name = $name;
66
67 return $this;
68 }
69
74 public function withValue($value)
75 {
76 $this->value = $value;
77
78 return $this;
79 }
80
81
83 {
85 $this->name,
86 $this->value
87 );
88 }
89
90 public static function of(): PaymentSetCustomFieldActionBuilder
91 {
92 return new self();
93 }
94}