PayPal\Api\Patch::getPath PHP 메소드

getPath() 공개 메소드

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

Usage Example

예제 #1
0
 /**
  * @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");
 }