PayPal\Api\Patch::getPath PHP Méthode

getPath() public méthode

A JSON pointer that references a location in the target document where the operation is performed. A string value.
public getPath ( ) : string
Résultat string
    public function getPath()
    {
        return $this->path;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param Patch $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getOp(), "TestSample");
     $this->assertEquals($obj->getPath(), "TestSample");
     $this->assertEquals($obj->getValue(), "TestSampleObject");
     $this->assertEquals($obj->getFrom(), "TestSample");
 }