| @@ 613-623 (lines=11) @@ | ||
| 610 | /** |
|
| 611 | * @return bool |
|
| 612 | */ |
|
| 613 | private function hasPriceType() |
|
| 614 | { |
|
| 615 | if ($this->sdk->getPriceType() === \Shopware\Connect\SDK::PRICE_TYPE_PURCHASE |
|
| 616 | || $this->sdk->getPriceType() === \Shopware\Connect\SDK::PRICE_TYPE_RETAIL |
|
| 617 | || $this->sdk->getPriceType() === \Shopware\Connect\SDK::PRICE_TYPE_BOTH |
|
| 618 | ) { |
|
| 619 | return true; |
|
| 620 | } |
|
| 621 | ||
| 622 | return false; |
|
| 623 | } |
|
| 624 | } |
|
| 625 | ||
| @@ 433-443 (lines=11) @@ | ||
| 430 | /** |
|
| 431 | * @return bool |
|
| 432 | */ |
|
| 433 | private function hasPriceType() |
|
| 434 | { |
|
| 435 | if ($this->sdk->getPriceType() === \Shopware\Connect\SDK::PRICE_TYPE_PURCHASE |
|
| 436 | || $this->sdk->getPriceType() === \Shopware\Connect\SDK::PRICE_TYPE_RETAIL |
|
| 437 | || $this->sdk->getPriceType() === \Shopware\Connect\SDK::PRICE_TYPE_BOTH |
|
| 438 | ) { |
|
| 439 | return true; |
|
| 440 | } |
|
| 441 | ||
| 442 | return false; |
|
| 443 | } |
|
| 444 | } |
|
| 445 | ||