@chevre/factory 4.363.0 → 4.364.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.
@@ -22,33 +22,39 @@ export import IPurchaseNumberAuthResult = CheckMovieTicketActionFactory.IPurchas
22
22
  export interface IObject {
23
23
  /**
24
24
  * The identifier for the account the payment will be applied to.
25
+ * MovieTicket->購入管理番号
26
+ * PaymentCard->カード識別子
27
+ * その他->空文字
25
28
  */
26
- accountId?: string;
29
+ accountId: string;
27
30
  /**
28
31
  * 追加特性
29
32
  */
30
33
  additionalProperty?: IPropertyValue<string>[];
31
34
  /**
32
35
  * The amount of money.
36
+ * MovieTicket->固定で0指定(金額として0)
37
+ * その他->決済金額
33
38
  */
34
39
  amount: number;
35
40
  /**
36
41
  * 説明
42
+ * PaymentCardのみ対応
37
43
  */
38
44
  description?: string;
39
45
  /**
40
46
  * 決済方法名称
41
- * 未指定であればデフォルト値が使用されます
47
+ * 指定すると注文の決済方法名称へ連携
42
48
  */
43
49
  name?: string;
44
50
  /**
45
- * 決済方法
51
+ * 決済方法区分
46
52
  */
47
53
  paymentMethod: AvailablePaymentMethodType;
48
54
  /**
49
55
  * 決済ID
50
56
  */
51
- paymentMethodId?: string;
57
+ paymentMethodId: string;
52
58
  typeOf: ResultType;
53
59
  issuedThrough: {
54
60
  /**
@@ -73,6 +79,13 @@ export interface IObject {
73
79
  */
74
80
  movieTickets?: IMovieTicket[];
75
81
  }
82
+ export type IObjectWithoutDetail = Pick<IObject, 'additionalProperty' | 'amount' | 'issuedThrough' | 'paymentMethod' | 'name' | 'creditCard' | 'method' | 'movieTickets' | 'fromLocation'> & {
83
+ /**
84
+ * 外部決済URL発行の場合に指定
85
+ * CreditCardのみ対応
86
+ */
87
+ paymentMethodId?: string;
88
+ };
76
89
  export interface IResultPaymentMethod {
77
90
  /**
78
91
  * 決済方法区分
@@ -6,7 +6,7 @@ export type IOptimizedPayAction = Pick<IPayAction, 'actionStatus' | 'endDate' |
6
6
  object: IPayActionObject[];
7
7
  };
8
8
  export type IRefundActionObject = Pick<IRefundObject, 'id' | 'paymentMethod' | 'typeOf'>;
9
- export type IOptimizedRefundAction = Pick<IRefundAction, 'actionStatus' | 'endDate' | 'id' | 'purpose' | 'startDate' | 'typeOf'> & {
9
+ export type IOptimizedRefundAction = Pick<IRefundAction, 'actionStatus' | 'endDate' | 'id' | 'purpose' | 'startDate' | 'typeOf' | 'error'> & {
10
10
  object: IRefundActionObject[];
11
11
  };
12
12
  export type IAction = IOptimizedPayAction | IOptimizedRefundAction;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.363.0",
3
+ "version": "4.364.0-alpha.1",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",