PayPal\Api\Patch::getValue PHP Method

getValue() public method

New value to apply based on the operation.
public getValue ( ) : mixed
return mixed
    public function getValue()
    {
        return $this->value;
    }

Usage Example

Ejemplo n.º 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");
 }