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

getValue() public méthode

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

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");
 }