diff --git a/CHANGELOG.md b/CHANGELOG.md index 70fee55..56d1e6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,9 +9,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. +## 2.3.0 - 2018-10-04 +### Added +- You can now process your Orders, Shipments and Captures using the latest Laravel Mollie client. See [Mollie's guides](https://docs.mollie.com/orders/overview) for more information about these brand new features. + +### Changed +- Bumped mollie core client dependency to from `^2.0` to `^2.1`. + ## 2.2.0 - 2018-09-18 ### Added -- Added support for the Organizations and Permissions endpoints. For advanced (Oauth) users. +- Added support for the Organizations and Permissions endpoints. Advanced (OAuth) users, this one is for you. ## 2.1.0 - 2018-07-30 ### Added diff --git a/composer.json b/composer.json index 9aaeb3c..5589bea 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "require": { "php": ">=7.0.0", "illuminate/support": "^5.5", - "mollie/mollie-api-php": "^2.0" + "mollie/mollie-api-php": "^2.1" }, "require-dev": { "graham-campbell/testbench": "^4.0|^5.0", diff --git a/src/Wrappers/MollieApiWrapper.php b/src/Wrappers/MollieApiWrapper.php index 052e4a0..9039193 100644 --- a/src/Wrappers/MollieApiWrapper.php +++ b/src/Wrappers/MollieApiWrapper.php @@ -202,4 +202,12 @@ public function refunds() { return $this->client->refunds; } + + /** + * @return Mollie\Api\Endpoints\OrderEndpoint + */ + public function orders() + { + return $this->client->orders; + } } diff --git a/tests/Wrappers/MollieApiWrapperTest.php b/tests/Wrappers/MollieApiWrapperTest.php index ad2cf65..5dac8b8 100644 --- a/tests/Wrappers/MollieApiWrapperTest.php +++ b/tests/Wrappers/MollieApiWrapperTest.php @@ -92,6 +92,7 @@ public function testWrappedEndpoints() 'mandates', 'methods', 'mandates', + 'orders', 'organizations', 'permissions', 'payments',