File tree Expand file tree Collapse file tree 14 files changed +439
-14
lines changed Expand file tree Collapse file tree 14 files changed +439
-14
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 1.4.1 - 2025-01-06
4
+ * [ #24 ] ( https://github.com/alipay/global-open-sdk-php/pull/24 ) feature-250106
5
+ - 订阅支付新增“更新接口”
3
6
4
7
## 1.4.0 - 2024-12-24
5
8
* [ #23 ] ( https://github.com/alipay/global-open-sdk-php/pull/23 ) feature-241224
Original file line number Diff line number Diff line change 1
1
```
2
2
Language:PHP
3
3
PHP version:5.6.40+
4
- Releass ^1.4.0
4
+ Releass ^1.4.1
5
5
Copyright:Ant financial services group
6
6
```
7
7
Original file line number Diff line number Diff line change 8
8
require __DIR__ . '/request/auth/AlipayAuthConsultRequest.php ' ;
9
9
require __DIR__ . '/request/auth/AlipayAuthQueryTokenRequest.php ' ;
10
10
require __DIR__ . '/request/auth/AlipayAuthRevokeTokenRequest.php ' ;
11
+ require __DIR__ . '/request/auth/AlipayAuthCreateSessionRequest.php ' ;
11
12
12
13
//customs
13
14
require __DIR__ . '/request/customs/AlipayCustomsDeclareRequest.php ' ;
36
37
37
38
38
39
//subscription
39
- require __DIR__ . '/request/subscription/AlipaySubscriptionCancelRequest .php ' ;
40
+ require __DIR__ . '/request/subscription/AlipaySubscriptionUpdateRequest .php ' ;
40
41
require __DIR__ . '/request/subscription/AlipaySubscriptionChangeRequest.php ' ;
41
42
require __DIR__ . '/request/subscription/AlipaySubscriptionCreateRequest.php ' ;
43
+ require __DIR__ . '/request/subscription/AlipaySubscriptionUpdateRequest.php ' ;
42
44
43
45
//user
44
46
require __DIR__ . '/request/users/AlipayInitAuthenticationRequest.php ' ;
205
207
require __DIR__ . '/model/DisputeNotificationType.php ' ;
206
208
require __DIR__ . '/model/AvailablePaymentMethod.php ' ;
207
209
require __DIR__ . '/model/PaymentMethodTypeItem.php ' ;
210
+ require __DIR__ . '/model/AgreementInfo.php ' ;
211
+ require __DIR__ . '/model/Discount.php ' ;
212
+
208
213
209
214
210
215
//client
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Model ;
4
+
5
+ class AgreementInfo
6
+ {
7
+
8
+ public $ authState ;
9
+
10
+
11
+ public $ userLoginId ;
12
+
13
+
14
+ public $ userLoginType ;
15
+
16
+
17
+ public $ displayUserLoginId ;
18
+
19
+
20
+
21
+ /**
22
+ * @return mixed
23
+ */
24
+ public function getAuthState ()
25
+ {
26
+ return $ this ->authState ;
27
+ }
28
+
29
+ /**
30
+ * @param mixed $authState
31
+ */
32
+ public function setAuthState ($ authState )
33
+ {
34
+ $ this ->authState = $ authState ;
35
+ }
36
+
37
+ /**
38
+ * @return mixed
39
+ */
40
+ public function getUserLoginId ()
41
+ {
42
+ return $ this ->userLoginId ;
43
+ }
44
+
45
+ /**
46
+ * @param mixed $userLoginId
47
+ */
48
+ public function setUserLoginId ($ userLoginId )
49
+ {
50
+ $ this ->userLoginId = $ userLoginId ;
51
+ }
52
+
53
+ /**
54
+ * @return mixed
55
+ */
56
+ public function getUserLoginType ()
57
+ {
58
+ return $ this ->userLoginType ;
59
+ }
60
+
61
+ /**
62
+ * @param mixed $userLoginType
63
+ */
64
+ public function setUserLoginType ($ userLoginType )
65
+ {
66
+ $ this ->userLoginType = $ userLoginType ;
67
+ }
68
+
69
+ /**
70
+ * @return mixed
71
+ */
72
+ public function getDisplayUserLoginId ()
73
+ {
74
+ return $ this ->displayUserLoginId ;
75
+ }
76
+
77
+ /**
78
+ * @param mixed $displayUserLoginId
79
+ */
80
+ public function setDisplayUserLoginId ($ displayUserLoginId )
81
+ {
82
+ $ this ->displayUserLoginId = $ displayUserLoginId ;
83
+ }
84
+
85
+
86
+
87
+
88
+ }
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ class AntomPathConstants
22
22
const SUBSCRIPTION_CREATE_PATH = '/ams/api/v1/subscriptions/create ' ;
23
23
const SUBSCRIPTION_CHANGE_PATH = '/ams/api/v1/subscriptions/change ' ;
24
24
const SUBSCRIPTION_CANCEL_PATH = '/ams/api/v1/subscriptions/cancel ' ;
25
+ const SUBSCRIPTION_UPDATE_PATH = "/ams/api/v1/subscriptions/update " ;
25
26
const ACCEPT_DISPUTE_PATH = '/ams/api/v1/payments/acceptDispute ' ;
26
27
const SUPPLY_DEFENCE_DOC_PATH = '/ams/api/v1/payments/supplyDefenseDocument ' ;
27
28
const DOWNLOAD_DISPUTE_EVIDENCE_PATH = '/ams/api/v1/payments/downloadDisputeEvidence ' ;
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public function getApplePayToken()
22
22
/**
23
23
* @param mixed $applePayToken
24
24
*/
25
- public function setApplePayToken ($ applePayToken ): void
25
+ public function setApplePayToken ($ applePayToken )
26
26
{
27
27
$ this ->applePayToken = $ applePayToken ;
28
28
}
@@ -40,7 +40,7 @@ public function getRequiredBillingContactFields()
40
40
/**
41
41
* @param mixed $requiredBillingContactFields
42
42
*/
43
- public function setRequiredBillingContactFields ($ requiredBillingContactFields ): void
43
+ public function setRequiredBillingContactFields ($ requiredBillingContactFields )
44
44
{
45
45
$ this ->requiredBillingContactFields = $ requiredBillingContactFields ;
46
46
}
@@ -56,7 +56,7 @@ public function getRequiredShippingContactFields()
56
56
/**
57
57
* @param mixed $requiredShippingContactFields
58
58
*/
59
- public function setRequiredShippingContactFields ($ requiredShippingContactFields ): void
59
+ public function setRequiredShippingContactFields ($ requiredShippingContactFields )
60
60
{
61
61
$ this ->requiredShippingContactFields = $ requiredShippingContactFields ;
62
62
}
@@ -72,7 +72,7 @@ public function getButtonsBundled()
72
72
/**
73
73
* @param mixed $buttonsBundled
74
74
*/
75
- public function setButtonsBundled ($ buttonsBundled ): void
75
+ public function setButtonsBundled ($ buttonsBundled )
76
76
{
77
77
$ this ->buttonsBundled = $ buttonsBundled ;
78
78
}
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ public function getPaymentMethodTypeList()
14
14
return $ this ->paymentMethodTypeList ;
15
15
}
16
16
17
- /**
17
+ /**。/
18
18
* @param mixed $paymentMethodTypeList
19
19
*/
20
- public function setPaymentMethodTypeList ($ paymentMethodTypeList ): void
20
+ public function setPaymentMethodTypeList ($ paymentMethodTypeList )
21
21
{
22
22
$ this ->paymentMethodTypeList = $ paymentMethodTypeList ;
23
23
}
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public function getIs3DSAuthentication()
68
68
/**
69
69
* @param mixed $is3DSAuthentication
70
70
*/
71
- public function setIs3DSAuthentication ($ is3DSAuthentication ): void
71
+ public function setIs3DSAuthentication ($ is3DSAuthentication )
72
72
{
73
73
$ this ->is3DSAuthentication = $ is3DSAuthentication ;
74
74
}
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Model ;
4
+
5
+ class Discount
6
+ {
7
+ public $ discountTag ;
8
+ public $ discountName ;
9
+ public $ savingsAmount ;
10
+ public $ estimateSavingsAmount ;
11
+
12
+ /**
13
+ * @return mixed
14
+ */
15
+ public function getDiscountTag ()
16
+ {
17
+ return $ this ->discountTag ;
18
+ }
19
+
20
+ /**
21
+ * @param mixed $discountTag
22
+ */
23
+ public function setDiscountTag ($ discountTag )
24
+ {
25
+ $ this ->discountTag = $ discountTag ;
26
+ }
27
+
28
+ /**
29
+ * @return mixed
30
+ */
31
+ public function getDiscountName ()
32
+ {
33
+ return $ this ->discountName ;
34
+ }
35
+
36
+ /**
37
+ * @param mixed $discountName
38
+ */
39
+ public function setDiscountName ($ discountName )
40
+ {
41
+ $ this ->discountName = $ discountName ;
42
+ }
43
+
44
+ /**
45
+ * @return mixed
46
+ */
47
+ public function getSavingsAmount ()
48
+ {
49
+ return $ this ->savingsAmount ;
50
+ }
51
+
52
+ /**
53
+ * @param mixed $savingsAmount
54
+ */
55
+ public function setSavingsAmount ($ savingsAmount )
56
+ {
57
+ $ this ->savingsAmount = $ savingsAmount ;
58
+ }
59
+
60
+ /**
61
+ * @return mixed
62
+ */
63
+ public function getEstimateSavingsAmount ()
64
+ {
65
+ return $ this ->estimateSavingsAmount ;
66
+ }
67
+
68
+ /**
69
+ * @param mixed $estimateSavingsAmount
70
+ */
71
+ public function setEstimateSavingsAmount ($ estimateSavingsAmount )
72
+ {
73
+ $ this ->estimateSavingsAmount = $ estimateSavingsAmount ;
74
+ }
75
+
76
+
77
+
78
+ }
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ public function getPaymentMethodType()
19
19
/**
20
20
* @param mixed $paymentMethodType
21
21
*/
22
- public function setPaymentMethodType ($ paymentMethodType ): void
22
+ public function setPaymentMethodType ($ paymentMethodType )
23
23
{
24
24
$ this ->paymentMethodType = $ paymentMethodType ;
25
25
}
@@ -35,7 +35,7 @@ public function getPaymentMethodOrder()
35
35
/**
36
36
* @param mixed $paymentMethodOrder
37
37
*/
38
- public function setPaymentMethodOrder ($ paymentMethodOrder ): void
38
+ public function setPaymentMethodOrder ($ paymentMethodOrder )
39
39
{
40
40
$ this ->paymentMethodOrder = $ paymentMethodOrder ;
41
41
}
@@ -51,7 +51,7 @@ public function getExpressCheckout()
51
51
/**
52
52
* @param mixed $expressCheckout
53
53
*/
54
- public function setExpressCheckout ($ expressCheckout ): void
54
+ public function setExpressCheckout ($ expressCheckout )
55
55
{
56
56
$ this ->expressCheckout = $ expressCheckout ;
57
57
}
You can’t perform that action at this time.
0 commit comments