diff --git a/CHANGELOG.md b/CHANGELOG.md index 3784172e..8cee362b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/). - 予約取引のobject.subReservationを最適化 - 興行オファー承認アクションのobject.acceptedOfferを最適化 +- 決済取引のobject.payActionを最適化 ### Deprecated diff --git a/src/assetTransaction/pay.ts b/src/assetTransaction/pay.ts index 36502554..e92df3d8 100644 --- a/src/assetTransaction/pay.ts +++ b/src/assetTransaction/pay.ts @@ -20,7 +20,6 @@ import { IOnPaymentStatusChanged } from '../project'; import { IPropertyValue } from '../propertyValue'; import { PaymentServiceType } from '../service/paymentService'; -// 最適化(2022-05-27~) export import IAgent = AssetTransactionFactory.IAgent; export type IRecipient = IPayRecipient; /** @@ -107,6 +106,7 @@ export interface IAccountsReceivableByServiceType { serviceType: string; accountsReceivable?: number; } +export type IPayActionInObject = Pick; /** * 取引対象物 */ @@ -123,14 +123,17 @@ export interface IObject { // CreditCardIFのカード通貨区分を追加(2023-08-07~) // serviceOutput?: IOrderPaymentMethodIssuedThroughServiceOutput; paymentMethod: IPaymentMethod; + onPaymentStatusChanged?: IOnPaymentStatusChanged; pendingTransaction?: IPendingTransaction; entryTranArgs?: IEntryTranArgs; entryTranResult?: IEntryTranResult; execTranArgs?: IExecTranArgs | IExecTran3dsArgs; // 3DS拡張(2024-01-02~) execTranResult?: IExecTranResult | IExecTran3dsResult; // 3DS拡張(2024-01-02~) secureTran2Result?: ISecureTran2Result; // 3DS拡張(2024-01-02~) - payAction?: IPayAction; - onPaymentStatusChanged?: IOnPaymentStatusChanged; + /** + * PaymentServiceType.MovieTicketの場合、着券アクション + */ + payAction?: IPayActionInObject; // 最適化(2024-04-09~) accountsReceivablesByServiceType?: IAccountsReceivableByServiceType[]; } export interface IPaymentMethodWithoutDetail extends IPaymentMethod {