PHP Class Iyzipay\JsonBuilder

Mostrar archivo Open project: iyzico/iyzipay-php Class Usage Examples

Public Methods

Method Description
__construct ( $json )
add ( $key, $value = null ) : JsonBuilder
addArray ( $key, array $array = null ) : JsonBuilder
addPrice ( $key, $value = null ) : JsonBuilder
create ( )
fromJsonObject ( $json )
getObject ( )
jsonDecode ( $rawResult )
jsonEncode ( $jsonObject )

Method Details

__construct() public method

public __construct ( $json )

add() public method

public add ( $key, $value = null ) : JsonBuilder
$key
$value
return JsonBuilder

addArray() public method

public addArray ( $key, array $array = null ) : JsonBuilder
$key
$array array
return JsonBuilder

addPrice() public method

public addPrice ( $key, $value = null ) : JsonBuilder
$key
$value
return JsonBuilder

create() public static method

public static create ( )

fromJsonObject() public static method

public static fromJsonObject ( $json )

getObject() public method

public getObject ( )

jsonDecode() public static method

public static jsonDecode ( $rawResult )

jsonEncode() public static method

public static jsonEncode ( $jsonObject )