@cinerino/sdk 3.85.0 → 3.88.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.
@@ -40,7 +40,7 @@ async function main() {
40
40
  typeOf: client.factory.assetTransactionType.Pay,
41
41
  transactionNumber: transactionNumber,
42
42
  agent: { typeOf: client.factory.personType.Person, name: 'サンプル決済者名称', id: 'id' },
43
- recipient: { typeOf: seller.typeOf, name: seller.name, id: seller.id },
43
+ recipient: { typeOf: seller.typeOf, id: seller.id },
44
44
  object: {
45
45
  typeOf: client.factory.service.paymentService.PaymentServiceType.CreditCard,
46
46
  id: '',
@@ -39,7 +39,7 @@ async function main() {
39
39
  typeOf: client.factory.assetTransactionType.Pay,
40
40
  transactionNumber: transactionNumber,
41
41
  agent: { typeOf: client.factory.personType.Person, name: 'サンプル決済者名称', id: 'id' },
42
- recipient: { typeOf: seller.typeOf, name: seller.name, id: seller.id },
42
+ recipient: { typeOf: seller.typeOf, id: seller.id },
43
43
  object: {
44
44
  typeOf: client.factory.service.paymentService.PaymentServiceType.MovieTicket,
45
45
  id: '',
@@ -40,7 +40,7 @@ async function main() {
40
40
  typeOf: client.factory.assetTransactionType.Pay,
41
41
  transactionNumber: transactionNumber,
42
42
  agent: { typeOf: client.factory.personType.Person, name: 'サンプル決済者名称', id: 'id' },
43
- recipient: { typeOf: seller.typeOf, name: seller.name, id: seller.id },
43
+ recipient: { typeOf: seller.typeOf, id: seller.id },
44
44
  object: {
45
45
  typeOf: client.factory.service.paymentService.PaymentServiceType.MovieTicket,
46
46
  id: '',
@@ -39,7 +39,7 @@ async function main() {
39
39
  typeOf: client.factory.assetTransactionType.Pay,
40
40
  transactionNumber: transactionNumber,
41
41
  agent: { typeOf: client.factory.personType.Person, name: 'サンプル決済者名称', id: 'id' },
42
- recipient: { typeOf: seller.typeOf, name: seller.name, id: seller.id },
42
+ recipient: { typeOf: seller.typeOf, id: seller.id },
43
43
  object: {
44
44
  typeOf: client.factory.service.paymentService.PaymentServiceType.CreditCard,
45
45
  id: '',
@@ -67,7 +67,7 @@ async function main() {
67
67
  await payService.invalidatePaymentUrl({
68
68
  project: { id: project.id, typeOf: client.factory.organizationType.Project },
69
69
  typeOf: client.factory.actionType.RefundAction,
70
- agent: { typeOf: seller.typeOf, name: seller.name, id: seller.id },
70
+ agent: { typeOf: seller.typeOf, id: seller.id },
71
71
  recipient: { typeOf: client.factory.personType.Person, name: 'サンプル決済者名称', id: 'xxx' },
72
72
  object: [{
73
73
  typeOf: client.factory.service.paymentService.PaymentServiceType.CreditCard,
@@ -92,7 +92,7 @@ async function main() {
92
92
  toLocation: toLocation,
93
93
  object: { pendingTransaction: { typeOf: client.factory.assetTransactionType.MoneyTransfer, transactionNumber: '' } }
94
94
  },
95
- seller: { typeOf: seller.typeOf, id: seller.id, project: seller.project }
95
+ seller: { typeOf: seller.typeOf, id: seller.id }
96
96
  },
97
97
  purpose: { typeOf: transaction.typeOf, id: transaction.id }
98
98
  });
@@ -100,7 +100,7 @@ async function main() {
100
100
  toLocation: toLocation,
101
101
  object: { pendingTransaction: { typeOf: client.factory.assetTransactionType.MoneyTransfer, transactionNumber: '' } }
102
102
  },
103
- seller: { typeOf: seller.typeOf, id: seller.id, project: seller.project }
103
+ seller: { typeOf: seller.typeOf, id: seller.id }
104
104
  },
105
105
  purpose: { typeOf: transaction.typeOf, id: transaction.id }
106
106
  });
@@ -152,7 +152,7 @@ async function main() {
152
152
  object: {
153
153
  // 顧客指定の場合↓
154
154
  ...(customer !== undefined)
155
- ? { customer: { id: customer.id } }
155
+ ? { customer: { id: customer.id, typeOf: customer.typeOf } }
156
156
  : undefined
157
157
  // passport: { token: passportToken }
158
158
  }