@cinerino/sdk 3.43.0-alpha.1 → 3.44.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 +0 -1
- package/example/src/transaction/processPlaceOrderByPaymentCard.ts +2 -9
- package/lib/bundle.js +373 -373
- package/package.json +2 -2
- package/CHANGELOG.md +0 -934
- package/example/.gitignore +0 -1
- package/example/playground/.gitignore +0 -15
package/README.md
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/@cinerino/sdk)
|
|
4
4
|
[](https://circleci.com/gh/cinerino/sdk)
|
|
5
5
|
[](https://coveralls.io/github/cinerino/sdk?branch=master)
|
|
6
|
-
[](https://david-dm.org/cinerino/sdk)
|
|
7
6
|
[](https://snyk.io/test/github/cinerino/sdk?targetFile=package.json)
|
|
8
7
|
[](https://nodei.co/npm/@cinerino/sdk/)
|
|
9
8
|
|
|
@@ -15,11 +15,6 @@ const profile = {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
const paymentMethodType: string = 'PrepaidPaymentCard';
|
|
18
|
-
const paymentCard: client.factory.action.authorize.paymentMethod.any.IPaymentCard = {
|
|
19
|
-
typeOf: client.factory.permit.PermitType.Permit,
|
|
20
|
-
identifier: '020829327374642',
|
|
21
|
-
issuedThrough: { id: 'xxx' }
|
|
22
|
-
};
|
|
23
18
|
|
|
24
19
|
// tslint:disable-next-line:max-func-body-length
|
|
25
20
|
async function main() {
|
|
@@ -159,7 +154,7 @@ async function main() {
|
|
|
159
154
|
typeOf: client.factory.action.authorize.paymentMethod.any.ResultType.Payment,
|
|
160
155
|
paymentMethod: paymentMethodType,
|
|
161
156
|
amount: amount,
|
|
162
|
-
fromLocation:
|
|
157
|
+
fromLocation: 'xxx'
|
|
163
158
|
},
|
|
164
159
|
purpose: transaction
|
|
165
160
|
});
|
|
@@ -181,9 +176,7 @@ async function main() {
|
|
|
181
176
|
amount: amount,
|
|
182
177
|
name: 'sample payment name',
|
|
183
178
|
description: 'sample payment description',
|
|
184
|
-
|
|
185
|
-
// fromAccount: { accountNumber: paymentCard.identifier },
|
|
186
|
-
fromLocation: paymentCard
|
|
179
|
+
fromLocation: 'xxx'
|
|
187
180
|
},
|
|
188
181
|
purpose: transaction
|
|
189
182
|
});
|