@cinerino/sdk 3.44.0 → 3.45.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.
@@ -164,7 +164,8 @@ async function main() {
164
164
  paymentMethod: 'CreditCard',
165
165
  amount,
166
166
  method: '1',
167
- creditCard: creditCard
167
+ creditCard: creditCard,
168
+ issuedThrough: { id: 'xxx' }
168
169
  },
169
170
  purpose: { typeOf: transaction.typeOf, id: transaction.id }
170
171
  });
@@ -107,7 +107,8 @@ async function main() {
107
107
  object: {
108
108
  typeOf: client.factory.action.authorize.paymentMethod.any.ResultType.Payment,
109
109
  paymentMethod: 'Cash',
110
- amount: price
110
+ amount: price,
111
+ issuedThrough: { id: '' }
111
112
  },
112
113
  purpose: transaction
113
114
  });
@@ -115,7 +115,8 @@ async function main() {
115
115
  amount: amount,
116
116
  method: '1',
117
117
  paymentMethod: 'CreditCard',
118
- creditCard: creditCard
118
+ creditCard: creditCard,
119
+ issuedThrough: { id: 'xxx' }
119
120
  },
120
121
  purpose: { typeOf: transaction.typeOf, id: transaction.id }
121
122
  });
@@ -127,7 +127,8 @@ async function main() {
127
127
  amount: Number(acceptedOffer.priceSpecification.price),
128
128
  paymentMethod: 'CreditCard',
129
129
  method: '1',
130
- creditCard: creditCard
130
+ creditCard: creditCard,
131
+ issuedThrough: { id: 'xxx' }
131
132
  },
132
133
  purpose: { typeOf: transaction.typeOf, id: transaction.id }
133
134
  });
@@ -154,7 +154,8 @@ async function main() {
154
154
  amount: amount,
155
155
  paymentMethod: 'CreditCard',
156
156
  method: '1',
157
- creditCard: creditCard
157
+ creditCard: creditCard,
158
+ issuedThrough: { id: 'xxx' }
158
159
  },
159
160
  purpose: transaction
160
161
  });
@@ -177,7 +178,8 @@ async function main() {
177
178
  amount: amount,
178
179
  paymentMethod: 'CreditCard',
179
180
  method: '1',
180
- creditCard: creditCard
181
+ creditCard: creditCard,
182
+ issuedThrough: { id: 'xxx' }
181
183
  },
182
184
  purpose: transaction
183
185
  });
@@ -145,7 +145,8 @@ async function main() {
145
145
  amount: amount,
146
146
  paymentMethod: 'CreditCard',
147
147
  method: '1',
148
- creditCard: creditCard
148
+ creditCard: creditCard,
149
+ issuedThrough: { id: 'xxx' }
149
150
  },
150
151
  purpose: transaction
151
152
  });
@@ -168,7 +169,8 @@ async function main() {
168
169
  amount: amount,
169
170
  paymentMethod: 'CreditCard',
170
171
  method: '1',
171
- creditCard: creditCard
172
+ creditCard: creditCard,
173
+ issuedThrough: { id: 'xxx' }
172
174
  },
173
175
  purpose: transaction
174
176
  });
@@ -161,7 +161,8 @@ async function main() {
161
161
  amount: amount,
162
162
  paymentMethod: 'CreditCard',
163
163
  method: '1',
164
- creditCard: creditCard
164
+ creditCard: creditCard,
165
+ issuedThrough: { id: 'xxx' }
165
166
  },
166
167
  purpose: transaction
167
168
  });
@@ -184,7 +185,8 @@ async function main() {
184
185
  amount: amount,
185
186
  paymentMethod: 'CreditCard',
186
187
  method: '1',
187
- creditCard: creditCard
188
+ creditCard: creditCard,
189
+ issuedThrough: { id: 'xxx' }
188
190
  },
189
191
  purpose: transaction
190
192
  });
