# OverageRequest

    struct OverageRequest

    extension OverageRequest : Decodable, Encodable, Equatable

Encapsulates information about overages in a consumption license. Can be passed to `LicenseService.syncConsumption` if you want to include overage info in the request.

- `isConsumptionOverageAllowed`

  Indicates whether it’s allowed to exceed consumption for this license. Meaningful only for consumption-based licenses.

  #### Declaration

  Swift

      var isConsumptionOverageAllowed: Bool

- `maxConsumptionOverage`

  Extra amount of consumption that allows going over `maxConsumption`. Meaningful only for consumption-based licenses.

  #### Declaration

  Swift

      var maxConsumptionOverage: Int

- `init()`

  Default initializer (equivalent to parameterless constructor in C#)

  #### Declaration

  Swift

      init()

- `init(isOverageAllowed:maxOverage:)`

  Parameterized initializer

  #### Declaration

  Swift

      init(isOverageAllowed: Bool, maxOverage: Int)

  #### Parameters

  `isOverageAllowed` | Whether exceeding consumption is allowed.
  `maxOverage` | Extra consumption allowed over the limit.

- `init(from:)`

  Creates a new instance by decoding from the given decoder.

  This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.

  #### Declaration

  Swift

      init(from decoder: any Decoder) throws

© 2026 LicenseSpring. All rights reserved. (Last updated: 2026-05-27)

Generated by jazzy ♪♫ v0.15.3, a Realm project.