<?php
namespace App\Amadeus\StructureParser\Types; class PriceComponent { public $category = null; public $source = null; public $amount = null; public $VAT = null; public $currency = null; public $code = null; public function __construct($category=null, $source=null, $amount=null, $VAT=null, $currency=null, $code='default') { $this->category = $category; $this->source = $source; $this->code = $code; $this->VAT = ($VAT===null?null:\App\Amadeus\StructureParser\Helpers::round($VAT)); $this->amount = ($amount===null?null:\App\Amadeus\StructureParser\Helpers::round($amount)); $this->currency = $currency; } } 