<?php

// Amadeus
$CFG['amadeus']['CompatibilityWithImportedOrders']['Processor']['class'] = '\App\Amadeus\CompatibilityWithImportedOrders\Processor';
$CFG['amadeus']['FileParser']['AIR']['handle_IA'] = 'error';


// $CFG['sabre']['FileParser']['alternateCurrencyIndicator'] = 'BGN';	// line M5 is missing the curreny
$CFG['sabre']['CompatibilityWithImportedOrders']['allowRefundUpdate'] = false;	// when enabled, subsequent refund IURs for the same ticket (corrected refunds) are processed instead of being skipped as duplicates

$CFG['sabre']['FileParser']['IUR']['preProcessRawData']['operations'] = [
#	'trimEmptyLines' => true, 	// remove line with only one space in them
];


// SABRE PROFILES - TAGS	//////////////////////////////////////////////////////
$CFG['sabre']['profiles']['sabreTags']['customer'] = [
	'ProfileName', 'ProfileDescription', 'ProfileStatusCode',
	'DkNumber',
	'GenderCode', 'ChildIndicator', 'SeniorIndicator', 'LapInfantIndicator', 'InformationText',
	'PriorityRemarks',
	'RemarkStartsWith',
	'OtherPnrMoveData',
	//'AssociatedFilters',
];
$CFG['sabre']['profiles']['sabreTags']['corporate'] = [
	'ProfileName', 'ProfileDescription', 'ProfileStatusCode',
	'DkNumber',
	'CorporationTypeCode',
	'PriorityRemarks',
    'Telephone', 'Email',
	'FormOfPayment',
	'RemarkStartsWith',
	//'OSI',
	'OtherPnrMoveData',
	//'AssociatedFilters',
];
$CFG['sabre']['profiles']['sabreTagsExtra'] = [
	'RemarkStartsWith',
];


// SABRE API - CREDENTIALS	/////////////////////////////////////////////////////
// $CFG['sabre']['Api']['credentials']['Username'] 	= '';
// $CFG['sabre']['Api']['credentials']['Password'] 	= '';
// $CFG['sabre']['Api']['credentials']['Organization'] = ''; // PCC
$CFG['sabre']['Api']['BaseUrlSoap'] = 'https://webservices.platform.sabre.com';  // https://webservices.cert.platform.sabre.com [CERT],  https://webservices.platform.sabre.com [PROD]
//$CFG['sabre']['Api']['BaseUrlRest'] = 'https://api.havail.sabre.com';		   // https://api-crt.cert.havail.sabre.com  [CERT],  https://api.havail.sabre.com [PROD]
