We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 302d2bf commit 1306582Copy full SHA for 1306582
src/Message/Response.php
@@ -20,29 +20,23 @@ class Response extends AbstractResponse
20
use Concerns\ResponseProperties;
21
22
/**
23
- * Trả về trạng thái thành công hay không do OnePay phản hồi.
24
- *
25
- * @return bool
+ * {@inheritdoc}
26
*/
27
public function isSuccessful(): bool
28
{
29
return '0' === $this->getCode();
30
}
31
32
33
- * Trả về trạng thái có bị khách hủy đơn hay không do OnePay phản hồi.
34
35
36
37
public function isCancelled(): bool
38
39
return '99' === $this->getCode();
40
41
42
43
- * Trả về thông báo từ OnePay.
44
45
- * @return null|string
46
47
public function getMessage(): ?string
48
0 commit comments