Skip to content

Commit 23fc825

Browse files
增加花呗参数
1 parent 66ea5c0 commit 23fc825

File tree

3 files changed

+81
-0
lines changed

3 files changed

+81
-0
lines changed

model/CreditPayFeeType.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
class CreditPayFeeType{
4+
5+
const PERCENTAGE = "PERCENTAGE";
6+
7+
}

model/CreditPayPlan.php

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
<?php
2+
3+
class CreditPayPlan{
4+
5+
public $installmentNum;
6+
public $creditPayFeeType;
7+
public $feePercentage;
8+
9+
/**
10+
* @return mixed
11+
*/
12+
public function getInstallmentNum()
13+
{
14+
return $this->installmentNum;
15+
}
16+
17+
/**
18+
* @param mixed $installmentNum
19+
*/
20+
public function setInstallmentNum($installmentNum)
21+
{
22+
$this->installmentNum = $installmentNum;
23+
}
24+
25+
/**
26+
* @return mixed
27+
*/
28+
public function getCreditPayFeeType()
29+
{
30+
return $this->creditPayFeeType;
31+
}
32+
33+
/**
34+
* @param mixed $creditPayFeeType
35+
*/
36+
public function setCreditPayFeeType($creditPayFeeType)
37+
{
38+
$this->creditPayFeeType = $creditPayFeeType;
39+
}
40+
41+
/**
42+
* @return mixed
43+
*/
44+
public function getFeePercentage()
45+
{
46+
return $this->feePercentage;
47+
}
48+
49+
/**
50+
* @param mixed $feePercentage
51+
*/
52+
public function setFeePercentage($feePercentage)
53+
{
54+
$this->feePercentage = $feePercentage;
55+
}
56+
57+
}

request/pay/AlipayPayRequest.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class AlipayPayRequest extends AlipayRequest{
1919
public $merchant;
2020
public $env;
2121
public $extendInfo;
22+
public $creditPayPlan;
2223

2324
/**
2425
* @return mixed
@@ -260,4 +261,20 @@ public function setExtendInfo($extendInfo)
260261
$this->extendInfo = $extendInfo;
261262
}
262263

264+
/**
265+
* @return mixed
266+
*/
267+
public function getCreditPayPlan()
268+
{
269+
return $this->creditPayPlan;
270+
}
271+
272+
/**
273+
* @param mixed $creditPayPlan
274+
*/
275+
public function setCreditPayPlan($creditPayPlan)
276+
{
277+
$this->creditPayPlan = $creditPayPlan;
278+
}
279+
263280
}

0 commit comments

Comments
 (0)