Skip to content

Commit bb9f71c

Browse files
committed
update20251118
1 parent cd049e4 commit bb9f71c

12 files changed

+353
-7
lines changed

CHANGELOG.md

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

3+
## 1.4.13 - 2025-11-18
4+
- ABA Statement
5+
- ESP & 普通代扣 API集成方案
6+
37
## 1.4.12 - 2025-11-05
48
- update20251105
59

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

init.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@
8989
require __DIR__ . '/request/notify/AlipaySubscriptionPayNotify.php';
9090
require __DIR__ . '/request/notify/AlipayVaultingNotify.php';
9191

92+
//ABA
93+
require __DIR__ . '/request/aba/AlipayInquiryStatementListRequest.php';
94+
9295

9396

9497

@@ -221,6 +224,8 @@
221224
require __DIR__ . '/model/CurrencyPair.php';
222225
require __DIR__ . '/model/CustomizedInfo.php';
223226
require __DIR__ . '/model/PassengerIdType.php';
227+
require __DIR__ . '/model/Statement.php';
228+
require __DIR__ . '/model/FundMoveDetail.php';
224229

225230

226231

model/AntomPathConstants.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,7 @@ class AntomPathConstants
4646

4747
const PAYMENT_INQUIRE_EXCHANGE_RATE_PATH = "/ams/api/v1/payments/inquireExchangeRate";
4848

49+
const ABA_INQUERY_STATEMENT_LIST_PATH = "/ams/api/v1/aba/accounts/inquiryStatementList";
50+
51+
4952
}

model/Env.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,24 @@ class Env
2424
public $deviceModel;
2525
public $deviceLanguage;
2626
public $deviceId;
27+
public $osVersion;
28+
29+
/**
30+
* @return mixed
31+
*/
32+
public function getOsVersion()
33+
{
34+
return $this->osVersion;
35+
}
36+
37+
/**
38+
* @param mixed $osVersion
39+
*/
40+
public function setOsVersion($osVersion): void
41+
{
42+
$this->osVersion = $osVersion;
43+
}
44+
2745

2846
/**
2947
* @return String

model/FundMoveDetail.php

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?php
2+
3+
namespace Model;
4+
5+
class FundMoveDetail
6+
{
7+
8+
public $memo;
9+
public $referenceTransactionId;
10+
11+
/**
12+
* @return mixed
13+
*/
14+
public function getMemo()
15+
{
16+
return $this->memo;
17+
}
18+
19+
/**
20+
* @param mixed $memo
21+
*/
22+
public function setMemo($memo): void
23+
{
24+
$this->memo = $memo;
25+
}
26+
27+
/**
28+
* @return mixed
29+
*/
30+
public function getReferenceTransactionId()
31+
{
32+
return $this->referenceTransactionId;
33+
}
34+
35+
/**
36+
* @param mixed $referenceTransactionId
37+
*/
38+
public function setReferenceTransactionId($referenceTransactionId): void
39+
{
40+
$this->referenceTransactionId = $referenceTransactionId;
41+
}
42+
43+
44+
45+
46+
}

model/ScopeType.php

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@ class ScopeType
55
{
66

77
const BASE_USER_INFO = "BASE_USER_INFO";
8-
const AGREEMENT_PAY = "AGREEMENT_PAY";
9-
const USER_INFO = "USER_INFO";
10-
const USER_LOGIN_ID = "USER_LOGIN_ID";
11-
const HASH_LOGIN_ID = "HASH_LOGIN_ID";
12-
const SEND_OTP = "SEND_OTP";
13-
const TAOBAO_REBIND = "TAOBAO_REBIND";
8+
const AGREEMENT_PAY = "AGREEMENT_PAY";
9+
const USER_INFO = "USER_INFO";
10+
const USER_LOGIN_ID = "USER_LOGIN_ID";
11+
const HASH_LOGIN_ID = "HASH_LOGIN_ID";
12+
const SEND_OTP = "SEND_OTP";
13+
const TAOBAO_REBIND = "TAOBAO_REBIND";
14+
15+
const ABA_DIRECT_PAYMENT_AUTHORIZATION = "ABA_DIRECT_PAYMENT_AUTHORIZATION";
16+
const ABA_LOAN_AUTHORIZATION = "ABA_LOAN_AUTHORIZATION";
17+
1418
}

