<?php
namespace App\Utils\BaseParser\Structure\StructureParser\Structures; abstract class TransactionRefundDistribuited extends Transaction { public $documents = null; public $itinerary = null; public $passengers = null; public $price = null; public $supplier = null; public $agent = null; public $relations = null; public $remarks = null; public $extraData = null; protected $refundRaw = null; protected $amountTotal = null; protected $amountRemaining = null; protected $servicesTotalCount = null; protected $thisServiceIdx = null; protected $refundableServices = []; protected $referenceService = null; public function setRefundRaw($refundRaw) { $this->refundRaw = $refundRaw; return $this; } public function getRefundRaw() { return $this->refundRaw; } public function setReferenceService($referenceService) { $this->referenceService = $referenceService; return $this; } public function getReferenceService() { return $this->referenceService; } public function setServiceIndex($thisServiceIdx) { $this->thisServiceIdx = $thisServiceIdx; return $this; } public function getServiceIndex() { return $this->thisServiceIdx; } public function setRefundableServicesList($refundableServices) { $this->refundableServices = $refundableServices; $this->servicesTotalCount = count($refundableServices); return $this; } public function getServicesCount() { return $this->servicesTotalCount; } public function setAmounts($amountTotal, $amountRemaining) { $this->amountTotal = $amountTotal; $this->amountRemaining = $amountRemaining; return $this; } public function getAmounts() { return [$this->amountTotal, $this->amountRemaining,]; } }