<?php
namespace App\Galileo\LineParser\Types;

/**
 * Data line
 * @author Lucian Sirbu
 */
class Data_A23WC extends \App\Galileo\LineParser\Types\GalileoBase
{
	/**
	 * From TD-6574:
	 *
	 * WC is REFUND WAIVER CODE IDENTIFIER in Apollo and in Japan only,
	 * 	so you shouldn’t see that in 1G MIRs.
	 * It’s followed by the actual code describing the reason why the refund was waived
	 * (COVID19 in this case).
	 * Labels A23WCI/A23WCD in the docs
	 */

	/**
	 * Children elements
	 */
	protected $children = [
		[ 'key'=>'A23WCI',  'type'=>'Constant', 'len'=>3, 'val'=>'WC:',  'label'=>'REFUND WAIVER CODE IDENTIFIER “WC:” APO Japan only. ' ],
		[ 'key'=>'A23WCD',  'type'=>'StringTrim',                         'label'=>'REFUND WAIVER CODE APO Japan only. ' ],
	];
}
