diff --git a/src/AmazonPHP/SellingPartner/Model/MerchantFulfillment/Address.php b/src/AmazonPHP/SellingPartner/Model/MerchantFulfillment/Address.php index 1db0de9be..ca76370e8 100644 --- a/src/AmazonPHP/SellingPartner/Model/MerchantFulfillment/Address.php +++ b/src/AmazonPHP/SellingPartner/Model/MerchantFulfillment/Address.php @@ -260,9 +260,9 @@ public function listInvalidProperties() : array $invalidProperties[] = "'name' can't be null"; } - if ((\mb_strlen($this->container['name']) > 30)) { - $invalidProperties[] = "invalid value for 'name', the character length must be smaller than or equal to 30."; - } +// if ((\mb_strlen($this->container['name']) > 30)) { +// $invalidProperties[] = "invalid value for 'name', the character length must be smaller than or equal to 30."; +// } if ($this->container['address_line1'] === null) { $invalidProperties[] = "'address_line1' can't be null"; @@ -345,9 +345,9 @@ public function getName() : string */ public function setName(string $name) : self { - if ((\mb_strlen($name) > 30)) { - throw new \InvalidArgumentException('invalid length for $name when calling Address., must be smaller than or equal to 30.'); - } +// if ((\mb_strlen($name) > 30)) { +// throw new \InvalidArgumentException('invalid length for $name when calling Address., must be smaller than or equal to 30.'); +// } $this->container['name'] = $name;