1
|
|
|
<?php |
2
|
|
|
/* |
3
|
|
|
* This file is part of the PayBreak/paybreak-sdk-php package. |
4
|
|
|
* |
5
|
|
|
* (c) PayBreak <[email protected]> |
6
|
|
|
* |
7
|
|
|
* For the full copyright and license information, please view the LICENSE |
8
|
|
|
* file that was distributed with this source code. |
9
|
|
|
*/ |
10
|
|
|
|
11
|
|
|
namespace PayBreak\Sdk\Entities\Application; |
12
|
|
|
|
13
|
|
|
use WNowicki\Generic\AbstractEntity; |
14
|
|
|
|
15
|
|
|
/** |
16
|
|
|
* Fiance Entity |
17
|
|
|
* |
18
|
|
|
* @author WN |
19
|
|
|
* @method $this setLoanAmount(int $loanAmount) |
20
|
|
|
* @method int|null getLoanAmount() |
21
|
|
|
* @method $this setOrderAmount(int $orderAmount) |
22
|
|
|
* @method int|null getOrderAmount() |
23
|
|
|
* @method $this setDepositAmount(int $depositAmount) |
24
|
|
|
* @method int|null getDepositAmount() |
25
|
|
|
* @method $this setSubsidyAmount(int $subsidyAmount) |
26
|
|
|
* @method int|null getSubsidyAmount() |
27
|
|
|
* @method $this setSettlementNetAmount(int $settlementNetAmount) |
28
|
|
|
* @method int|null getCommissionAmount() |
29
|
|
|
* @method $this setCommissionAmount(int $commissionAmount) |
30
|
|
|
* @method int|null getSettlementNetAmount() |
31
|
|
|
* @method $this setOption(string $option) |
32
|
|
|
* @method string|null getOption() |
33
|
|
|
* @method $this setHoliday(int $holiday) |
34
|
|
|
* @method int|null getHoliday() |
35
|
|
|
* @method $this setPayments(int $payments) |
36
|
|
|
* @method int|null getPayments() |
37
|
|
|
* @method $this setTerm(int $term) |
38
|
|
|
* @method int|null getTerm() |
39
|
|
|
* @method $this setOptionGroup(string $financeGroup) |
40
|
|
|
* @method string getOptionGroup() |
41
|
|
|
* |
42
|
|
|
* @package PayBreak\Sdk\Entities |
43
|
|
|
*/ |
44
|
|
|
class FinanceEntity extends AbstractEntity |
45
|
|
|
{ |
46
|
|
|
protected $properties = [ |
47
|
|
|
'loan_amount', |
48
|
|
|
'order_amount', |
49
|
|
|
'deposit_amount', |
50
|
|
|
'subsidy_amount', |
51
|
|
|
'commission_amount', |
52
|
|
|
'settlement_net_amount', |
53
|
|
|
'option', |
54
|
|
|
'option_group', |
55
|
|
|
'holiday', |
56
|
|
|
'payments', |
57
|
|
|
'term', |
58
|
|
|
]; |
59
|
|
|
} |
60
|
|
|
|