@chevre/factory 5.4.0-alpha.7 → 5.4.0-alpha.8

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,9 +1,10 @@
1
1
  import { IObjectWithoutDetail, IPurpose } from '../action/authorize/paymentMethod/any';
2
- import { ILocation } from '../action/trade/pay';
2
+ import { IAcceptedPaymentMethodOfferAsInstrument, ILocation } from '../action/trade/pay';
3
3
  import { IExtendId } from '../autoGenerated';
4
4
  import { PaymentServiceType } from '../service/paymentService';
5
5
  import * as TaskFactory from '../task';
6
6
  import { TaskName } from '../taskName';
7
+ export type IInstrument = IAcceptedPaymentMethodOfferAsInstrument;
7
8
  export interface IData {
8
9
  project: {
9
10
  id: string;
@@ -28,6 +29,10 @@ export interface IData {
28
29
  id: string;
29
30
  };
30
31
  };
32
+ /**
33
+ * クレジットカードIFあるいは決済カードIFの場合に対応決済方法オファーを指定する
34
+ */
35
+ instrument?: IInstrument[];
31
36
  }
32
37
  export interface IAttributes extends TaskFactory.IAttributes {
33
38
  name: TaskName.AuthorizePayment;
@@ -21,6 +21,9 @@ export interface IData {
21
21
  * authorize payment action identifier
22
22
  */
23
23
  identifier?: string;
24
+ /**
25
+ * クレジットカードIFあるいは決済カードIFの場合に対応決済方法オファーを指定する
26
+ */
24
27
  instrument?: IInstrument[];
25
28
  }
26
29
  export interface IAttributes extends TaskFactory.IAttributes {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "5.4.0-alpha.7",
3
+ "version": "5.4.0-alpha.8",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",