PaymentMethod
Type: schema
TypeScript Definition
typescript
PaymentMethod: components["schemas"]["ManualPaymentMethod"] | components["schemas"]["AutomaticPaymentMethod"]Component References
| Reference | Resolves To |
|---|---|
components["schemas"]["ManualPaymentMethod"] | ManualPaymentMethod |
components["schemas"]["AutomaticPaymentMethod"] | AutomaticPaymentMethod |
OpenAPI Schema
json
{
"title": "PaymentMethod",
"externalDocs": {
"url": "https://llm-docs.commercengine.io/storefront/schemas/PaymentMethod",
"description": "API reference for the PaymentMethod schema"
},
"discriminator": {
"propertyName": "type",
"mapping": {
"manual": "#/components/schemas/ManualPaymentMethod",
"auto": "#/components/schemas/AutomaticPaymentMethod"
}
},
"oneOf": [
{
"$ref": "#/components/schemas/ManualPaymentMethod"
},
{
"$ref": "#/components/schemas/AutomaticPaymentMethod"
}
]
}Auto-generated from OpenAPI spec and TypeScript definitions