@chevre/factory 4.366.0-alpha.1 → 4.366.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.
|
@@ -7,7 +7,7 @@ import * as ScreeningEventFactory from '../../../event/screeningEvent';
|
|
|
7
7
|
import * as OfferFactory from '../../../offer';
|
|
8
8
|
import * as OrderFactory from '../../../order';
|
|
9
9
|
import { PriceCurrency } from '../../../priceCurrency';
|
|
10
|
-
import { ITicketOffer, ITicketPriceSpecification } from '../../../product';
|
|
10
|
+
import { ICategoryCodeChargePriceComponent, IMovieTicketTypeChargePriceComponent, ITicketOffer, ITicketPriceSpecification, ITicketUnitPriceComponent } from '../../../product';
|
|
11
11
|
import * as WebAPIFactory from '../../../service/webAPI';
|
|
12
12
|
import { TransactionType } from '../../../transactionType';
|
|
13
13
|
import * as AuthorizeActionFactory from '../../authorize';
|
|
@@ -73,7 +73,13 @@ export interface IResult<T extends WebAPIFactory.Identifier> {
|
|
|
73
73
|
responseBody: IResponseBody<T>;
|
|
74
74
|
acceptedOffers?: IResultAcceptedOffer[];
|
|
75
75
|
}
|
|
76
|
-
export type
|
|
76
|
+
export type ExcludedFieldsFromTicketPriceComponent = 'accounting' | 'id' | 'name' | 'priceCurrency' | 'valueAddedTaxIncluded';
|
|
77
|
+
export type ITicketPriceComponent = Omit<ICategoryCodeChargePriceComponent, ExcludedFieldsFromTicketPriceComponent> | Omit<IMovieTicketTypeChargePriceComponent, ExcludedFieldsFromTicketPriceComponent> | Omit<ITicketUnitPriceComponent, ExcludedFieldsFromTicketPriceComponent>;
|
|
78
|
+
export type IAcceptedOfferPriceSpecification = Pick<ITicketPriceSpecification, 'priceCurrency' | 'typeOf' | 'valueAddedTaxIncluded'> & {
|
|
79
|
+
/**
|
|
80
|
+
* 承認アクションobjectに不要な属性を除外して再定義(2024-04-09~)
|
|
81
|
+
*/
|
|
82
|
+
priceComponent: ITicketPriceComponent[];
|
|
77
83
|
/**
|
|
78
84
|
* 複合価格仕様に、指定された適用決済カード情報を付加できるように
|
|
79
85
|
*/
|