<?php
namespace App\Worldspan\LineParser\Types\Line; class R8 extends \App\Worldspan\LineParser\Types\WorldspanBaseLine { protected $extractRegexp = "/^(?P<rawData>8\\\\.+)/sm"; protected $children = [ [ 'key'=> 'key', 'type'=> 'Constant', 'len'=> 2, 'val'=> '8\\', 'req'=> true, ], [ 'key'=> 'PassengerType', 'type'=> 'StringDelimitedByChar', 'len'=> 3, 'val'=> '\\', 'req'=> false, ], [ 'key'=> '#016', 'type'=> 'Separator', 'req'=> false, ], [ 'key'=> 'star_016', 'type'=> 'Constant', 'val' => '*', 'req'=> false, ], [ 'key'=> 'complex:5', 'type'=> 'Complex', 'merge'=>true, 'req'=> false, 'children'=> [ [ 'key'=> 'key', 'type'=> 'Set', 'len'=> 4, 'val'=> ['EXCH',], 'req'=> true, ], ]], [ 'key'=> '#018', 'type'=> 'Separator', 'req'=> false, ], [ 'key'=> 'complex:7', 'type'=> 'Complex', 'merge'=>true, 'req'=> false, 'children'=> [ [ 'key'=> 'key', 'type'=> 'Constant', 'len'=> 4, 'val'=> 'OCA-', 'req'=> true, ], [ 'key'=> 'OriginalRecallCommissionAmount', 'type'=> 'StringDelimitedByChar', 'len'=> [0, 8], 'val'=> '\\', 'req'=> true, ], ]], [ 'key'=> '#021', 'type'=> 'Separator', 'req'=> false, ], [ 'key'=> 'complex:9', 'type'=> 'Complex', 'merge'=>true, 'req'=> false, 'children'=> [ [ 'key'=> 'key', 'type'=> 'Constant', 'len'=> 4, 'val'=> 'ACA-', 'req'=> true, ], [ 'key'=> 'AdminFeePenaltyCommissionAmount', 'type'=> 'StringDelimitedByChar', 'len'=> [0, 8], 'val'=> '\\', 'req'=> true, ], ]], [ 'key'=> '#024', 'type'=> 'Separator', 'req'=> false, ], [ 'key'=> 'complex:11', 'type'=> 'Complex', 'merge'=>true, 'req'=> false, 'children'=> [ [ 'key'=> 'key', 'type'=> 'Constant', 'len'=> 4, 'val'=> 'NCA-', 'req'=> true, ], [ 'key'=> 'NewCommissionAmount', 'type'=> 'FloatRaw', 'len'=> [0, 8], 'val'=> '\\', 'req'=> true, ], ]], [ 'key'=> '#027', 'type'=> 'Separator', 'req'=> false, ], [ 'key'=> 'complex:13', 'type'=> 'Complex', 'merge'=>true, 'req'=> false, 'children'=> [ [ 'key'=> 'key', 'type'=> 'Constant', 'len'=> 3, 'val'=> 'CP-', 'req'=> true, ], [ 'key'=> 'CommissionPercent', 'type'=> 'FloatRaw', 'len'=> [0, 5], 'val'=> '\\', 'req'=> true, ], ]], [ 'key'=> '#030', 'type'=> 'Separator', 'req'=> false, ], [ 'key'=> 'complex:15', 'type'=> 'Complex', 'merge'=>true, 'req'=> false, 'children'=> [ [ 'key'=> 'key', 'type'=> 'Constant', 'len'=> 3, 'val'=> 'CA-', 'req'=> true, ], [ 'key'=> 'PNOrBlank', 'type'=> 'Set', 'len'=> 1, 'val'=> ['P', 'N', ' ', '', ],'req'=> false, ], [ 'key'=> 'PrimaryCommission', 'type'=> 'FloatRaw', 'len'=> [0, 8], 'val'=> '\\', 'req'=> true, ], ]], [ 'key'=> '#034', 'type'=> 'Separator', 'req'=> false, ], [ 'key'=> 'complex:16', 'type'=> 'Complex', 'merge'=>true, 'req'=> false, 'children'=> [ [ 'key'=> 'key', 'type'=> 'Constant', 'len'=> 4, 'val'=> 'MCP-', 'req'=> true, ], [ 'key'=> 'MoneyCollectionAmount', 'type'=> 'StringRaw', 'len'=> [0, 6], 'req'=> true, ], ]], [ 'key'=> 'star_034', 'type'=> 'Constant', 'val' => '*', 'req'=> false, ], ]; } 