From e6c5bf59bcbe395ac29f7e5a396bf77fed53e93e Mon Sep 17 00:00:00 2001 From: Ruben Gommers Date: Mon, 23 May 2022 13:47:32 +0200 Subject: [PATCH] Added Subscriptions support --- .../Moneybird/Entities/Subscription.php | 45 +++++++++++++++++++ src/Picqer/Financials/Moneybird/Moneybird.php | 10 +++++ 2 files changed, 55 insertions(+) create mode 100644 src/Picqer/Financials/Moneybird/Entities/Subscription.php diff --git a/src/Picqer/Financials/Moneybird/Entities/Subscription.php b/src/Picqer/Financials/Moneybird/Entities/Subscription.php new file mode 100644 index 0000000..166378a --- /dev/null +++ b/src/Picqer/Financials/Moneybird/Entities/Subscription.php @@ -0,0 +1,45 @@ +connection, $attributes); } + + /** + * @param array $attributes + * @return \Picqer\Financials\Moneybird\Entities\Subscription + */ + public function subscription($attributes = []) + { + return new Subscription($this->connection, $attributes); + } }