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
{
"discriminator": {
"propertyName": "type",
"mapping": {
"manual": "#/components/schemas/ManualPaymentMethod",
"auto": "#/components/schemas/AutomaticPaymentMethod"
}
},
"externalDocs": {
"url": "https://llm-docs.commercengine.io/admin-pos/schemas/PaymentMethod"
},
"oneOf": [
{
"$ref": "#/components/schemas/ManualPaymentMethod"
},
{
"$ref": "#/components/schemas/AutomaticPaymentMethod"
}
],
"title": "PaymentMethod"
}Auto-generated from OpenAPI spec and TypeScript definitions