Skip to content

Commit dffe8b5

Browse files
authored
Update Payment - GetWalletTransactionList Request to include missing params. (#11)
1 parent d8d0539 commit dffe8b5

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

src/Resources/Payment.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,11 @@ public function getPaymentMethodList()
136136
* @param int $create_time_to
137137
* @param string $wallet_type
138138
* @param string $transaction_type
139+
* @param string $money_flow
140+
* @param string $transaction_tab_type
139141
* @return array|mixed
140142
*/
141-
public function getWalletTransactionList($page_size, $page_no, $create_time_from, $create_time_to, $wallet_type = null, $transaction_type = null)
143+
public function getWalletTransactionList($page_size, $page_no, $create_time_from, $create_time_to, $wallet_type = null, $transaction_type = null, $money_flow = null, $transaction_tab_type = null)
142144
{
143145
$params = [
144146
'page_size' => $page_size,
@@ -155,6 +157,14 @@ public function getWalletTransactionList($page_size, $page_no, $create_time_from
155157
$params['transaction_type'] = $transaction_type;
156158
}
157159

160+
if ($money_flow) {
161+
$params['money_flow'] = $money_flow;
162+
}
163+
164+
if ($transaction_tab_type) {
165+
$params['transaction_tab_type'] = $transaction_tab_type;
166+
}
167+
158168
return $this->call('GET', 'payment/get_wallet_transaction_list', [
159169
RequestOptions::QUERY => $params,
160170
]);

0 commit comments

Comments
 (0)