Skip to content

Commit

Permalink
optimize payAction.result
Browse files Browse the repository at this point in the history
optmize refundAction.result
  • Loading branch information
ilovegadd committed Jun 9, 2024
1 parent 84ecd5e commit aaf78cd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
### Changed

- optimize placeOrder.object.paymentMethods
- optimize payAction.result
- optmize refundAction.result

### Deprecated

Expand Down
11 changes: 3 additions & 8 deletions src/action/trade/pay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,10 @@ export interface IInstrument {
typeOf: string;
seatInfoSyncIn?: ISeatInfoSyncIn;
}
/**
* 決済結果
*/
// tslint:disable-next-line:no-empty-interface
export interface IResult {
/**
* クレジットカード売上結果
*/
creditCardSales?: ICreditCardSales[];
seatInfoSyncResult?: ISeatInfoSyncResult;
// creditCardSales?: ICreditCardSales[]; // discontinue(2024-06-10~)
// seatInfoSyncResult?: ISeatInfoSyncResult; // discontinue(2024-06-10~)
}
export interface ILocation {
typeOf: CreativeWorkType.WebApplication;
Expand Down
8 changes: 3 additions & 5 deletions src/action/trade/refund.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,9 @@ export type ISeatInfoSyncCancelIn = surfrockFactory.service.seat.seatInfoSyncCan
export type ISeatInfoSyncCancelResult =
surfrockFactory.service.seat.seatInfoSyncCancel.ISeatInfoSyncCancelResult | ISeatInfoSyncResultAsError;
export interface IResult {
alterTranResult?: (IAlterTranResult | IAlterTranResultAsError)[];
// seatInfoSyncIn?: ISeatInfoSyncIn;
seatInfoSyncResult?: ISeatInfoSyncResult;
// seatInfoSyncCancelIn?: ISeatInfoSyncCancelIn;
seatInfoSyncCancelResult?: ISeatInfoSyncCancelResult;
// alterTranResult?: (IAlterTranResult | IAlterTranResultAsError)[]; // discontinue(2024-06-10~)
// seatInfoSyncResult?: ISeatInfoSyncResult; // discontinue(2024-06-10~)
// seatInfoSyncCancelResult?: ISeatInfoSyncCancelResult; // discontinue(2024-06-10~)
/**
* ペイメントカード決済の場合
*/
Expand Down

0 comments on commit aaf78cd

Please sign in to comment.