AmountModificatorType

@objc
public enum AmountModificatorType : Int, CaseIterable

Amount modificator type.

  • percentBased: Percent-based modification.
  • fixedAmount: Fixed amount modification.
  • Percent-based modification.

    Declaration

    Swift

    @objc(Percents)
    case percents
  • Fixed amount modification.

    Declaration

    Swift

    @objc(FixedAmount)
    case fixedAmount
  • Declaration

    Swift

    public var description: String { get }
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Encodes the contents of the receiver.

    Throws

    EncodingError

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws

    Parameters

    encoder

    Encoder.