forked from socialmoney/corepro-sdk-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtransaction.php
More file actions
28 lines (25 loc) · 737 Bytes
/
transaction.php
File metadata and controls
28 lines (25 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
//see: http://docs.corepro.io/api/transaction
final class Transaction {
public $transactionCount;
public $transactionId;
public $customerId;
public $type;
public $typeCode;
public $tag;
public $friendlyDescription;
public $nachaDescription;
public $status;
public $createdDate;
public $amount;
public $settledDate;
public $availableDate;
public $voidedDate;
public $returnCode;
public function ListAll($customerId, $accountId, $beginDate, $endDate, $pageNumber=0, $pageSize=200){
$requestor = new Requestor();
$model = $requestor->Get("/transaction/list/".$customerId."/".$accountId."/".$beginDate."/".$endDate."?pageNumber=".$pageNumber."&pageSize=".$pageSize, "Transaction");
return $model;
}
}
?>