type Query {
  taxRates(options: TaxRateListOptions): TaxRateList!
  taxRate(id: ID!): TaxRate
}

type Mutation {
  "Create a new TaxRate"
  createTaxRate(input: CreateTaxRateInput!): TaxRate!
  "Update an existing TaxRate"
  updateTaxRate(input: UpdateTaxRateInput!): TaxRate!
  "Delete a TaxRate"
  deleteTaxRate(id: ID!): DeletionResponse!
  "Delete multiple TaxRates"
  deleteTaxRates(ids: [ID!]!): [DeletionResponse!]!
}

# generated by generateListOptions function
input TaxRateListOptions

input CreateTaxRateInput {
    name: String!
    enabled: Boolean!
    value: Float!
    categoryId: ID!
    zoneId: ID!
    customerGroupId: ID
}

input UpdateTaxRateInput {
    id: ID!
    name: String
    value: Float
    enabled: Boolean
    categoryId: ID
    zoneId: ID
    customerGroupId: ID
}
