@chevre/factory 4.181.0-alpha.5 → 4.181.0-alpha.6
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.
- package/CHANGELOG.md +1 -0
- package/lib/factory/action/authorize/paymentMethod/any.d.ts +4 -0
- package/lib/factory/action/trade/pay.d.ts +4 -0
- package/lib/factory/assetTransaction/pay.d.ts +4 -0
- package/lib/factory/assetTransaction/refund.d.ts +8 -0
- package/lib/factory/order.d.ts +4 -0
- package/lib/factory/service/paymentService.d.ts +3 -2
- package/lib/factory/transaction/placeOrder.d.ts +9 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -93,6 +93,10 @@ export interface IPaymentMethod {
|
|
|
93
93
|
*/
|
|
94
94
|
export interface IObject {
|
|
95
95
|
typeOf: PaymentServiceType;
|
|
96
|
+
/**
|
|
97
|
+
* 発行決済サービスID
|
|
98
|
+
*/
|
|
99
|
+
id?: string;
|
|
96
100
|
paymentMethod?: IPaymentMethod;
|
|
97
101
|
pendingTransaction?: IPendingTransaction;
|
|
98
102
|
entryTranArgs?: IEntryTranArgs;
|
|
@@ -9,6 +9,10 @@ export declare type IAgent = any;
|
|
|
9
9
|
export declare type IRecipient = IRefundRecipient;
|
|
10
10
|
export interface IObjectWithoutDetail {
|
|
11
11
|
typeOf: PaymentServiceType;
|
|
12
|
+
/**
|
|
13
|
+
* 発行決済サービスID
|
|
14
|
+
*/
|
|
15
|
+
id: string;
|
|
12
16
|
paymentMethod: IPaymentMethod;
|
|
13
17
|
refundFee?: number;
|
|
14
18
|
}
|
|
@@ -37,6 +41,10 @@ export declare type IAnyPaymentMethod = AvailablePaymentMethodType;
|
|
|
37
41
|
*/
|
|
38
42
|
export interface IObject {
|
|
39
43
|
typeOf: PaymentServiceType;
|
|
44
|
+
/**
|
|
45
|
+
* 発行決済サービスID
|
|
46
|
+
*/
|
|
47
|
+
id: string;
|
|
40
48
|
onPaymentStatusChanged?: IOnPaymentStatusChanged;
|
|
41
49
|
paymentMethod: IPaymentMethod;
|
|
42
50
|
refundFee?: number;
|
package/lib/factory/order.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export interface IProvider extends IOrganization {
|
|
|
43
43
|
credentials?: IProviderCredentials;
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* 決済サービスインターフェース
|
|
47
47
|
* {@link https://schema.org/Service}
|
|
48
48
|
*/
|
|
49
49
|
export interface IService extends IThing {
|
|
@@ -53,11 +53,12 @@ export interface IService extends IThing {
|
|
|
53
53
|
availableChannel?: IAvailableChannel;
|
|
54
54
|
productID?: string;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* 決済サービス提供者(決済サービスを利用する販売者)
|
|
57
57
|
*/
|
|
58
58
|
provider?: IProvider[];
|
|
59
59
|
/**
|
|
60
60
|
* The type of service being offered, e.g. veterans' benefits, emergency relief, etc.
|
|
61
|
+
* 決済サービスの場合、serviceType.codeValueが決済方法区分
|
|
61
62
|
*/
|
|
62
63
|
serviceType?: IServiceType;
|
|
63
64
|
}
|
|
@@ -17,9 +17,18 @@ export import ISeller = TransactionFactory.ISeller;
|
|
|
17
17
|
*/
|
|
18
18
|
export declare type IAgent = TransactionFactory.IAgent;
|
|
19
19
|
export interface IPaymentMethodByPaymentUrl {
|
|
20
|
+
/**
|
|
21
|
+
* 決済方法区分
|
|
22
|
+
*/
|
|
20
23
|
typeOf: string;
|
|
21
24
|
paymentMethodId: string;
|
|
22
25
|
paymentUrl: string;
|
|
26
|
+
issuedThrough: {
|
|
27
|
+
/**
|
|
28
|
+
* 発行決済サービスID
|
|
29
|
+
*/
|
|
30
|
+
id: string;
|
|
31
|
+
};
|
|
23
32
|
}
|
|
24
33
|
/**
|
|
25
34
|
* 注文特典口座インターフェース
|