docs: migrate guides to TSDoc references (#6100)
This commit is contained in:
@@ -47,8 +47,6 @@ is allowed.
|
||||
|
||||
<ParameterTypes parameters={[{"name":"Promise","type":"Promise<[ShippingOption](../../entities/classes/entities.ShippingOption.mdx)>","optional":false,"defaultValue":"","description":"the result of update","expandable":false,"children":[]}]} />
|
||||
|
||||
___
|
||||
|
||||
### atomicPhase\_
|
||||
|
||||
Wraps some work within a transactional block. If the service already has
|
||||
@@ -67,8 +65,6 @@ transaction manager is created.
|
||||
|
||||
<ParameterTypes parameters={[{"name":"Promise","type":"Promise<TResult>","optional":false,"defaultValue":"","description":"the result of the transactional work","expandable":false,"children":[]}]} />
|
||||
|
||||
___
|
||||
|
||||
### create
|
||||
|
||||
Creates a new shipping option. Used both for outbound and inbound shipping
|
||||
@@ -83,8 +79,6 @@ defaults to false.
|
||||
|
||||
<ParameterTypes parameters={[{"name":"Promise","type":"Promise<[ShippingOption](../../entities/classes/entities.ShippingOption.mdx)>","optional":false,"defaultValue":"","description":"the result of the create operation","expandable":false,"children":[]}]} />
|
||||
|
||||
___
|
||||
|
||||
### createShippingMethod
|
||||
|
||||
Creates a shipping method for a given cart.
|
||||
@@ -97,8 +91,6 @@ Creates a shipping method for a given cart.
|
||||
|
||||
<ParameterTypes parameters={[{"name":"Promise","type":"Promise<[ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)>","optional":false,"defaultValue":"","description":"the resulting shipping method.","expandable":false,"children":[]}]} />
|
||||
|
||||
___
|
||||
|
||||
### delete
|
||||
|
||||
Deletes a profile with a given profile id.
|
||||
@@ -111,8 +103,6 @@ Deletes a profile with a given profile id.
|
||||
|
||||
<ParameterTypes parameters={[{"name":"Promise","type":"Promise<void \\| [ShippingOption](../../entities/classes/entities.ShippingOption.mdx)>","optional":false,"defaultValue":"","description":"the result of the delete operation.","expandable":false,"children":[]}]} />
|
||||
|
||||
___
|
||||
|
||||
### deleteShippingMethods
|
||||
|
||||
Removes a given shipping method
|
||||
@@ -125,8 +115,6 @@ Removes a given shipping method
|
||||
|
||||
<ParameterTypes parameters={[{"name":"Promise","type":"Promise<[ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)[]>","optional":false,"defaultValue":"","description":"removed shipping methods","expandable":false,"children":[]}]} />
|
||||
|
||||
___
|
||||
|
||||
### getPrice\_
|
||||
|
||||
Returns the amount to be paid for a shipping method. Will ask the
|
||||
@@ -141,8 +129,6 @@ price type "calculated".
|
||||
|
||||
<ParameterTypes parameters={[{"name":"Promise","type":"Promise<number>","optional":false,"defaultValue":"","description":"the price of the shipping option.","expandable":false,"children":[]}]} />
|
||||
|
||||
___
|
||||
|
||||
### list
|
||||
|
||||
#### Parameters
|
||||
@@ -153,8 +139,6 @@ ___
|
||||
|
||||
<ParameterTypes parameters={[{"name":"Promise","type":"Promise<[ShippingOption](../../entities/classes/entities.ShippingOption.mdx)[]>","optional":false,"defaultValue":"","description":"the result of the find operation","expandable":false,"children":[]}]} />
|
||||
|
||||
___
|
||||
|
||||
### listAndCount
|
||||
|
||||
#### Parameters
|
||||
@@ -165,8 +149,6 @@ ___
|
||||
|
||||
<ParameterTypes parameters={[{"name":"Promise","type":"Promise<[[ShippingOption](../../entities/classes/entities.ShippingOption.mdx)[], number]>","optional":false,"defaultValue":"","description":"the result of the find operation","expandable":false,"children":[]}]} />
|
||||
|
||||
___
|
||||
|
||||
### removeRequirement
|
||||
|
||||
Removes a requirement from a shipping option
|
||||
@@ -179,8 +161,6 @@ Removes a requirement from a shipping option
|
||||
|
||||
<ParameterTypes parameters={[{"name":"Promise","type":"Promise<void \\| [ShippingOptionRequirement](../../entities/classes/entities.ShippingOptionRequirement.mdx)>","optional":false,"defaultValue":"","description":"the result of update","expandable":false,"children":[]}]} />
|
||||
|
||||
___
|
||||
|
||||
### retrieve
|
||||
|
||||
Gets a profile by id.
|
||||
@@ -194,8 +174,6 @@ Throws in case of DB Error and if profile was not found.
|
||||
|
||||
<ParameterTypes parameters={[{"name":"Promise","type":"Promise<[ShippingOption](../../entities/classes/entities.ShippingOption.mdx)>","optional":false,"defaultValue":"","description":"the profile document.","expandable":false,"children":[]}]} />
|
||||
|
||||
___
|
||||
|
||||
### shouldRetryTransaction\_
|
||||
|
||||
#### Parameters
|
||||
@@ -206,8 +184,6 @@ ___
|
||||
|
||||
<ParameterTypes parameters={[{"name":"boolean","type":"`boolean`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]} />
|
||||
|
||||
___
|
||||
|
||||
### update
|
||||
|
||||
Updates a profile. Metadata updates and product updates should use
|
||||
@@ -222,8 +198,6 @@ will throw errors if metadata or product updates are attempted.
|
||||
|
||||
<ParameterTypes parameters={[{"name":"Promise","type":"Promise<[ShippingOption](../../entities/classes/entities.ShippingOption.mdx)>","optional":false,"defaultValue":"","description":"resolves to the update result.","expandable":false,"children":[]}]} />
|
||||
|
||||
___
|
||||
|
||||
### updateShippingMethod
|
||||
|
||||
Updates a shipping method's associations. Useful when a cart is completed
|
||||
@@ -237,8 +211,6 @@ and its methods should be copied to an order/swap entity.
|
||||
|
||||
<ParameterTypes parameters={[{"name":"Promise","type":"Promise<undefined \\| [ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)>","optional":false,"defaultValue":"","description":"the resulting shipping method","expandable":false,"children":[]}]} />
|
||||
|
||||
___
|
||||
|
||||
### updateShippingProfile
|
||||
|
||||
#### Parameters
|
||||
@@ -249,8 +221,6 @@ ___
|
||||
|
||||
<ParameterTypes parameters={[{"name":"Promise","type":"Promise<[ShippingOption](../../entities/classes/entities.ShippingOption.mdx)[]>","optional":false,"defaultValue":"","description":"updated shipping options","expandable":false,"children":[]}]} />
|
||||
|
||||
___
|
||||
|
||||
### validateAndMutatePrice
|
||||
|
||||
#### Parameters
|
||||
@@ -261,8 +231,6 @@ ___
|
||||
|
||||
<ParameterTypes parameters={[{"name":"Promise","type":"Promise<CreateShippingOptionInput \\| Omit<[ShippingOption](../../entities/classes/entities.ShippingOption.mdx), \"beforeInsert\">>","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]} />
|
||||
|
||||
___
|
||||
|
||||
### validateCartOption
|
||||
|
||||
Checks if a given option id is a valid option for a cart. If it is the
|
||||
@@ -277,8 +245,6 @@ match, or when the shipping option requirements are not satisfied.
|
||||
|
||||
<ParameterTypes parameters={[{"name":"Promise","type":"Promise<null \\| [ShippingOption](../../entities/classes/entities.ShippingOption.mdx)>","optional":false,"defaultValue":"","description":"the validated shipping option","expandable":false,"children":[]}]} />
|
||||
|
||||
___
|
||||
|
||||
### validatePriceType\_
|
||||
|
||||
Validates a shipping option price
|
||||
@@ -291,8 +257,6 @@ Validates a shipping option price
|
||||
|
||||
<ParameterTypes parameters={[{"name":"Promise","type":"Promise<[ShippingOptionPriceType](../../entities/enums/entities.ShippingOptionPriceType.mdx)>","optional":false,"defaultValue":"","description":"the validated price","expandable":false,"children":[]}]} />
|
||||
|
||||
___
|
||||
|
||||
### validateRequirement\_
|
||||
|
||||
Validates a requirement
|
||||
@@ -305,8 +269,6 @@ Validates a requirement
|
||||
|
||||
<ParameterTypes parameters={[{"name":"Promise","type":"Promise<[ShippingOptionRequirement](../../entities/classes/entities.ShippingOptionRequirement.mdx)>","optional":false,"defaultValue":"","description":"a validated shipping requirement","expandable":false,"children":[]}]} />
|
||||
|
||||
___
|
||||
|
||||
### withTransaction
|
||||
|
||||
#### Parameters
|
||||
|
||||
Reference in New Issue
Block a user