Skip to content

Commit

Permalink
docs(core): Correctly tag PriceCalculationStrategy for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed May 20, 2020
1 parent 3c8bc4f commit eeb471f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import { CalculatedPrice, PriceCalculationStrategy } from './price-calculation-s
* @description
* The default {@link PriceCalculationStrategy}, which simply passes through the price of
* the ProductVariant without performing any calculations
*
* @docsCategory orders
*/
export class DefaultPriceCalculationStrategy implements PriceCalculationStrategy {
calculateUnitPrice(productVariant: ProductVariant): CalculatedPrice | Promise<CalculatedPrice> {
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/config/order/price-calculation-strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ProductVariant } from '../../entity/product-variant/product-variant.ent
* @description
* The result of the price calculation from the {@link PriceCalculationStrategy}.
*
* @docsCateogory Orders
* @docsCategory Orders
*/
export type CalculatedPrice = {
price: number;
Expand Down Expand Up @@ -45,7 +45,7 @@ export type CalculatedPrice = {
* * A product-configurator where e.g. various finishes, colors, and materials can be selected and stored
* as OrderLine custom fields.
*
* @docsCateogory Orders
* @docsCategory Orders
*/
export interface PriceCalculationStrategy extends InjectableStrategy {
/**
Expand Down

0 comments on commit eeb471f

Please sign in to comment.