* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * @copyright PayPal */ namespace PaypalAddons\classes\API\ExtensionSDK; use PayPalHttp\HttpRequest; class GetSellerStatus extends HttpRequest { public function __construct($partnerMerchantId, $sellerMerchantId) { parent::__construct( sprintf( '/v1/customer/partners/%s/merchant-integrations/%s', (string) $partnerMerchantId, (string) $sellerMerchantId ), 'GET'); $this->headers['Content-Type'] = 'application/json'; } }