@chevre/factory 4.324.0-alpha.2 → 4.324.0-alpha.3

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.
@@ -3,11 +3,11 @@ import { IAction as IPayAction, IAttributes as IPayActionAttributes, ILocation,
3
3
  import * as AssetTransactionFactory from '../assetTransaction';
4
4
  import { AssetTransactionType } from '../assetTransactionType';
5
5
  import { IExtendId } from '../autoGenerated';
6
- import { ITotalPaymentDue } from '../order';
6
+ import { IOrderPaymentMethodIssuedThroughServiceOutput, ITotalPaymentDue } from '../order';
7
7
  import { IUnauthorizedCardOfMember, IUncheckedCardRaw, IUncheckedCardTokenized } from '../paymentMethod/paymentCard/creditCard';
8
8
  import { IOnPaymentStatusChanged } from '../project';
9
9
  import { IPropertyValue } from '../propertyValue';
10
- import { ICreditCardAsPaymentServiceOutput, PaymentServiceType } from '../service/paymentService';
10
+ import { PaymentServiceType } from '../service/paymentService';
11
11
  export import IAgent = AssetTransactionFactory.IAgent;
12
12
  export declare type IRecipient = IPayRecipient;
13
13
  /**
@@ -89,7 +89,7 @@ export interface IObject {
89
89
  * 発行決済サービスID
90
90
  */
91
91
  id: string;
92
- serviceOutput?: ICreditCardAsPaymentServiceOutput;
92
+ serviceOutput?: IOrderPaymentMethodIssuedThroughServiceOutput;
93
93
  paymentMethod: IPaymentMethod;
94
94
  pendingTransaction?: IPendingTransaction;
95
95
  entryTranArgs?: IEntryTranArgs;
package/lib/invoice.d.ts CHANGED
@@ -8,7 +8,7 @@ import { IAppliesToMovieTicket, IPriceSpecification as IMovieTicketTypeChargeSpe
8
8
  import { IAppliesToAddOn as IUnitPriceSpecAppliesToAddOn, IPriceSpecification as IUnitPriceSpecification } from './priceSpecification/unitPriceSpecification';
9
9
  import { IPriceSpecification } from './reservation/event';
10
10
  import * as SellerFactory from './seller';
11
- import { ICreditCardAsPaymentServiceOutput, PaymentServiceType } from './service/paymentService';
11
+ import { PaymentServiceType } from './service/paymentService';
12
12
  export declare type IBroker = SellerFactory.ISeller | PersonFactory.IPerson;
13
13
  export declare type IProvider = SellerFactory.ISeller | PersonFactory.IPerson;
14
14
  export interface IReferenceOrder extends OrderFactory.IOrder {
@@ -57,7 +57,7 @@ export interface IMovieTicketAsPaymentServiceOutput {
57
57
  serviceOutput?: IReservation;
58
58
  amount?: IAmountOfMovieTicketAsPaymentServiceOutput;
59
59
  }
60
- export declare type IPaymentServiceOutput = IMovieTicketAsPaymentServiceOutput[] | ICreditCardAsPaymentServiceOutput;
60
+ export declare type IPaymentServiceOutput = IMovieTicketAsPaymentServiceOutput[] | OrderFactory.IOrderPaymentMethodIssuedThroughServiceOutput;
61
61
  /**
62
62
  * 決済方法(サービス)
63
63
  */
package/lib/order.d.ts CHANGED
@@ -34,13 +34,19 @@ export interface IProject {
34
34
  export declare enum OrderType {
35
35
  Order = "Order"
36
36
  }
37
+ export interface IOrderPaymentMethodIssuedThroughServiceOutput extends ICreditCardAsPaymentServiceOutput {
38
+ amount?: {
39
+ currency: string;
40
+ value: number;
41
+ };
42
+ }
37
43
  export interface IOrderPaymentMethodIssuedThrough {
38
44
  typeOf: PaymentServiceType;
39
45
  /**
40
46
  * 発行決済サービスID
41
47
  */
42
48
  id: string;
43
- serviceOutput?: ICreditCardAsPaymentServiceOutput;
49
+ serviceOutput?: IOrderPaymentMethodIssuedThroughServiceOutput;
44
50
  }
45
51
  export interface ITotalPaymentDue extends Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'> {
46
52
  value: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.324.0-alpha.2",
3
+ "version": "4.324.0-alpha.3",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",