model/Statement.php

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?php
2+
3+
namespace Model;
4+
5+
class Statement
6+
{
7+
8+
public $statementId;
9+
public $fundMoveDetail;
10+
11+
/**
12+
* @return mixed
13+
*/
14+
public function getStatementId()
15+
{
16+
return $this->statementId;
17+
}
18+
19+
/**
20+
* @param mixed $statementId
21+
*/
22+
public function setStatementId($statementId): void
23+
{
24+
$this->statementId = $statementId;
25+
}
26+
27+
/**
28+
* @return mixed
29+
*/
30+
public function getFundMoveDetail()
31+
{
32+
return $this->fundMoveDetail;
33+
}
34+
35+
/**
36+
* @param mixed $fundMoveDetail
37+
*/
38+
public function setFundMoveDetail($fundMoveDetail): void
39+
{
40+
$this->fundMoveDetail = $fundMoveDetail;
41+
}
42+
43+
44+
45+
46+
}
Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
<?php
2+
3+
namespace Request\aba;
4+
5+
use Model\AntomPathConstants;
6+
use Request\AlipayRequest;
7+
8+
class AlipayInquiryStatementListRequest extends AlipayRequest
9+
{
10+
11+
public $customerId;
12+
public $accessToken;
13+
public $startTime;
14+
public $endTime;
15+
public $transactionTypeList;
16+
public $currencyList;
17+
public $pageSize;
18+
public $pageNumber;
19+
20+
21+
22+
function __construct()
23+
{
24+
$this->setPath(AntomPathConstants::ABA_INQUERY_STATEMENT_LIST_PATH);
25+
}
26+
27+
/**
28+
* @return mixed
29+
*/
30+
public function getCustomerId()
31+
{
32+
return $this->customerId;
33+
}
34+
35+
/**
36+
* @param mixed $customerId
37+
*/
38+
public function setCustomerId($customerId): void
39+
{
40+
$this->customerId = $customerId;
41+
}
42+
43+
/**
44+
* @return mixed
45+
*/
46+
public function getAccessToken()
47+
{
48+
return $this->accessToken;
49+
}
50+
51+
/**
52+
* @param mixed $accessToken
53+
*/
54+
public function setAccessToken($accessToken): void
55+
{
56+
$this->accessToken = $accessToken;
57+
}
58+
59+
/**
60+
* @return mixed
61+
*/
62+
public function getStartTime()
63+
{
64+
return $this->startTime;
65+
}
66+
67+
/**
68+
* @param mixed $startTime
69+
*/
70+
public function setStartTime($startTime): void
71+
{
72+
$this->startTime = $startTime;
73+
}
74+
75+
/**
76+
* @return mixed
77+
*/
78+
public function getEndTime()
79+
{
80+
return $this->endTime;
81+
}
82+
83+
/**
84+
* @param mixed $endTime
85+
*/
86+
public function setEndTime($endTime): void
87+
{
88+
$this->endTime = $endTime;
89+
}
90+
91+
/**
92+
* @return mixed
93+
*/
94+
public function getTransactionTypeList()
95+
{
96+
return $this->transactionTypeList;
97+
}
98+
99+
/**
100+
* @param mixed $transactionTypeList
101+
*/
102+
public function setTransactionTypeList($transactionTypeList): void
103+
{
104+
$this->transactionTypeList = $transactionTypeList;
105+
}
106+
107+
/**
108+
* @return mixed
109+
*/
110+
public function getCurrencyList()
111+
{
112+
return $this->currencyList;
113+
}
114+
115+
/**
116+
* @param mixed $currencyList
117+
*/
118+
public function setCurrencyList($currencyList): void
119+
{
120+
$this->currencyList = $currencyList;
121+
}
122+
123+
/**
124+
* @return mixed
125+
*/
126+
public function getPageSize()
127+
{
128+
return $this->pageSize;
129+
}
130+
131+
/**
132+
* @param mixed $pageSize
133+
*/
134+
public function setPageSize($pageSize): void
135+
{
136+
$this->pageSize = $pageSize;
137+
}
138+
139+
/**
140+
* @return mixed
141+
*/
142+
public function getPageNumber()
143+
{
144+
return $this->pageNumber;
145+
}
146+
147+
/**
148+
* @param mixed $pageNumber
149+
*/
150+
public function setPageNumber($pageNumber): void
151+
{
152+
$this->pageNumber = $pageNumber;
153+
}
154+
155+
156+
157+
158+
159+
}

request/auth/AlipayAuthConsultRequest.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,32 @@ class AlipayAuthConsultRequest extends \Request\AlipayRequest
1919

2020
public $authMetaData;
2121

22+
public $authNotifyUrl;
23+
24+
2225
function __construct()
2326
{
2427
$this->setPath(\Model\AntomPathConstants::AUTH_CONSULT_PATH);
2528
}
2629

30+
/**
31+
* @return mixed
32+
*/
33+
public function getAuthNotifyUrl()
34+
{
35+
return $this->authNotifyUrl;
36+
}
37+
38+
/**
39+
* @param mixed $authNotifyUrl
40+
*/
41+
public function setAuthNotifyUrl($authNotifyUrl): void
42+
{
43+
$this->authNotifyUrl = $authNotifyUrl;
44+
}
45+
46+
47+
2748
/**
2849
* @return mixed
2950
*/

0 commit comments

Comments
 (0)