src/Service/Subscription/SubscriptionService.php
public function getSubscriptions(
        $customerId = null,
        $externalCustomerId = null,
        $subscriptionExternalId = null,
        $subscriptionId = null
    ) {
        $requestData = new Get\RequestData();
        $requestData->setCustomerId($customerId);
        $requestData->setExternalCustomerId($externalCustomerId);
        $requestData->setSubscriptionExternalId($subscriptionExternalId);
        $requestData->setSubscriptionId($subscriptionId);

        $request = new Get\Request($requestData);

        return $this->sendRequest($request, Get\ApiResponse::class);
    }
public function getSubscriptions(
        $customerId = null,
        $externalCustomerId = null,
        $subscriptionExternalId = null,
        $subscriptionId = null
    ) {
        $requestData = new Get\RequestData();
        $requestData->setCustomerId($customerId);
        $requestData->setExternalCustomerId($externalCustomerId);
        $requestData->setSubscriptionExternalId($subscriptionExternalId);
        $requestData->setSubscriptionId($subscriptionId);

        $request = new Get\Request($requestData);

        return $this->sendRequest($request, Get\ApiResponse::class);
    }
public function getSubscriptions ( $ customerId = null , $ externalCustomerId = null , $ subscriptionExternalId = null , $ subscriptionId = null ) { $ requestData = new Get \ RequestData ( ) ; $ requestData -> setCustomerId ( $ customerId ) ; $ requestData -> setExternalCustomerId ( $ externalCustomerId ) ; $ requestData -> setSubscriptionExternalId ( $ subscriptionExternalId ) ; $ requestData -> setSubscriptionId ( $ subscriptionId ) ; $ request = new Get \ Request ( $ requestData ) ; return $ this -> sendRequest ( $ request , Get \ ApiResponse :: class ) ; }
Get the subscriptions.

@param integer $customerId The customer ID.
@param string $externalCustomerId The external customer ID.
@param string $subscriptionExternalId The external subscription ID.
@param integer $subscriptionId The subscription ID.
@return Get\ApiResponse
Get the subscriptions .