| @@ 389-398 (lines=10) @@ | ||
| 386 | { |
|
| 387 | $opt = []; |
|
| 388 | ||
| 389 | if (!empty($posOverride)) { |
|
| 390 | $po = new PricingOptionGroup(PricingOptionKey::OPTION_POINT_OF_SALE_OVERRIDE); |
|
| 391 | ||
| 392 | $po->locationInformation = new LocationInformation( |
|
| 393 | LocationInformation::TYPE_POINT_OF_SALE, |
|
| 394 | $posOverride |
|
| 395 | ); |
|
| 396 | ||
| 397 | $opt[] = $po; |
|
| 398 | } |
|
| 399 | ||
| 400 | if (!empty($potOverride)) { |
|
| 401 | $po2 = new PricingOptionGroup(PricingOptionKey::OPTION_POINT_OF_TICKETING_OVERRIDE); |
|
| @@ 400-409 (lines=10) @@ | ||
| 397 | $opt[] = $po; |
|
| 398 | } |
|
| 399 | ||
| 400 | if (!empty($potOverride)) { |
|
| 401 | $po2 = new PricingOptionGroup(PricingOptionKey::OPTION_POINT_OF_TICKETING_OVERRIDE); |
|
| 402 | ||
| 403 | $po2->locationInformation = new LocationInformation( |
|
| 404 | LocationInformation::TYPE_POINT_OF_TICKETING, |
|
| 405 | $potOverride |
|
| 406 | ); |
|
| 407 | ||
| 408 | $opt[] = $po2; |
|
| 409 | } |
|
| 410 | ||
| 411 | return $opt; |
|
| 412 | } |
|
| @@ 532-538 (lines=7) @@ | ||
| 529 | { |
|
| 530 | $opt = []; |
|
| 531 | ||
| 532 | if (!empty($references)) { |
|
| 533 | $po = new PricingOptionGroup(PricingOptionKey::OPTION_PAX_SEGMENT_TST_SELECTION); |
|
| 534 | ||
| 535 | $po->paxSegTstReference = new PaxSegTstReference(null, $references); |
|
| 536 | ||
| 537 | $opt[] = $po; |
|
| 538 | } |
|
| 539 | ||
| 540 | return $opt; |
|
| 541 | } |
|