chore(docs): Generated References (#5743)
Generated the following references: - `entities` - `inventory` - `js-client` - `pricing` - `product` - `services` - `stock-location` - `workflows` Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com> Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
dc6b815b12
commit
cdd42dbdcd
@@ -8,14 +8,14 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
## Methods
|
||||
|
||||
### calculateVariantPrice
|
||||
#### calculateVariantPrice
|
||||
|
||||
`**calculateVariantPrice**(data, context): Promise<Map<string, [PriceSelectionResult](../types/PriceSelectionResult.mdx)>>`
|
||||
|
||||
Calculate the original and discount price for a given variant in a set of
|
||||
circumstances described in the context.
|
||||
|
||||
#### Parameters
|
||||
##### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
@@ -38,7 +38,7 @@ circumstances described in the context.
|
||||
}
|
||||
]} />
|
||||
|
||||
#### Returns
|
||||
##### Returns
|
||||
|
||||
Promise<Map<string, [PriceSelectionResult](../types/PriceSelectionResult.mdx)>>
|
||||
|
||||
@@ -56,13 +56,13 @@ Promise<Map<string, [PriceSelectionResult](../types/PriceSelectionResult
|
||||
|
||||
___
|
||||
|
||||
### onVariantsPricesUpdate
|
||||
#### onVariantsPricesUpdate
|
||||
|
||||
`**onVariantsPricesUpdate**(variantIds): Promise<void>`
|
||||
|
||||
Notify price selection strategy that variants prices have been updated.
|
||||
|
||||
#### Parameters
|
||||
##### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
@@ -76,7 +76,7 @@ Notify price selection strategy that variants prices have been updated.
|
||||
}
|
||||
]} />
|
||||
|
||||
#### Returns
|
||||
##### Returns
|
||||
|
||||
Promise<void>
|
||||
|
||||
@@ -94,11 +94,11 @@ Promise<void>
|
||||
|
||||
___
|
||||
|
||||
### withTransaction
|
||||
#### withTransaction
|
||||
|
||||
`**withTransaction**(transactionManager?): [IPriceSelectionStrategy](IPriceSelectionStrategy.mdx)`
|
||||
|
||||
#### Parameters
|
||||
##### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
@@ -112,7 +112,7 @@ ___
|
||||
}
|
||||
]} />
|
||||
|
||||
#### Returns
|
||||
##### Returns
|
||||
|
||||
[IPriceSelectionStrategy](IPriceSelectionStrategy.mdx)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user