@chevre/factory 4.350.0 → 4.351.0-alpha.1
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.
|
@@ -2,10 +2,9 @@ import * as ActionFactory from '../../../action';
|
|
|
2
2
|
import * as CheckMovieTicketActionFactory from '../../../action/check/paymentMethod/movieTicket';
|
|
3
3
|
import { AvailablePaymentMethodType, IMovieTicket } from '../../../action/trade/pay';
|
|
4
4
|
import { ActionType } from '../../../actionType';
|
|
5
|
-
import
|
|
5
|
+
import { ICreditCard, IFromLocation, ITokenizedPaymentCard } from '../../../assetTransaction/pay';
|
|
6
6
|
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
7
7
|
import { IOrderPaymentMethodIssuedThrough, ITotalPaymentDue } from '../../../order';
|
|
8
|
-
import * as CreditCardFactory from '../../../paymentMethod/paymentCard/creditCard';
|
|
9
8
|
import { PaymentStatusType } from '../../../paymentStatusType';
|
|
10
9
|
import { IPropertyValue } from '../../../propertyValue';
|
|
11
10
|
import { TransactionType } from '../../../transactionType';
|
|
@@ -23,16 +22,8 @@ export interface IObjectPendingTransaction {
|
|
|
23
22
|
id?: string;
|
|
24
23
|
transactionNumber?: string;
|
|
25
24
|
}
|
|
26
|
-
export
|
|
27
|
-
export import IFromLocation = PayTransactionFactory.IFromLocation;
|
|
25
|
+
export { ICreditCard, IFromLocation, ITokenizedPaymentCard };
|
|
28
26
|
export import IPurchaseNumberAuthResult = CheckMovieTicketActionFactory.IPurchaseNumberAuthResult;
|
|
29
|
-
export import IUnauthorizedCardOfMember = CreditCardFactory.IUnauthorizedCardOfMember;
|
|
30
|
-
export import IUncheckedCardRaw = CreditCardFactory.IUncheckedCardRaw;
|
|
31
|
-
export import IUncheckedCardTokenized = CreditCardFactory.IUncheckedCardTokenized;
|
|
32
|
-
/**
|
|
33
|
-
* クレジットカード決済承認アクションに必要なクレジットカード情報
|
|
34
|
-
*/
|
|
35
|
-
export type ICreditCard = IUncheckedCardRaw | IUncheckedCardTokenized | IUnauthorizedCardOfMember;
|
|
36
27
|
/**
|
|
37
28
|
* 承認対象
|
|
38
29
|
*/
|
|
@@ -5,7 +5,7 @@ import { AssetTransactionType } from '../assetTransactionType';
|
|
|
5
5
|
import { IExtendId } from '../autoGenerated';
|
|
6
6
|
import { IMonetaryAmount } from '../monetaryAmount';
|
|
7
7
|
import { ITotalPaymentDue } from '../order';
|
|
8
|
-
import { IUnauthorizedCardOfMember, IUncheckedCardRaw, IUncheckedCardTokenized } from '../paymentMethod/paymentCard/creditCard';
|
|
8
|
+
import { ICreditCard3DS, IUnauthorizedCardOfMember, IUncheckedCardRaw, IUncheckedCardTokenized } from '../paymentMethod/paymentCard/creditCard';
|
|
9
9
|
import { IOnPaymentStatusChanged } from '../project';
|
|
10
10
|
import { IPropertyValue } from '../propertyValue';
|
|
11
11
|
import { PaymentServiceType } from '../service/paymentService';
|
|
@@ -19,11 +19,23 @@ export type IFromLocation = ITokenizedPaymentCard;
|
|
|
19
19
|
/**
|
|
20
20
|
* クレジットカード決済承認に必要なクレジットカードインターフェース
|
|
21
21
|
*/
|
|
22
|
-
|
|
22
|
+
type ICreditCard = (IUncheckedCardRaw | IUncheckedCardTokenized | IUnauthorizedCardOfMember) & ICreditCard3DS;
|
|
23
|
+
export { ICreditCard, ICreditCard3DS, IUnauthorizedCardOfMember, IUncheckedCardRaw, IUncheckedCardTokenized };
|
|
23
24
|
export import IEntryTranArgs = GMO.factory.credit.IEntryTranArgs;
|
|
24
25
|
export import IEntryTranResult = GMO.factory.credit.IEntryTranResult;
|
|
25
26
|
export import IExecTranArgs = GMO.factory.credit.IExecTranArgs;
|
|
26
27
|
export import IExecTranResult = GMO.factory.credit.IExecTranResult;
|
|
28
|
+
export interface IExecTran3dsResult {
|
|
29
|
+
/**
|
|
30
|
+
* ACS呼出判定
|
|
31
|
+
*/
|
|
32
|
+
acs: string;
|
|
33
|
+
/**
|
|
34
|
+
* 3DSサーバーへのリダイレクトURL
|
|
35
|
+
* 3DS2.0認証初期化へのURL
|
|
36
|
+
*/
|
|
37
|
+
redirectUrl?: string;
|
|
38
|
+
}
|
|
27
39
|
export interface IPaymentMethodAmount extends Pick<IMonetaryAmount, 'currency' | 'typeOf' | 'value'> {
|
|
28
40
|
value: number;
|
|
29
41
|
}
|
|
@@ -29,7 +29,7 @@ export interface ICheckedCard extends IPaymentCard {
|
|
|
29
29
|
deleteFlag: string;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
* 生の有効性確認前GMO
|
|
32
|
+
* 生の有効性確認前GMOカード
|
|
33
33
|
*/
|
|
34
34
|
export interface IUncheckedCardRaw {
|
|
35
35
|
/**
|
|
@@ -50,16 +50,26 @@ export interface IUncheckedCardRaw {
|
|
|
50
50
|
holderName: string;
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
|
-
* トークン化有効性確認前GMO
|
|
53
|
+
* トークン化有効性確認前GMOカード
|
|
54
54
|
*/
|
|
55
55
|
export interface IUncheckedCardTokenized {
|
|
56
56
|
token: string;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* オーソリ取得前の会員カード
|
|
60
60
|
*/
|
|
61
61
|
export interface IUnauthorizedCardOfMember {
|
|
62
62
|
memberId: string;
|
|
63
63
|
cardSeq: number;
|
|
64
64
|
cardPass?: string;
|
|
65
65
|
}
|
|
66
|
+
/**
|
|
67
|
+
* 3DS対応クレジットカード
|
|
68
|
+
*/
|
|
69
|
+
export interface ICreditCard3DS {
|
|
70
|
+
/**
|
|
71
|
+
* 加盟店戻りURL
|
|
72
|
+
* 3Dセキュア認証後にお戻しする加盟店様側のURLになります。
|
|
73
|
+
*/
|
|
74
|
+
retUrl?: string;
|
|
75
|
+
}
|
|
@@ -3,6 +3,7 @@ import { AccountType } from '../accountType';
|
|
|
3
3
|
import { IObject as IConfirmReservationObject } from '../action/interact/confirm/reservation';
|
|
4
4
|
import { IAttributes as IOrderActionAttributes } from '../action/trade/order';
|
|
5
5
|
import { IObject as IGivePointAwardObject } from '../action/transfer/give/pointAward';
|
|
6
|
+
import { IEntryTranArgs, IEntryTranResult, IExecTran3dsResult, IExecTranArgs, IExecTranResult } from '../assetTransaction/pay';
|
|
6
7
|
import { IExtendId } from '../autoGenerated';
|
|
7
8
|
import { IClientUser } from '../clientUser';
|
|
8
9
|
import * as OrderFactory from '../order';
|
|
@@ -28,6 +29,10 @@ export interface IPaymentMethodByPaymentUrl {
|
|
|
28
29
|
*/
|
|
29
30
|
id: string;
|
|
30
31
|
};
|
|
32
|
+
entryTranArgs?: IEntryTranArgs;
|
|
33
|
+
entryTranResult?: IEntryTranResult;
|
|
34
|
+
execTranArgs?: IExecTranArgs;
|
|
35
|
+
execTranResult?: IExecTranResult | IExecTran3dsResult;
|
|
31
36
|
}
|
|
32
37
|
/**
|
|
33
38
|
* 注文特典口座
|