@chevre/factory 4.203.0 → 4.204.0
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,26 +1,35 @@
|
|
|
1
1
|
import * as GMO from '@motionpicture/gmo-service';
|
|
2
2
|
import * as AccountFactory from '../../account';
|
|
3
3
|
import * as ActionFactory from '../../action';
|
|
4
|
+
import { IAttributes as IReturnOrderActionAttributes } from '../../action/transfer/return/order';
|
|
4
5
|
import { ActionType } from '../../actionType';
|
|
6
|
+
import { AssetTransactionType } from '../../assetTransactionType';
|
|
5
7
|
import { IMonetaryAmount } from '../../monetaryAmount';
|
|
8
|
+
import { OrderType } from '../../order';
|
|
6
9
|
import { IMovieTicket } from '../../paymentMethod/paymentCard/movieTicket';
|
|
7
10
|
import { IPropertyValue } from '../../propertyValue';
|
|
8
11
|
import { ISeller } from '../../seller';
|
|
9
12
|
import { PaymentServiceType } from '../../service/paymentService';
|
|
13
|
+
import { TransactionType } from '../../transactionType';
|
|
10
14
|
import { IAttributes as IInformActionAttributes } from '../interact/inform';
|
|
11
15
|
export declare type IAgent = ActionFactory.IParticipant;
|
|
12
16
|
export declare type IRecipient = ISeller;
|
|
13
17
|
export interface IOrderAsPayPurpose {
|
|
14
|
-
typeOf:
|
|
18
|
+
typeOf: OrderType.Order;
|
|
15
19
|
confirmationNumber?: string;
|
|
16
20
|
orderNumber?: string;
|
|
17
21
|
}
|
|
18
|
-
export interface
|
|
19
|
-
typeOf:
|
|
22
|
+
export interface IAssetTransactionAsPayPurpose {
|
|
23
|
+
typeOf: AssetTransactionType.Pay | AssetTransactionType.Refund;
|
|
20
24
|
id?: string;
|
|
21
25
|
transactionNumber?: string;
|
|
22
26
|
}
|
|
23
|
-
export
|
|
27
|
+
export interface ITransactionAsPayPurpose {
|
|
28
|
+
typeOf: TransactionType;
|
|
29
|
+
id: string;
|
|
30
|
+
}
|
|
31
|
+
export declare type IReturnActionAsPayPurpose = IReturnOrderActionAttributes;
|
|
32
|
+
export declare type IPayPurpose = IOrderAsPayPurpose | IAssetTransactionAsPayPurpose | IReturnActionAsPayPurpose | ITransactionAsPayPurpose;
|
|
24
33
|
export declare type IPurpose = IPayPurpose;
|
|
25
34
|
export declare type AvailablePaymentMethodType = string;
|
|
26
35
|
export interface IPendingTransaction {
|
|
@@ -66,6 +75,22 @@ export interface IPaymentMethod {
|
|
|
66
75
|
*/
|
|
67
76
|
additionalProperty: IPropertyValue<string>[];
|
|
68
77
|
}
|
|
78
|
+
export interface IMovieTicketAsPaymentServiceOutput {
|
|
79
|
+
/**
|
|
80
|
+
* 購入管理番号
|
|
81
|
+
*/
|
|
82
|
+
identifier: string;
|
|
83
|
+
/**
|
|
84
|
+
* 利用対象予約
|
|
85
|
+
*/
|
|
86
|
+
serviceOutput?: {
|
|
87
|
+
/**
|
|
88
|
+
* 予約価格
|
|
89
|
+
*/
|
|
90
|
+
price?: number;
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
export declare type IPaymentServiceOutput = IMovieTicketAsPaymentServiceOutput[];
|
|
69
94
|
export interface IPaymentService {
|
|
70
95
|
typeOf: PaymentServiceType;
|
|
71
96
|
/**
|
|
@@ -81,6 +106,10 @@ export interface IPaymentService {
|
|
|
81
106
|
* ムビチケリスト
|
|
82
107
|
*/
|
|
83
108
|
movieTickets?: IMovieTicket[];
|
|
109
|
+
/**
|
|
110
|
+
* 決済サービスによって発行された決済カード
|
|
111
|
+
*/
|
|
112
|
+
serviceOutput?: IPaymentServiceOutput;
|
|
84
113
|
}
|
|
85
114
|
export declare type IObject = IPaymentService[];
|
|
86
115
|
export declare type IInformPayment = IInformActionAttributes<any, any>;
|