PayPal\Api\PatchRequest::getPatches PHP Method

getPatches() public method

Placeholder for holding array of patch objects
public getPatches ( ) : Patch[]
return Patch[]
    public function getPatches()
    {
        return $this->patches;
    }

Usage Example

Exemplo n.º 1
0
 /**
  * @depends testSerializationDeserialization
  * @param PatchRequest $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getPatches(), PatchTest::getObject());
 }