Add Customer to subscription

useLauLamanApps\eCurring\eCurringClientFactory;useLauLamanApps\eCurring\Resource\Subscription;useLauLamanApps\eCurring\Resource\Subscription\Mandate;$client=eCurringClientFactory::create('<ApiKey>');$customer=$client->getCustomer(1);$subscriptionPlan=$client->getSubscriptionPlan(2);/** * Mandate is Optional, if you dont provide it eCurring wil create a * mandate for you and the customer can accept the mandate via eCurring * see https://docs.ecurring.com/subscriptions/create*/$mandate=newMandate('MDT-000001',true,newDateTimeImmutable('2018-10-16'));$subscription=Subscription::new($customer,$subscriptionPlan,$mandate);$subscription=$client->createSubscription($subscription);