Coupon

public struct Coupon : Codable, Equatable

Struct representing Coupon related values.

  • id

    Value representing the entity id.

    Declaration

    Swift

    public var id: Int
  • The coupon code.

    Declaration

    Swift

    public var code: String
  • The coupon barcode.

    Declaration

    Swift

    public var barcode: String
  • The coupon barcode standard.

    Declaration

    Swift

    public var barcodeStandard: String
  • Undocumented

    Declaration

    Swift

    public init(id: Int, code: String, barcode: String, barcodeStandard: String)
  • Declaration

    Swift

    public init(from decoder: Decoder) throws