src/Bankiru/Api/JsonRpc/Specification/JsonRpcRequest.php 1 location
|
@@ 59-67 (lines=9) @@
|
56 |
|
} |
57 |
|
|
58 |
|
/** {@inheritdoc} */ |
59 |
|
public function jsonSerialize() |
60 |
|
{ |
61 |
|
return [ |
62 |
|
self::VERSION_FIELD => $this->getVersion(), |
63 |
|
self::METHOD_FIELD => $this->getMethod(), |
64 |
|
self::PARAMETERS_FIELD => $this->getParameters(), |
65 |
|
self::ID_FIELD => $this->getId(), |
66 |
|
]; |
67 |
|
} |
68 |
|
|
69 |
|
/** {@inheritdoc} */ |
70 |
|
public function getVersion() |
src/Bankiru/Api/JsonRpc/Specification/RichJsonRpcRequest.php 1 location
|
@@ 46-54 (lines=9) @@
|
43 |
|
} |
44 |
|
|
45 |
|
/** {@inheritdoc} */ |
46 |
|
public function jsonSerialize() |
47 |
|
{ |
48 |
|
return [ |
49 |
|
self::VERSION_FIELD => $this->getVersion(), |
50 |
|
self::METHOD_FIELD => $this->getMethod(), |
51 |
|
self::PARAMETERS_FIELD => $this->getParameters(), |
52 |
|
self::ID_FIELD => $this->getId(), |
53 |
|
]; |
54 |
|
} |
55 |
|
|
56 |
|
/** {@inheritdoc} */ |
57 |
|
public function getVersion() |