| @@ 405-414 (lines=10) @@ | ||
| 402 | { |
|
| 403 | $opt = []; |
|
| 404 | ||
| 405 | if (!empty($posOverride)) { |
|
| 406 | $po = new PricingOptionGroup(PricingOptionKey::OPTION_POINT_OF_SALE_OVERRIDE); |
|
| 407 | ||
| 408 | $po->locationInformation = new LocationInformation( |
|
| 409 | LocationInformation::TYPE_POINT_OF_SALE, |
|
| 410 | $posOverride |
|
| 411 | ); |
|
| 412 | ||
| 413 | $opt[] = $po; |
|
| 414 | } |
|
| 415 | ||
| 416 | if (!empty($potOverride)) { |
|
| 417 | $po2 = new PricingOptionGroup(PricingOptionKey::OPTION_POINT_OF_TICKETING_OVERRIDE); |
|
| @@ 416-425 (lines=10) @@ | ||
| 413 | $opt[] = $po; |
|
| 414 | } |
|
| 415 | ||
| 416 | if (!empty($potOverride)) { |
|
| 417 | $po2 = new PricingOptionGroup(PricingOptionKey::OPTION_POINT_OF_TICKETING_OVERRIDE); |
|
| 418 | ||
| 419 | $po2->locationInformation = new LocationInformation( |
|
| 420 | LocationInformation::TYPE_POINT_OF_TICKETING, |
|
| 421 | $potOverride |
|
| 422 | ); |
|
| 423 | ||
| 424 | $opt[] = $po2; |
|
| 425 | } |
|
| 426 | ||
| 427 | return $opt; |
|
| 428 | } |
|
| @@ 548-554 (lines=7) @@ | ||
| 545 | { |
|
| 546 | $opt = []; |
|
| 547 | ||
| 548 | if (!empty($references)) { |
|
| 549 | $po = new PricingOptionGroup(PricingOptionKey::OPTION_PAX_SEGMENT_TST_SELECTION); |
|
| 550 | ||
| 551 | $po->paxSegTstReference = new PaxSegTstReference(null, $references); |
|
| 552 | ||
| 553 | $opt[] = $po; |
|
| 554 | } |
|
| 555 | ||
| 556 | return $opt; |
|
| 557 | } |
|