Skip to content

Commit 1306582

Browse files
Updated doc [skip ci]
1 parent 302d2bf commit 1306582

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

src/Message/Response.php

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,23 @@ class Response extends AbstractResponse
2020
use Concerns\ResponseProperties;
2121

2222
/**
23-
* Trả về trạng thái thành công hay không do OnePay phản hồi.
24-
*
25-
* @return bool
23+
* {@inheritdoc}
2624
*/
2725
public function isSuccessful(): bool
2826
{
2927
return '0' === $this->getCode();
3028
}
3129

3230
/**
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-
* @return bool
31+
* {@inheritdoc}
3632
*/
3733
public function isCancelled(): bool
3834
{
3935
return '99' === $this->getCode();
4036
}
4137

4238
/**
43-
* Trả về thông báo từ OnePay.
44-
*
45-
* @return null|string
39+
* {@inheritdoc}
4640
*/
4741
public function getMessage(): ?string
4842
{

0 commit comments

Comments
 (0)