type Query {
    paymentMethods(options: PaymentMethodListOptions): PaymentMethodList!
    paymentMethod(id: ID!): PaymentMethod
}

type Mutation {
    "Update an existing PaymentMethod"
    updatePaymentMethod(input: UpdatePaymentMethodInput!): PaymentMethod!
}

type PaymentMethodList implements PaginatedList {
    items: [PaymentMethod!]!
    totalItems: Int!
}

# generated by generateListOptions function
input PaymentMethodListOptions

input UpdatePaymentMethodInput {
    id: ID!
    code: String
    enabled: Boolean
    configArgs: [ConfigArgInput!]
}
