PHP Класс PayPal\Api\Patch

A JSON patch object that you can use to apply partial updates to resources.
Наследование: extends PayPal\Common\PayPalModel
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
getFrom ( ) : string A string containing a JSON Pointer value that references the location in the target document to move the value from.
getOp ( ) : string The operation to perform.
getPath ( ) : string A JSON pointer that references a location in the target document where the operation is performed. A string value.
getValue ( ) : mixed New value to apply based on the operation.
setFrom ( string $from ) A string containing a JSON Pointer value that references the location in the target document to move the value from.
setOp ( string $op ) The operation to perform.
setPath ( string $path ) A JSON pointer that references a location in the target document where the operation is performed. A string value.
setValue ( mixed $value ) New value to apply based on the operation.

Описание методов

getFrom() публичный Метод

A string containing a JSON Pointer value that references the location in the target document to move the value from.
public getFrom ( ) : string
Результат string

getOp() публичный Метод

The operation to perform.
public getOp ( ) : string
Результат string

getPath() публичный Метод

A JSON pointer that references a location in the target document where the operation is performed. A string value.
public getPath ( ) : string
Результат string

getValue() публичный Метод

New value to apply based on the operation.
public getValue ( ) : mixed
Результат mixed

setFrom() публичный Метод

A string containing a JSON Pointer value that references the location in the target document to move the value from.
public setFrom ( string $from )
$from string

setOp() публичный Метод

Valid Values: ["add", "remove", "replace", "move", "copy", "test"]
public setOp ( string $op )
$op string

setPath() публичный Метод

A JSON pointer that references a location in the target document where the operation is performed. A string value.
public setPath ( string $path )
$path string

setValue() публичный Метод

New value to apply based on the operation.
public setValue ( mixed $value )
$value mixed