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:
github-actions[bot]
2023-11-27 18:58:52 +00:00
committed by GitHub
parent dc6b815b12
commit cdd42dbdcd
1383 changed files with 18978 additions and 20154 deletions

View File

@@ -14,12 +14,12 @@ All methods in this class require [customer authentication](AuthResource.mdx#aut
## Methods
### list
#### list
Retrieve the logged-in customer's saved payment methods. This method only works with payment providers created with the deprecated Payment Service interface.
The payment methods are saved using the Payment Service's third-party service, and not on the Medusa backend. So, they're retrieved from the third-party service.
#### Example
##### Example
```ts
import Medusa from "@medusajs/medusa-js"
@@ -30,7 +30,7 @@ medusa.customers.paymentMethods.list().then(({ payment_methods }) => {
})
```
#### Parameters
##### Parameters
<ParameterTypes parameters={[
{
@@ -44,7 +44,7 @@ medusa.customers.paymentMethods.list().then(({ payment_methods }) => {
}
]} />
#### Returns
##### Returns
<ParameterTypes parameters={[
{