| 1 | <?php |
||
| 31 | class TaxDetails |
||
| 32 | { |
||
| 33 | const TYPE_EXTENDED_TAXES = "XT"; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var string |
||
| 37 | */ |
||
| 38 | public $rate; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @var string |
||
| 42 | */ |
||
| 43 | public $countryCode; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @var string |
||
| 47 | */ |
||
| 48 | public $currencyCode; |
||
| 49 | |||
| 50 | /** |
||
| 51 | * self::TYPE_* |
||
| 52 | * |
||
| 53 | * @var string |
||
| 54 | */ |
||
| 55 | public $type; |
||
| 56 | |||
| 57 | /** |
||
| 58 | * TaxDetails constructor. |
||
| 59 | * |
||
| 60 | * @param string $rate |
||
| 61 | * @param string $countryCode |
||
| 62 | * @param string $currencyCode |
||
| 63 | * @param string $type |
||
| 64 | */ |
||
| 65 | 4 | public function __construct($rate, $countryCode, $currencyCode, $type) |
|
| 72 | } |
||
| 73 |