# ConsumptionPeriod

    @objc(LSConsumptionPeriod)
    enum ConsumptionPeriod

    extension ConsumptionPeriod : Copyable, CustomStringConvertible, Equatable, Escapable, Hashable, RawRepresentable

License authorization method.

- `unknown`

  Undocumented

  #### Declaration

  Swift

      case unknown

- `daily`

  Undocumented

  #### Declaration

  Swift

      case daily

- `weekly`

  Undocumented

  #### Declaration

  Swift

      case weekly

- `monthly`

  Undocumented

  #### Declaration

  Swift

      case monthly

- `annually`

  Undocumented

  #### Declaration

  Swift

      case annually

- `description`

  A textual representation of this instance.

  Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`:

      struct Point: CustomStringConvertible {
          let x: Int, y: Int

          var description: String {
              return "(\(x), \(y))"
          }
      }

      let p = Point(x: 21, y: 30)
      let s = String(describing: p)
      print(s)
      // Prints "(21, 30)"

  The conversion of `p` to a string in the assignment to `s` uses the `Point` type’s `description` property.

  #### Declaration

  Swift

      var description: String { get }

- `init(rawValue:)`

  Creates a new instance with the specified raw value.

  If there is no value of the type that corresponds with the specified raw value, this initializer returns `nil`. For example:

      enum PaperSize: String {
          case A4, A5, Letter, Legal
      }

      print(PaperSize(rawValue: "Legal"))
      // Prints "Optional(PaperSize.Legal)"

      print(PaperSize(rawValue: "Tabloid"))
      // Prints "nil"

  #### Declaration

  Swift

      init?(rawValue: Int)

  #### Parameters

  `rawValue` | The raw value to use for the new instance.

© 2025 LicenseSpring. All rights reserved. (Last updated: 2025-10-22)

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