src/Service/Subscription/SubscriptionService.php
public function getSubscriptionById($subscriptionId)
    {
        $subscriptions = $this
            ->getSubscriptions(null, null, null, $subscriptionId)
            ->getResponse()
            ->getSubscriptions();

        return count($subscriptions) ? reset($subscriptions) : null;
    }
public function getSubscriptionById($subscriptionId)
    {
        $subscriptions = $this
            ->getSubscriptions(null, null, null, $subscriptionId)
            ->getResponse()
            ->getSubscriptions();

        return count($subscriptions) ? reset($subscriptions) : null;
    }
public function getSubscriptionById ( $ subscriptionId ) { $ subscriptions = $ this -> getSubscriptions ( null , null , null , $ subscriptionId ) -> getResponse ( ) -> getSubscriptions ( ) ; return count ( $ subscriptions ) ? reset ( $ subscriptions ) : null ; }
Get one subscription by using the Monsum subscription ID.

@param integer $subscriptionId The Monsum subscription ID.
@return Subscription|null
Get one subscription by using the Monsum subscription ID .