1 | <?php |
||
31 | class FopDetails |
||
32 | { |
||
33 | const BILLING_CASH = "CA"; |
||
34 | const BILLING_CREDIT = "CC"; |
||
35 | |||
36 | const STATUS_NEW = "N"; |
||
37 | const STATUS_OLD = "O"; |
||
38 | |||
39 | |||
40 | /** |
||
41 | * @var string |
||
42 | */ |
||
43 | public $fopCode; |
||
44 | |||
45 | /** |
||
46 | * @var string |
||
47 | */ |
||
48 | public $fopMapTable; |
||
49 | |||
50 | /** |
||
51 | * self::BILLING_* |
||
52 | * |
||
53 | * @var string |
||
54 | */ |
||
55 | public $fopBillingCode; |
||
56 | |||
57 | /** |
||
58 | * self::STATUS_* |
||
59 | * |
||
60 | * @var string |
||
61 | */ |
||
62 | public $fopStatus; |
||
63 | |||
64 | /** |
||
65 | * AA Qantas FOP A |
||
66 | * AC Qantas FOP ACT |
||
67 | * BA German Market sub-element Bank Account form of payment for Insurance Application |
||
68 | * CA Cash |
||
69 | * CC Credit Card (plus 2 digits vendor code) |
||
70 | * CK Check |
||
71 | * FF Qantas FOP FFR |
||
72 | * IN Qantas FOP INV |
||
73 | * MC Qantas FOP MCO |
||
74 | * MS Miscellaneous |
||
75 | * NB Qantas Non Bankable Credit Card (plus 2 digits vendor code) |
||
76 | * PP Qantas P FOP |
||
77 | * PT Prepaid Ticket Advice (PTA) |
||
78 | * QT Qantas QTA FOP |
||
79 | * QU Qantas QU FOP |
||
80 | * RE Qantas REC FOP |
||
81 | * RN Qantas RND FOP |
||
82 | * SA Iberia/Savia SF fop for cash |
||
83 | * TD Qantas TD FOP |
||
84 | * |
||
85 | * @var string |
||
86 | */ |
||
87 | public $fopEdiCode; |
||
88 | |||
89 | /** |
||
90 | * BR Barter (AY ATO/CTO specific) |
||
91 | * CA Cash |
||
92 | * CC Credit |
||
93 | * GA Global Accounting |
||
94 | * HO Head Office credit (BA ATO/CTO specific) |
||
95 | * LC Local credit (BA ATO/CTO specific) |
||
96 | * MS Miscellaneous |
||
97 | * NR Net remit |
||
98 | * |
||
99 | * @var string |
||
100 | */ |
||
101 | public $fopReportingCode; |
||
102 | |||
103 | /** |
||
104 | * @var string |
||
105 | */ |
||
106 | public $fopPrintedCode; |
||
107 | |||
108 | /** |
||
109 | * AGT On behalf of/in exchange for a document previously issued by a Sales Agent |
||
110 | * CA Cash |
||
111 | * CC Credit Card |
||
112 | * CK Check |
||
113 | * DP Direct Deposit |
||
114 | * GR Government transportation request |
||
115 | * MS Miscellaneous |
||
116 | * NR Non-refundable (refund restricted) |
||
117 | * PT Prepaid Ticket Advice (PTA) |
||
118 | * SGR Single government transportation request |
||
119 | * UN United Nations Transportation Request |
||
120 | * |
||
121 | * @var string |
||
122 | */ |
||
123 | public $fopElecTicketingCode; |
||
124 | |||
125 | /** |
||
126 | * FopDetails constructor. |
||
127 | * |
||
128 | * @param string $fopCode |
||
129 | * @param string|null status |
||
130 | */ |
||
131 | public function __construct($fopCode, $status) |
||
136 | } |
||
137 |