├── .gitignore ├── .travis.yml ├── README.md ├── composer.json ├── phpunit.xml.dist ├── ruleset.xml ├── src ├── Collection │ └── ItemPriceCollection.php ├── Description │ ├── AbstractPriceDescription.php │ └── PriceDescriptionInterface.php ├── Modifier │ ├── AbstractPriceModifier.php │ ├── DiscountPrice.php │ ├── ItemComparatorInterface.php │ ├── PriceModifierInterface.php │ └── TaxPrice.php ├── PricingFactory.php ├── Total │ └── PriceTotalInterface.php └── Type │ ├── ItemPrice.php │ ├── PriceInterface.php │ └── UnitPrice.php └── tests └── Unit ├── Collection └── ItemPriceCollectionTest.php ├── Description └── AbstractPriceDescriptionTest.php ├── Modifier ├── AbstractPriceModifierTest.php ├── DiscountPriceTest.php └── TaxPriceTest.php ├── PricingFactoryTest.php └── Type ├── ItemPriceTest.php └── UnitPriceTest.php /.gitignore: -------------------------------------------------------------------------------- 1 | /build/ 2 | /vendor/ 3 | /composer.lock -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/.travis.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /ruleset.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/ruleset.xml -------------------------------------------------------------------------------- /src/Collection/ItemPriceCollection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/src/Collection/ItemPriceCollection.php -------------------------------------------------------------------------------- /src/Description/AbstractPriceDescription.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/src/Description/AbstractPriceDescription.php -------------------------------------------------------------------------------- /src/Description/PriceDescriptionInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/src/Description/PriceDescriptionInterface.php -------------------------------------------------------------------------------- /src/Modifier/AbstractPriceModifier.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/src/Modifier/AbstractPriceModifier.php -------------------------------------------------------------------------------- /src/Modifier/DiscountPrice.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/src/Modifier/DiscountPrice.php -------------------------------------------------------------------------------- /src/Modifier/ItemComparatorInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/src/Modifier/ItemComparatorInterface.php -------------------------------------------------------------------------------- /src/Modifier/PriceModifierInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/src/Modifier/PriceModifierInterface.php -------------------------------------------------------------------------------- /src/Modifier/TaxPrice.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/src/Modifier/TaxPrice.php -------------------------------------------------------------------------------- /src/PricingFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/src/PricingFactory.php -------------------------------------------------------------------------------- /src/Total/PriceTotalInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/src/Total/PriceTotalInterface.php -------------------------------------------------------------------------------- /src/Type/ItemPrice.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/src/Type/ItemPrice.php -------------------------------------------------------------------------------- /src/Type/PriceInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/src/Type/PriceInterface.php -------------------------------------------------------------------------------- /src/Type/UnitPrice.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/src/Type/UnitPrice.php -------------------------------------------------------------------------------- /tests/Unit/Collection/ItemPriceCollectionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/tests/Unit/Collection/ItemPriceCollectionTest.php -------------------------------------------------------------------------------- /tests/Unit/Description/AbstractPriceDescriptionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/tests/Unit/Description/AbstractPriceDescriptionTest.php -------------------------------------------------------------------------------- /tests/Unit/Modifier/AbstractPriceModifierTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/tests/Unit/Modifier/AbstractPriceModifierTest.php -------------------------------------------------------------------------------- /tests/Unit/Modifier/DiscountPriceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/tests/Unit/Modifier/DiscountPriceTest.php -------------------------------------------------------------------------------- /tests/Unit/Modifier/TaxPriceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/tests/Unit/Modifier/TaxPriceTest.php -------------------------------------------------------------------------------- /tests/Unit/PricingFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/tests/Unit/PricingFactoryTest.php -------------------------------------------------------------------------------- /tests/Unit/Type/ItemPriceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/tests/Unit/Type/ItemPriceTest.php -------------------------------------------------------------------------------- /tests/Unit/Type/UnitPriceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blesta/pricing/HEAD/tests/Unit/Type/UnitPriceTest.php --------------------------------------------------------------------------------