| @@ 605-615 (lines=11) @@ | ||
| 602 | /** |
|
| 603 | * @return bool |
|
| 604 | */ |
|
| 605 | private function hasPriceType() |
|
| 606 | { |
|
| 607 | if ($this->sdk->getPriceType() === \Shopware\Connect\SDK::PRICE_TYPE_PURCHASE |
|
| 608 | || $this->sdk->getPriceType() === \Shopware\Connect\SDK::PRICE_TYPE_RETAIL |
|
| 609 | || $this->sdk->getPriceType() === \Shopware\Connect\SDK::PRICE_TYPE_BOTH |
|
| 610 | ) { |
|
| 611 | return true; |
|
| 612 | } |
|
| 613 | ||
| 614 | return false; |
|
| 615 | } |
|
| 616 | } |
|
| 617 | ||
| @@ 471-481 (lines=11) @@ | ||
| 468 | /** |
|
| 469 | * @return bool |
|
| 470 | */ |
|
| 471 | private function hasPriceType() |
|
| 472 | { |
|
| 473 | if ($this->sdk->getPriceType() === SDK::PRICE_TYPE_PURCHASE |
|
| 474 | || $this->sdk->getPriceType() === SDK::PRICE_TYPE_RETAIL |
|
| 475 | || $this->sdk->getPriceType() === SDK::PRICE_TYPE_BOTH |
|
| 476 | ) { |
|
| 477 | return true; |
|
| 478 | } |
|
| 479 | ||
| 480 | return false; |
|
| 481 | } |
|
| 482 | } |
|
| 483 | ||