@chevre/factory 4.313.0-alpha.1 → 4.313.0-alpha.2

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.
@@ -73,6 +73,10 @@ export interface IPaymentMethod {
73
73
  */
74
74
  creditCard?: ICreditCard;
75
75
  }
76
+ export interface IAccountsReceivableByServiceType {
77
+ serviceType: string;
78
+ accountsReceivable?: number;
79
+ }
76
80
  /**
77
81
  * 取引対象物
78
82
  */
@@ -92,6 +96,7 @@ export interface IObject {
92
96
  execTranResult?: IExecTranResult;
93
97
  payAction?: IPayAction;
94
98
  onPaymentStatusChanged?: IOnPaymentStatusChanged;
99
+ accountsReceivablesByServiceType?: IAccountsReceivableByServiceType[];
95
100
  }
96
101
  export declare type IObjectWithoutDetail = Pick<IObject, 'typeOf' | 'id' | 'paymentMethod'>;
97
102
  export declare type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.Pay, IAgent, IRecipient, IObjectWithoutDetail> & {
package/lib/invoice.d.ts CHANGED
@@ -45,6 +45,7 @@ export interface IReservation {
45
45
  ticketToken?: string;
46
46
  };
47
47
  }
48
+ export declare type IAmountOfMovieTicketAsPaymentServiceOutput = Pick<IMonetaryAmount, 'typeOf' | 'value'>;
48
49
  export interface IMovieTicketAsPaymentServiceOutput {
49
50
  /**
50
51
  * 購入管理番号
@@ -54,6 +55,7 @@ export interface IMovieTicketAsPaymentServiceOutput {
54
55
  * 利用対象予約
55
56
  */
56
57
  serviceOutput?: IReservation;
58
+ amount?: IAmountOfMovieTicketAsPaymentServiceOutput;
57
59
  }
58
60
  export declare type IPaymentServiceOutput = IMovieTicketAsPaymentServiceOutput[];
59
61
  /**
@@ -66,7 +68,7 @@ export interface IPaymentMethod {
66
68
  }
67
69
  export declare type ITotalPaymentDue = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'>;
68
70
  /**
69
- * インボイスインターフェース
71
+ * インボイス
70
72
  * {@link https://schema.org/Invoice}
71
73
  */
72
74
  export interface IInvoice {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.313.0-alpha.1",
3
+ "version": "4.313.0-alpha.2",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",