Skip to content

Commit bb4e3df

Browse files
committed
1. RDR拒付通知优化通用能力变更
2. Antom新增ApplePay支付方式
1 parent 88e5bf8 commit bb4e3df

File tree

8 files changed

+116
-1
lines changed

8 files changed

+116
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
4+
## 1.3.9 - 2024-12-17
5+
* [#22](https://github.com/alipay/global-open-sdk-php/pull/22) feature-241216
6+
- RDR拒付通知优化通用能力变更
7+
- Antom新增ApplePay支付方式
8+
39
## 1.3.8 - 2024-12-02
410
* [#21](https://github.com/alipay/global-open-sdk-php/pull/21) feature-2411202
511
- update AlipayDisputeNotify

README.md

Lines changed: 1 addition & 1 deletion
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.8
4+
Releass ^1.3.9
55
Copyright:Ant financial services group
66
```
77

init.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,9 @@
200200
require __DIR__ . '/model/AcquirerInfo.php';
201201
require __DIR__ . '/model/PeriodType.php';
202202
require __DIR__ . '/model/CancellationType.php';
203+
require __DIR__ . '/model/ApplePayConfiguration.php';
204+
require __DIR__ . '/model/DisputeAcceptReasonType.php';
205+
require __DIR__ . '/model/DisputeNotificationType.php';
203206

204207

205208
//client

model/ApplePayConfiguration.php

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<?php
2+
3+
namespace Model;
4+
5+
class ApplePayConfiguration
6+
{
7+
public $requiredBillingContactFields;
8+
public $requiredShippingContactFields;
9+
public $buttonsBundled;
10+
11+
/**
12+
* @return mixed
13+
*/
14+
public function getRequiredBillingContactFields()
15+
{
16+
return $this->requiredBillingContactFields;
17+
}
18+
19+
/**
20+
* @param mixed $requiredBillingContactFields
21+
*/
22+
public function setRequiredBillingContactFields($requiredBillingContactFields): void
23+
{
24+
$this->requiredBillingContactFields = $requiredBillingContactFields;
25+
}
26+
27+
/**
28+
* @return mixed
29+
*/
30+
public function getRequiredShippingContactFields()
31+
{
32+
return $this->requiredShippingContactFields;
33+
}
34+
35+
/**
36+
* @param mixed $requiredShippingContactFields
37+
*/
38+
public function setRequiredShippingContactFields($requiredShippingContactFields): void
39+
{
40+
$this->requiredShippingContactFields = $requiredShippingContactFields;
41+
}
42+
43+
/**
44+
* @return mixed
45+
*/
46+
public function getButtonsBundled()
47+
{
48+
return $this->buttonsBundled;
49+
}
50+
51+
/**
52+
* @param mixed $buttonsBundled
53+
*/
54+
public function setButtonsBundled($buttonsBundled): void
55+
{
56+
$this->buttonsBundled = $buttonsBundled;
57+
}
58+
59+
60+
}

model/DisputeAcceptReasonType.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
namespace Model;
4+
5+
class DisputeAcceptReasonType
6+
{
7+
const MERCHANT_ACCEPTED = "MERCHANT_ACCEPTED";
8+
const TIMEOUT = "TIMEOUT";
9+
const MANUAL_PROCESSING_ACCEPTED = "MANUAL_PROCESSING_ACCEPTED";
10+
}

model/DisputeNotificationType.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php
2+
3+
namespace Model;
4+
5+
class DisputeNotificationType
6+
{
7+
const DISPUTE_CREATED = "DISPUTE_CREATED";
8+
const DISPUTE_JUDGED = "DISPUTE_JUDGED";
9+
const DISPUTE_CANCELLED = "DISPUTE_CANCELLED";
10+
const DEFENSE_SUPPLIED = "DEFENSE_SUPPLIED";
11+
const DEFENSE_DUE_ALERT = "DEFENSE_DUE_ALERT";
12+
const DISPUTE_ACCEPTED = "DISPUTE_ACCEPTED";
13+
const RDR_RESOLVED = "RDR_RESOLVED";
14+
}

model/WalletPaymentMethodType.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,6 @@ class WalletPaymentMethodType
4040
const SETTLEMENT_CARD = 'SETTLEMENT_CARD';
4141
const BALANCE_ACCOUNT = 'BALANCE_ACCOUNT';
4242

43+
const APPLEPAY = "APPLEPAY";
44+
4345
}

request/notify/AlipayDisputeNotify.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,26 @@ class AlipayDisputeNotify extends \Request\notify\AlipayNotify
2424

2525
public $disputeType;
2626

27+
public $defendable;
28+
29+
/**
30+
* @return mixed
31+
*/
32+
public function getDefendable()
33+
{
34+
return $this->defendable;
35+
}
36+
37+
/**
38+
* @param mixed $defendable
39+
*/
40+
public function setDefendable($defendable): void
41+
{
42+
$this->defendable = $defendable;
43+
}
44+
45+
46+
2747
/**
2848
* @return mixed
2949
*/

0 commit comments

Comments
 (0)