Skip to content

Commit

Permalink
集計オファーを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovegadd committed Sep 7, 2023
1 parent c1079a2 commit 8900359
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/offer/aggregateOffer.ts
Expand Up @@ -8,10 +8,14 @@ export type ISubOffer = IUnitPriceOffer;
*/
export interface IAggregateOffer extends Pick<IOffer, 'typeOf' | 'project'> {
typeOf: OfferType.AggregateOffer;
highPrice?: number;
lowPrice?: number;
offerCount?: number;
/**
* サブオファー
* 基本的に1つの基本オファーが含まれる
* 条件によるバリエーションが存在する場合、2つ以上のオファーが含まれる
*/
offers: ISubOffer[]; // 追加(2023-09-01~)

}
4 changes: 4 additions & 0 deletions src/product.ts
Expand Up @@ -239,6 +239,10 @@ export interface ITicketOffer extends Pick<
name: IOfferName;
priceSpecification: ITicketPriceSpecification;
itemOffered?: UnitPriceOfferFactory.IItemOffered;
offerIndex?: number;
/**
* カタログ内ソートインデックス
*/
sortIndex?: number;
typeOf: OfferType.Offer;
}

0 comments on commit 8900359

Please sign in to comment.