docs: add TSDoc for payment processor + generate docs (#5917)
* added tsdocs for payment processor * generated reference for payment processor
This commit is contained in:
@@ -24,11 +24,30 @@ ___
|
||||
},
|
||||
{
|
||||
"name": "type",
|
||||
"type": "`string`",
|
||||
"type": "[RequirementType](../../entities/enums/entities.RequirementType.mdx)",
|
||||
"description": "The type of the requirement",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"expandable": false,
|
||||
"children": []
|
||||
"children": [
|
||||
{
|
||||
"name": "MAX_SUBTOTAL",
|
||||
"type": "`\"max_subtotal\"`",
|
||||
"description": "The shipping option can only be applied if the subtotal is less than the requirement's amont.",
|
||||
"optional": true,
|
||||
"defaultValue": "",
|
||||
"expandable": false,
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"name": "MIN_SUBTOTAL",
|
||||
"type": "`\"min_subtotal\"`",
|
||||
"description": "The shipping option can only be applied if the subtotal is greater than the requirement's amount.",
|
||||
"optional": true,
|
||||
"defaultValue": "",
|
||||
"expandable": false,
|
||||
"children": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records"/>
|
||||
|
||||
Reference in New Issue
Block a user