Skip to content

PaymentMethod ​

Type: schema

TypeScript Definition ​

typescript
PaymentMethod: components["schemas"]["ManualPaymentMethod"] | components["schemas"]["AutomaticPaymentMethod"]

Component References ​

ReferenceResolves 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

Last updated: