Skip to content

Commit

Permalink
optimize placeOrder.object.paymentMethods
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovegadd committed Jun 4, 2024
1 parent 0bfc031 commit 6aefa9f
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/transaction/placeOrder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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~)
}
/**
* 注文特典口座
Expand Down

0 comments on commit 6aefa9f

Please sign in to comment.