@@ -249,7 +249,8 @@ async function main() {
249
249
  typeOf: client.factory.action.authorize.paymentMethod.any.ResultType.Payment,
250
250
  paymentMethod: 'Cash',
251
251
  amount: amount,
252
- additionalProperty: [{ name: 'useCoin', value: '0' }]
252
+ additionalProperty: [{ name: 'useCoin', value: '0' }],
253
+ issuedThrough: { id: '' }
253
254
  },
254
255
  purpose: transaction
255
256
  });
@@ -337,7 +337,8 @@ async function main() {
337
337
  }
338
338
  }
339
339
  }
340
- }]
340
+ }],
341
+ issuedThrough: { id: 'xxx' }
341
342
  },
342
343
  purpose: transaction
343
344
  });
@@ -382,7 +383,8 @@ async function main() {
382
383
  }
383
384
  }
384
385
  }
385
- }]
386
+ }],
387
+ issuedThrough: { id: 'xxx' }
386
388
  },
387
389
  purpose: transaction
388
390
  });
@@ -402,7 +404,8 @@ async function main() {
402
404
  amount: amount,
403
405
  paymentMethod: 'CreditCard',
404
406
  method: '1',
405
- creditCard: creditCard
407
+ creditCard: creditCard,
408
+ issuedThrough: { id: 'xxx' }
406
409
  },
407
410
  purpose: transaction
408
411
  });
@@ -182,7 +182,8 @@ async function main() {
182
182
  }
183
183
  }
184
184
  }
185
- }]
185
+ }],
186
+ issuedThrough: { id: 'xxx' }
186
187
  },
187
188
  purpose: transaction
188
189
  });
@@ -154,7 +154,8 @@ async function main() {
154
154
  typeOf: client.factory.action.authorize.paymentMethod.any.ResultType.Payment,
155
155
  paymentMethod: paymentMethodType,
156
156
  amount: amount,
157
- fromLocation: 'xxx'
157
+ fromLocation: 'xxx',
158
+ issuedThrough: { id: 'xxx' }
158
159
  },
159
160
  purpose: transaction
160
161
  });
@@ -176,7 +177,8 @@ async function main() {
176
177
  amount: amount,
177
178
  name: 'sample payment name',
178
179
  description: 'sample payment description',
179
- fromLocation: 'xxx'
180
+ fromLocation: 'xxx',
181
+ issuedThrough: { id: 'xxx' }
180
182
  },
181
183
  purpose: transaction
182
184
  });
@@ -89,7 +89,8 @@ async function main() {
89
89
  object: {
90
90
  typeOf: client.factory.action.authorize.paymentMethod.any.ResultType.Payment,
91
91
  paymentMethod: paymentMethodType,
92
- amount
92
+ amount,
93
+ issuedThrough: { id: String(paypayService.id) }
93
94
  },
94
95
  purpose: { typeOf: transaction.typeOf, id: transaction.id }
95
96
  });
@@ -129,7 +130,8 @@ async function main() {
129
130
  paymentMethodId: publishResult.paymentMethodId, // 発行された決済IDを指定する
130
131
  amount,
131
132
  method: '1',
132
- creditCard: { token: 'xxx' }
133
+ creditCard: { token: 'xxx' },
134
+ issuedThrough: { id: String(paypayService.id) }
133
135
  },
134
136
  purpose: { typeOf: transaction.typeOf, id: transaction.id }
135
137
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cinerino/sdk",
3
- "version": "3.44.0",
3
+ "version": "3.45.0",
4
4
  "description": "Cinerino SDK",
5
5
  "main": "./lib/index.js",
6
6
  "browser": {
@@ -97,7 +97,7 @@
97
97
  "watchify": "^3.11.1"
98
98
  },
99
99
  "dependencies": {
100
- "@cinerino/api-abstract-client": "3.44.0",
100
+ "@cinerino/api-abstract-client": "3.45.0",
101
101
  "debug": "^3.2.6",
102
102
  "http-status": "^1.4.2",
103
103
  "idtoken-verifier": "^2.0.3",