title: Custom Surcharge (Order)
type: object
x-tags:
  - Orders
description: Represents a custom surcharge supplied and managed by POS.
required:
  - uuid
  - name
  - calculation
properties:
  uuid:
    type: string
    format: uuid
    description: The unique identifier.
  name:
    type: string
    minLength: 1
    maxLength: 255
    example: Special Handling
    description: The name of the custom surcharge.
  calculation:
    $ref: ./Calculation.yaml
    description: The calculation used by POS for the custom surcharge.
  line_item_uuid:
    type:
      - string
      - 'null'
    format: uuid
    description: The UUID of the associated order line item, if any.
