Skip to content

Commit c5d5203

Browse files
committed
1. CKP二期支持商户传入可选支付方式列表
2. AMS独立绑卡支持MIT交易
1 parent 4b850f1 commit c5d5203

7 files changed

+136
-1
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Changelog
22

33

4+
## 1.4.0 - 2024-12-24
5+
* [#23](https://github.com/alipay/global-open-sdk-php/pull/23) feature-241224
6+
- CKP二期支持商户传入可选支付方式列表
7+
- AMS独立绑卡支持MIT交易
8+
49
## 1.3.9 - 2024-12-17
510
* [#22](https://github.com/alipay/global-open-sdk-php/pull/22) feature-241216
611
- RDR拒付通知优化通用能力变更

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
```
22
Language:PHP
33
PHP version:5.6.40+
4-
Releass ^1.3.9
4+
Releass ^1.4.0
55
Copyright:Ant financial services group
66
```
77

init.php

+2
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,8 @@
203203
require __DIR__ . '/model/ApplePayConfiguration.php';
204204
require __DIR__ . '/model/DisputeAcceptReasonType.php';
205205
require __DIR__ . '/model/DisputeNotificationType.php';
206+
require __DIR__ . '/model/AvailablePaymentMethod.php';
207+
require __DIR__ . '/model/PaymentMethodTypeItem.php';
206208

207209

208210
//client

model/AvailablePaymentMethod.php

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
3+
namespace Model;
4+
5+
class AvailablePaymentMethod
6+
{
7+
public $paymentMethodTypeList;
8+
9+
/**
10+
* @return mixed
11+
*/
12+
public function getPaymentMethodTypeList()
13+
{
14+
return $this->paymentMethodTypeList;
15+
}
16+
17+
/**
18+
* @param mixed $paymentMethodTypeList
19+
*/
20+
public function setPaymentMethodTypeList($paymentMethodTypeList): void
21+
{
22+
$this->paymentMethodTypeList = $paymentMethodTypeList;
23+
}
24+
25+
26+
}

model/PaymentMethodDetail.php

+23
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,29 @@ class PaymentMethodDetail
1313

1414
public $paymentMethodType;
1515

16+
private $is3DSAuthentication;
17+
18+
19+
20+
/**
21+
* @return mixed
22+
*/
23+
public function getIs3DSAuthentication()
24+
{
25+
return $this->is3DSAuthentication;
26+
}
27+
28+
/**
29+
* @param mixed $is3DSAuthentication
30+
*/
31+
public function setIs3DSAuthentication($is3DSAuthentication): void
32+
{
33+
$this->is3DSAuthentication = $is3DSAuthentication;
34+
}
35+
36+
37+
38+
1639
/**
1740
* @return mixed
1841
*/

model/PaymentMethodTypeItem.php

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<?php
2+
3+
namespace Model;
4+
5+
class PaymentMethodTypeItem
6+
{
7+
public $paymentMethodType;
8+
public $paymentMethodOrder;
9+
public $expressCheckout;
10+
11+
/**
12+
* @return mixed
13+
*/
14+
public function getPaymentMethodType()
15+
{
16+
return $this->paymentMethodType;
17+
}
18+
19+
/**
20+
* @param mixed $paymentMethodType
21+
*/
22+
public function setPaymentMethodType($paymentMethodType): void
23+
{
24+
$this->paymentMethodType = $paymentMethodType;
25+
}
26+
27+
/**
28+
* @return mixed
29+
*/
30+
public function getPaymentMethodOrder()
31+
{
32+
return $this->paymentMethodOrder;
33+
}
34+
35+
/**
36+
* @param mixed $paymentMethodOrder
37+
*/
38+
public function setPaymentMethodOrder($paymentMethodOrder): void
39+
{
40+
$this->paymentMethodOrder = $paymentMethodOrder;
41+
}
42+
43+
/**
44+
* @return mixed
45+
*/
46+
public function getExpressCheckout()
47+
{
48+
return $this->expressCheckout;
49+
}
50+
51+
/**
52+
* @param mixed $expressCheckout
53+
*/
54+
public function setExpressCheckout($expressCheckout): void
55+
{
56+
$this->expressCheckout = $expressCheckout;
57+
}
58+
59+
60+
}

request/pay/AlipayPaymentSessionRequest.php

+19
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,31 @@ class AlipayPaymentSessionRequest extends AlipayRequest
9797

9898
public $locale;
9999

100+
private $availablePaymentMethod;
101+
100102

101103
function __construct()
102104
{
103105
$this->setPath(AntomPathConstants::CREATE_SESSION_PATH);
104106
}
105107

108+
/**
109+
* @return mixed
110+
*/
111+
public function getAvailablePaymentMethod()
112+
{
113+
return $this->availablePaymentMethod;
114+
}
115+
116+
/**
117+
* @param mixed $availablePaymentMethod
118+
*/
119+
public function setAvailablePaymentMethod($availablePaymentMethod): void
120+
{
121+
$this->availablePaymentMethod = $availablePaymentMethod;
122+
}
123+
124+
106125

107126
/**
108127
* @return mixed

0 commit comments

Comments
 (0)