src/PlatformClient.php
public function getSubscription($id)
    {
        $url = $this->accountsEndpoint . 'subscriptions';
        return Subscription::get($id, $url, $this->connector->getClient());
    }
public function getSubscription($id)
    {
        $url = $this->accountsEndpoint . 'subscriptions';
        return Subscription::get($id, $url, $this->connector->getClient());
    }
public function getSubscription ( $ id ) { $ url = $ this -> accountsEndpoint . 'subscriptions' ; return Subscription :: get ( $ id , $ url , $ this -> connector -> getClient ( ) ) ; }
Get a subscription by its ID.

@param string|int $id

@return Subscription|false
Get a subscription by its ID .