commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
MyCartSetCountryActionBuilder.php
1<?php
2
3declare(strict_types=1);
10
16use stdClass;
17
22{
27 private $country;
28
38 public function getCountry()
39 {
40 return $this->country;
41 }
42
47 public function withCountry(?string $country)
48 {
49 $this->country = $country;
50
51 return $this;
52 }
53
54
55 public function build(): MyCartSetCountryAction
56 {
58 $this->country
59 );
60 }
61
62 public static function of(): MyCartSetCountryActionBuilder
63 {
64 return new self();
65 }
66}