docs: add TSDoc for payment processor + generate docs (#5917)
* added tsdocs for payment processor * generated reference for payment processor
This commit is contained in:
+28
@@ -55,6 +55,34 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
"expandable": false,
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"name": "price_type",
|
||||
"type": "[ShippingOptionPriceType](../../entities/enums/entities.ShippingOptionPriceType.mdx)",
|
||||
"description": "",
|
||||
"optional": true,
|
||||
"defaultValue": "",
|
||||
"expandable": false,
|
||||
"children": [
|
||||
{
|
||||
"name": "CALCULATED",
|
||||
"type": "`\"calculated\"`",
|
||||
"description": "The shipping option's price is calculated. In this case, the `amount` field is typically `null`.",
|
||||
"optional": true,
|
||||
"defaultValue": "",
|
||||
"expandable": false,
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"name": "FLAT_RATE",
|
||||
"type": "`\"flat_rate\"`",
|
||||
"description": "The shipping option's price is a flat rate.",
|
||||
"optional": true,
|
||||
"defaultValue": "",
|
||||
"expandable": false,
|
||||
"children": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "requirements",
|
||||
"type": "[OptionRequirement](medusa.OptionRequirement-1.mdx)[]",
|
||||
|
||||
Reference in New Issue
Block a user