<?php
namespace App\Galileo\StructureParser\Types; class Price extends \App\Utils\BaseParser\Structure\StructureParser\Types\Price { protected function createPriceTaxObject() { return new PriceTax(); } protected function createPriceFormOfPaymentObject() { return new PriceFormOfPayment(); } public function convert($initialAmount, $initialCurrency, $finalCurrency, ?\App\Utils\BaseParser\Structure\StructureParser\Structures\Transaction $transaction = null) { return $this->convertUsingTINAConvertor($initialAmount, $initialCurrency, $finalCurrency, $transaction); } } 