PayPal\Core\PPAPIService::setServiceName PHP Method

setServiceName() public method

public setServiceName ( $serviceName )
    public function setServiceName($serviceName)
    {
        $this->serviceName = $serviceName;
    }

Usage Example

 /**
  * @test
  */
 public function testMakeRequestWithoutHandlers()
 {
     $this->object->setServiceName('Invoice');
     $this->setExpectedException('PayPal\\Exception\\PPConnectionException');
     $req = new PPRequest(new MockNVPClass(), "NV");
     $this->object->makeRequest('GetInvoiceDetails', $req);
 }
All Usage Examples Of PayPal\Core\PPAPIService::setServiceName