UNPKG
@eckidevs/payfastjs
Version:
latest (0.1.3)
0.1.3
0.1.2
0.1.1
0.1.0
A Node.js implementation of the PayFast API.
github.com/Eckhardt-D/payfastjs
Eckhardt-D/payfastjs
@eckidevs/payfastjs
/
src
/
transactions
/
entity
/
index.js
12 lines
(10 loc)
•
214 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
const
makeEntity =
require
(
"./builder"
);
module
.
exports
=
function
transactionEntity
(
{ merchantId, passphrase, period, to,
from
}
) {
return
makeEntity
(merchantId, passphrase, period, { to,
from
}); };