PHP 클래스 PayPal\Api\Patch

A JSON patch object that you can use to apply partial updates to resources.
상속: extends PayPal\Common\PayPalModel
파일 보기 프로젝트 열기: paypal/rest-api-sdk-php 1 사용 예제들

공개 메소드들

메소드 설명
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