From 6aefa9f0faad954733e2586e732424b6c8958ebe Mon Sep 17 00:00:00 2001 From: Tetsu Yamazaki Date: Wed, 5 Jun 2024 07:40:42 +0900 Subject: [PATCH] optimize placeOrder.object.paymentMethods --- src/transaction/placeOrder.ts | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/transaction/placeOrder.ts b/src/transaction/placeOrder.ts index 9173ef6a..f285737c 100644 --- a/src/transaction/placeOrder.ts +++ b/src/transaction/placeOrder.ts @@ -2,7 +2,6 @@ import type { passport } from '@waiter/factory'; import { AccountType } from '../accountType'; import { IAttributes as IOrderActionAttributes } from '../action/trade/order'; -import { IPaymentMethodWithoutDetail } from '../assetTransaction/pay'; import { IExtendId } from '../autoGenerated'; import { IClientUser } from '../clientUser'; import { CreativeWorkType } from '../creativeWorkType'; @@ -27,20 +26,19 @@ export type IAgent = TransactionFactory.IAgent & { }; export type ICustomer = OrderFactory.ICustomer; export interface IPaymentMethodByPaymentUrl { + /** + * 決済採用時に発行済の決済方法ID + * 決済承認時に指定が可能 + */ paymentMethodId: string; // paymentUrl: string; // migrate to recipe(2024-06-05~) - issuedThrough: { - /** - * 発行決済サービスID - */ - id: string; - }; + // issuedThrough: { id: string }; // migrate to acceptAction(2024-06-05~) // ↓決済代行IF拡張(2024-01-01~) // entryTranArgs?: IEntryTranArgs; // migrate to recipe(2024-06-05~) // entryTranResult?: IEntryTranResult; // migrate to recipe(2024-06-05~) // execTranArgs?: IExecTranArgs; // migrate to recipe(2024-06-05~) // execTranResult?: IExecTranResult | IExecTran3dsResult; // migrate to recipe(2024-06-05~) - paymentMethod: IPaymentMethodWithoutDetail; // 拡張(2024-01-04~) + // paymentMethod: IPaymentMethodWithoutDetail; // 拡張(2024-01-04~) // migrate to acceptAction(2024-06-05~) } /** * 注文特典口座