Completed
Push — master ( 1be858...1c2c45 )
by Vuong
02:00
created

ResponseData::getIsOk()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php
2
/**
3
 * @link https://github.com/yiiviet/yii2-payment
4
 * @copyright Copyright (c) 2017 Yii Viet
5
 * @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
6
 */
7
8
9
namespace yiiviet\payment\vtcpay;
10
11
use vxm\gatewayclients\ResponseData as BaseResponseData;
12
13
/**
14
 * Lớp ResponseData cung cấp dữ liệu phản hồi từ VTCPay sau khi thực hiện hàm [[request()]] ở [[PaymentGateway]].
15
 *
16
 * @method PaymentClient getClient()
17
 *
18
 * @property PaymentClient $client
19
 *
20
 * @author Vuong Minh <[email protected]>
21
 * @since 1.0.2
22
 */
23
class ResponseData extends BaseResponseData
24
{
25
26
    /**
27
     * @inheritdoc
28
     */
29
    public function getIsOk(): bool
30
    {
31
        return true;
32
    }
33
34
}
35