From 391b3c0240b252d35adbd21a506670161af7b91f Mon Sep 17 00:00:00 2001 From: Fabian de Laender Date: Thu, 16 Jun 2016 15:52:08 +0200 Subject: [PATCH] Version 1.2.0 - added Mollie Subscriptions API --- composer.json | 5 +++-- src/Wrappers/MollieApiWrapper.php | 8 ++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index c5bf4fb..82a6fef 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "mollie/laravel-mollie", "description": "Mollie API client wrapper for Laravel & Mollie Connect provider for Laravel Socialite", - "version": "1.1.3", + "version": "1.2.0", "homepage": "https://github.com/mollie/laravel-mollie", "license": "BSD-2-Clause", "authors": [ @@ -13,7 +13,8 @@ "keywords": [ "mollie", "payment", "service", "ideal", "creditcard", "mistercash", "bancontact", "sofort", "sofortbanking", "sepa", "bitcoin", "paypal", "paysafecard", "podiumcadeaukaart", "banktransfer", "direct debit", "belfius", - "belfius direct net", "refunds", "api", "payments", "gateway", "laravel", "lumen", "socialite" + "belfius direct net", "refunds", "api", "payments", "gateway", "subscriptions", "recurring", "charges", + "laravel", "lumen", "socialite" ], "require": { "php": "^5.5.9 || ^7.0", diff --git a/src/Wrappers/MollieApiWrapper.php b/src/Wrappers/MollieApiWrapper.php index 5d2ae04..25f19f6 100644 --- a/src/Wrappers/MollieApiWrapper.php +++ b/src/Wrappers/MollieApiWrapper.php @@ -173,6 +173,14 @@ public function customersMandates() return $this->client->customers_mandates; } + /** + * @return \Mollie_API_Resource_Customers_Subscriptions + */ + public function customersSubscriptions() + { + return $this->client->customers_subscriptions; + } + /** * @return \Mollie_API_Resource_Permissions */