1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
<?php
/**
*/
namespace Commercetools\Core\Error;
/**
* @package Commercetools\Core\Error
*
* @method string getCode()
* @method MissingTaxRateForCountryError setCode(string $code = null)
* @method string getMessage()
* @method MissingTaxRateForCountryError setMessage(string $message = null)
* @method string getTaxCategoryId()
* @method MissingTaxRateForCountryError setTaxCategoryId(string $taxCategoryId = null)
* @method string getCountry()
* @method MissingTaxRateForCountryError setCountry(string $country = null)
* @method string getState()
* @method MissingTaxRateForCountryError setState(string $state = null)
*/
class MissingTaxRateForCountryError extends ApiError
{
const CODE = 'MissingTaxRateForCountry';
public function fieldDefinitions()
{
$definitions = parent::fieldDefinitions();
$definitions['taxCategoryId'] = [static::TYPE => 'string'];
$definitions['country'] = [static::TYPE => 'string'];
$definitions['state'] = [static::TYPE => 'string'];
return $definitions;
}
}