Skip to content

Commit

Permalink
optimize authorizePaymentAction
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovegadd committed Jun 20, 2024
1 parent ea3e944 commit bd9b7b5
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/action/authorize/paymentMethod/any.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ export {

export import IPurchaseNumberAuthResult = CheckMovieTicketActionFactory.IPurchaseNumberAuthResult;

/**
* 承認対象
*/
export interface IObject {
export interface IObjectIncludingPaymentMethodDetails {
/**
* The identifier for the account the payment will be applied to.
* MovieTicket->購入管理番号
Expand Down Expand Up @@ -98,7 +95,7 @@ export interface IObject {
movieTickets?: IMovieTicket[];
}
export type IObjectWithoutDetail = Pick<
IObject,
IObjectIncludingPaymentMethodDetails,
'additionalProperty' | 'amount' | 'issuedThrough' | 'paymentMethod'
| 'description' | 'name' | 'creditCard' | 'method' | 'movieTickets' | 'fromLocation'
> & {
Expand All @@ -108,6 +105,12 @@ export type IObjectWithoutDetail = Pick<
*/
paymentMethodId?: string;
};
// IObjectから決済方法詳細を除外(2024-06-20~)
export type IObject = Pick<
IObjectIncludingPaymentMethodDetails,
'accountId' | 'additionalProperty' | 'amount' | 'description' | 'fromLocation'
| 'issuedThrough' | 'name' | 'paymentMethod' | 'paymentMethodId' | 'typeOf'
>;
export interface IResultPaymentMethod {
/**
* 決済方法区分
Expand Down

0 comments on commit bd9b7b5

Please sign in to comment.