Skip to content

Commit 4b850f1

Browse files
authored
Merge pull request #22 from alipay/feature-241216
1. RDR拒付通知优化通用能力变更
2 parents 88e5bf8 + 71d6897 commit 4b850f1

8 files changed

+137
-1
lines changed

CHANGELOG.md

+6
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

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

init.php

+3
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

+81
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
<?php
2+
3+
namespace Model;
4+
5+
class ApplePayConfiguration
6+
{
7+
public $requiredBillingContactFields;
8+
public $requiredShippingContactFields;
9+
public $buttonsBundled;
10+
11+
public $applePayToken;
12+
13+
14+
/**
15+
* @return mixed
16+
*/
17+
public function getApplePayToken()
18+
{
19+
return $this->applePayToken;
20+
}
21+
22+
/**
23+
* @param mixed $applePayToken
24+
*/
25+
public function setApplePayToken($applePayToken): void
26+
{
27+
$this->applePayToken = $applePayToken;
28+
}
29+
30+
31+
32+
/**
33+
* @return mixed
34+
*/
35+
public function getRequiredBillingContactFields()
36+
{
37+
return $this->requiredBillingContactFields;
38+
}
39+
40+
/**
41+
* @param mixed $requiredBillingContactFields
42+
*/
43+
public function setRequiredBillingContactFields($requiredBillingContactFields): void
44+
{
45+
$this->requiredBillingContactFields = $requiredBillingContactFields;
46+
}
47+
48+
/**
49+
* @return mixed
50+
*/
51+
public function getRequiredShippingContactFields()
52+
{
53+
return $this->requiredShippingContactFields;
54+
}
55+
56+
/**
57+
* @param mixed $requiredShippingContactFields
58+
*/
59+
public function setRequiredShippingContactFields($requiredShippingContactFields): void
60+
{
61+
$this->requiredShippingContactFields = $requiredShippingContactFields;
62+
}
63+
64+
/**
65+
* @return mixed
66+
*/
67+
public function getButtonsBundled()
68+
{
69+
return $this->buttonsBundled;
70+
}
71+
72+
/**
73+
* @param mixed $buttonsBundled
74+
*/
75+
public function setButtonsBundled($buttonsBundled): void
76+
{
77+
$this->buttonsBundled = $buttonsBundled;
78+
}
79+
80+
81+
}

model/DisputeAcceptReasonType.php

+10
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

+14
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

+2
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

+20
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)