@@ 96-103 (lines=8) @@ | ||
93 | * |
|
94 | * @return Payment |
|
95 | */ |
|
96 | public function release() |
|
97 | { |
|
98 | $path = sprintf('/%s/%s/%s/%s', MoipResource::VERSION, self::PATH, $this->getId(), 'release'); |
|
99 | ||
100 | $response = $this->httpRequest($path, Requests::POST, []); |
|
101 | ||
102 | return $this->populate($response); |
|
103 | } |
|
104 | ||
105 | /** |
|
106 | * Mount escrow structure. |
@@ 109-116 (lines=8) @@ | ||
106 | * |
|
107 | * @return Transfers |
|
108 | */ |
|
109 | public function execute() |
|
110 | { |
|
111 | $path = sprintf('/%s/%s', MoipResource::VERSION, self::PATH); |
|
112 | ||
113 | $response = $this->httpRequest($path, Requests::POST, $this); |
|
114 | ||
115 | return $this->populate($response); |
|
116 | } |
|
117 | ||
118 | /** |
|
119 | * Get MoIP Transfers id. |