Skip to content

Commit 0478bae

Browse files
authored
Merge pull request #17 from alipay/feature-notify
update notify
2 parents 64016aa + bb74b62 commit 0478bae

9 files changed

+797
-2
lines changed

CHANGELOG.md

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

3+
## 1.3.5 - 2024-11-04
4+
* [#17](https://github.com/alipay/global-open-sdk-php/pull/17) feature-notify
5+
- add notify
6+
37
## 1.3.4 - 2024-10-21
48
* [#15](https://github.com/alipay/global-open-sdk-php/pull/15) feature-241022
59
- add AlipayVaultingSessionRequest.is3DSAuthentication哈啰集成绑卡SDK

README.md

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

request/notify/AlipayAuthNotify.php

+180
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
1+
<?php
2+
3+
namespace Request\notify;
4+
5+
class AlipayAuthNotify extends AlipayNotify
6+
{
7+
8+
/**
9+
* Authorization notification type
10+
*/
11+
public $authorizationNotifyType;
12+
13+
/**
14+
* authClientId
15+
*/
16+
public $authClientId;
17+
18+
/**
19+
* The access token that is used to access the corresponding scope of the user resource
20+
*/
21+
public $accessToken;
22+
23+
/**
24+
* A string that is generated by the acquirer to represent the consult request
25+
*/
26+
public $authState;
27+
28+
/**
29+
* The authorization code, used for getting an access token
30+
*/
31+
public $authCode;
32+
33+
/**
34+
* The reason why the authorization is canceled
35+
*/
36+
public $reason;
37+
38+
/**
39+
* The login ID that the user used to register in the wallet
40+
*/
41+
public $userLoginId;
42+
43+
/**
44+
* The ID assigned by the payment method provider to identify a user
45+
*/
46+
public $userId;
47+
48+
/**
49+
* @return mixed
50+
*/
51+
public function getAuthorizationNotifyType()
52+
{
53+
return $this->authorizationNotifyType;
54+
}
55+
56+
/**
57+
* @param mixed $authorizationNotifyType
58+
*/
59+
public function setAuthorizationNotifyType($authorizationNotifyType): void
60+
{
61+
$this->authorizationNotifyType = $authorizationNotifyType;
62+
}
63+
64+
/**
65+
* @return mixed
66+
*/
67+
public function getAuthClientId()
68+
{
69+
return $this->authClientId;
70+
}
71+
72+
/**
73+
* @param mixed $authClientId
74+
*/
75+
public function setAuthClientId($authClientId): void
76+
{
77+
$this->authClientId = $authClientId;
78+
}
79+
80+
/**
81+
* @return mixed
82+
*/
83+
public function getAccessToken()
84+
{
85+
return $this->accessToken;
86+
}
87+
88+
/**
89+
* @param mixed $accessToken
90+
*/
91+
public function setAccessToken($accessToken): void
92+
{
93+
$this->accessToken = $accessToken;
94+
}
95+
96+
/**
97+
* @return mixed
98+
*/
99+
public function getAuthState()
100+
{
101+
return $this->authState;
102+
}
103+
104+
/**
105+
* @param mixed $authState
106+
*/
107+
public function setAuthState($authState): void
108+
{
109+
$this->authState = $authState;
110+
}
111+
112+
/**
113+
* @return mixed
114+
*/
115+
public function getAuthCode()
116+
{
117+
return $this->authCode;
118+
}
119+
120+
/**
121+
* @param mixed $authCode
122+
*/
123+
public function setAuthCode($authCode): void
124+
{
125+
$this->authCode = $authCode;
126+
}
127+
128+
/**
129+
* @return mixed
130+
*/
131+
public function getReason()
132+
{
133+
return $this->reason;
134+
}
135+
136+
/**
137+
* @param mixed $reason
138+
*/
139+
public function setReason($reason): void
140+
{
141+
$this->reason = $reason;
142+
}
143+
144+
/**
145+
* @return mixed
146+
*/
147+
public function getUserLoginId()
148+
{
149+
return $this->userLoginId;
150+
}
151+
152+
/**
153+
* @param mixed $userLoginId
154+
*/
155+
public function setUserLoginId($userLoginId): void
156+
{
157+
$this->userLoginId = $userLoginId;
158+
}
159+
160+
/**
161+
* @return mixed
162+
*/
163+
public function getUserId()
164+
{
165+
return $this->userId;
166+
}
167+
168+
/**
169+
* @param mixed $userId
170+
*/
171+
public function setUserId($userId): void
172+
{
173+
$this->userId = $userId;
174+
}
175+
176+
177+
178+
179+
180+
}

request/notify/AlipayCaptureResultNotify.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Request\notify;
44

5-
class AlipayCaptureResultNotify
5+
class AlipayCaptureResultNotify extends AlipayNotify
66
{
77

88
public $captureRequestId;

0 commit comments

Comments
 (0)