@chevre/factory 4.325.0-alpha.3 → 4.325.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as ActionFactory from '../../../action';
|
|
2
2
|
import * as CheckMovieTicketActionFactory from '../../../action/check/paymentMethod/movieTicket';
|
|
3
|
-
import { IMovieTicket } from '../../../action/trade/pay';
|
|
3
|
+
import { AvailablePaymentMethodType, IMovieTicket } from '../../../action/trade/pay';
|
|
4
4
|
import { ActionType } from '../../../actionType';
|
|
5
5
|
import * as PayTransactionFactory from '../../../assetTransaction/pay';
|
|
6
6
|
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
@@ -15,10 +15,6 @@ export declare type IRecipient = ActionFactory.IParticipantAsSeller;
|
|
|
15
15
|
export declare enum ResultType {
|
|
16
16
|
Payment = "Payment"
|
|
17
17
|
}
|
|
18
|
-
/**
|
|
19
|
-
* 汎用決済方法タイプ
|
|
20
|
-
*/
|
|
21
|
-
export declare type IAnyPaymentMethod = string;
|
|
22
18
|
/**
|
|
23
19
|
* 進行中取引
|
|
24
20
|
*/
|
|
@@ -65,7 +61,7 @@ export interface IObject {
|
|
|
65
61
|
/**
|
|
66
62
|
* 決済方法
|
|
67
63
|
*/
|
|
68
|
-
paymentMethod:
|
|
64
|
+
paymentMethod: AvailablePaymentMethodType;
|
|
69
65
|
/**
|
|
70
66
|
* 決済ID
|
|
71
67
|
*/
|
|
@@ -99,8 +95,14 @@ export interface IObject {
|
|
|
99
95
|
movieTickets?: IMovieTicket[];
|
|
100
96
|
}
|
|
101
97
|
export interface IResultPaymentMethod {
|
|
102
|
-
|
|
98
|
+
/**
|
|
99
|
+
* 決済方法区分
|
|
100
|
+
*/
|
|
101
|
+
typeOf: AvailablePaymentMethodType;
|
|
103
102
|
amount?: {
|
|
103
|
+
/**
|
|
104
|
+
* 決済カード通貨区分
|
|
105
|
+
*/
|
|
104
106
|
currency?: string;
|
|
105
107
|
};
|
|
106
108
|
}
|
|
@@ -115,12 +117,14 @@ export interface IResult {
|
|
|
115
117
|
*/
|
|
116
118
|
/**
|
|
117
119
|
* 決済方法
|
|
120
|
+
* @deprecated Use paymentMethodAsObject(2023-08-15~)
|
|
118
121
|
*/
|
|
119
|
-
paymentMethod
|
|
122
|
+
paymentMethod?: AvailablePaymentMethodType;
|
|
120
123
|
/**
|
|
124
|
+
* 決済方法
|
|
121
125
|
* amount.currencyに対応するために追加(2023-08-13~)
|
|
122
126
|
*/
|
|
123
|
-
paymentMethodAsObject
|
|
127
|
+
paymentMethodAsObject: IResultPaymentMethod;
|
|
124
128
|
/**
|
|
125
129
|
* 決済ID
|
|
126
130
|
*/
|
|
@@ -171,4 +175,3 @@ export interface IAttributes extends AuthorizeActionFactory.IAttributes<IObject,
|
|
|
171
175
|
* 決済承認アクション
|
|
172
176
|
*/
|
|
173
177
|
export declare type IAction = ActionFactory.IAction<IAttributes>;
|
|
174
|
-
export { ITotalPaymentDue };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IPaymentMethod, IReturnActionAsPayPurpose } from '../action/trade/pay';
|
|
2
2
|
import { IAttributes as IRefundActionAttributes, IRecipient as IRefundRecipient } from '../action/trade/refund';
|
|
3
3
|
import * as AssetTransactionFactory from '../assetTransaction';
|
|
4
4
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
@@ -7,7 +7,6 @@ import { IOnPaymentStatusChanged } from '../project';
|
|
|
7
7
|
import { PaymentServiceType } from '../service/paymentService';
|
|
8
8
|
export import IAgent = AssetTransactionFactory.IAgent;
|
|
9
9
|
export declare type IRecipient = IRefundRecipient;
|
|
10
|
-
export declare type IAnyPaymentMethod = AvailablePaymentMethodType;
|
|
11
10
|
/**
|
|
12
11
|
* 取引対象物
|
|
13
12
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as waiter from '@waiter/factory';
|
|
2
2
|
import { AccountType } from '../accountType';
|
|
3
|
-
import { IAction as IAuthorizeAction, IAttributes as IAuthorizeActionAttributes } from '../action/authorize';
|
|
4
3
|
import { IObject as IConfirmReservationObject } from '../action/interact/confirm/reservation';
|
|
5
4
|
import { IAttributes as IOrderActionAttributes } from '../action/trade/order';
|
|
6
5
|
import { IObject as IGivePointAwardObject } from '../action/transfer/give/pointAward';
|
|
@@ -66,10 +65,6 @@ export interface IObject {
|
|
|
66
65
|
* WAITER許可証
|
|
67
66
|
*/
|
|
68
67
|
passport?: waiter.passport.IPassport;
|
|
69
|
-
/**
|
|
70
|
-
* 承認アクションリスト
|
|
71
|
-
*/
|
|
72
|
-
authorizeActions?: IAuthorizeAction<IAuthorizeActionAttributes<any, any>>[];
|
|
73
68
|
potentialActions?: {
|
|
74
69
|
givePointAward?: IGivePointAwardParams[];
|
|
75
70
|
};
|