@emilgroup/payment-sdk-node 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/models/payment-class.ts +13 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/payment-sdk-node@1.
|
|
20
|
+
npm install @emilgroup/payment-sdk-node@1.8.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/payment-sdk-node@1.8.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
package/models/payment-class.ts
CHANGED
|
@@ -63,18 +63,12 @@ export interface PaymentClass {
|
|
|
63
63
|
* @memberof PaymentClass
|
|
64
64
|
*/
|
|
65
65
|
'createdAt': string;
|
|
66
|
-
/**
|
|
67
|
-
* Time at which the object was updated.
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof PaymentClass
|
|
70
|
-
*/
|
|
71
|
-
'updatedAt': string;
|
|
72
66
|
/**
|
|
73
67
|
* Transactions referenced by this payment.
|
|
74
68
|
* @type {Array<TransactionClass>}
|
|
75
69
|
* @memberof PaymentClass
|
|
76
70
|
*/
|
|
77
|
-
'transactions'
|
|
71
|
+
'transactions'?: Array<TransactionClass>;
|
|
78
72
|
/**
|
|
79
73
|
* Optional field contain extra information.
|
|
80
74
|
* @type {object}
|
|
@@ -99,5 +93,17 @@ export interface PaymentClass {
|
|
|
99
93
|
* @memberof PaymentClass
|
|
100
94
|
*/
|
|
101
95
|
'receivedDate': string;
|
|
96
|
+
/**
|
|
97
|
+
* Reference number of the payment.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof PaymentClass
|
|
100
|
+
*/
|
|
101
|
+
'referenceNumber'?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Comment on this payment
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof PaymentClass
|
|
106
|
+
*/
|
|
107
|
+
'comment'?: string;
|
|
102
108
|
}
|
|
103
109
|
|