Skip to content

Commit

Permalink
決済取引のobject.payActionを最適化
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovegadd committed Apr 9, 2024
1 parent dca8af8 commit a36cf3e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).

- 予約取引のobject.subReservationを最適化
- 興行オファー承認アクションのobject.acceptedOfferを最適化
- 決済取引のobject.payActionを最適化

### Deprecated

Expand Down
9 changes: 6 additions & 3 deletions src/assetTransaction/pay.ts
Expand Up @@ -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;
/**
Expand Down Expand Up @@ -107,6 +106,7 @@ export interface IAccountsReceivableByServiceType {
serviceType: string;
accountsReceivable?: number;
}
export type IPayActionInObject = Pick<IPayAction, 'actionStatus' | 'id' | 'typeOf'>;
/**
* 取引対象物
*/
Expand All @@ -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 {
Expand Down

0 comments on commit a36cf3e

Please sign in to comment.