fix(core): update

This commit is contained in:
2020-08-24 01:55:50 +00:00
parent 12b6a771a2
commit d6a0a9d438
6 changed files with 65 additions and 6 deletions

View File

@ -16,7 +16,10 @@ tap.test('should create a valid paypal instance', async () => {
});
tap.test('should get an access token', async () => {
const transactions = await paypal.PayPalTransaction.getTransactionFor30days(testPayPalInstance, smarttime.ExtendedDate.fromHyphedDate('2020-05-01').getTime());
const transactions = await testPayPalInstance.getTransactionsFromTo(
smarttime.ExtendedDate.fromHyphedDate('2020-01-01').getTime(),
smarttime.ExtendedDate.fromHyphedDate('2020-08-01').getTime(),
);
console.log(transactions);
});