Item

public struct Item : Codable, Equatable

Struct representing Receipt Item related values.

  • id

    Value representing the entity id.

    Declaration

    Swift

    public var id: Int
  • Code ID of receipt item.

    Declaration

    Swift

    public var codeId: Int
  • Scanned code of receipt item.

    Declaration

    Swift

    public var scannedCode: String
  • Scanned code description of receipt item.

    Declaration

    Swift

    public var scannedCodeDescription: String
  • Scanned code label of receipt item.

    Declaration

    Swift

    public var scannedCodeLabel: String
  • Amount of receipt item.

    Declaration

    Swift

    public var amount: String
  • Submission type of receipt item.

    Declaration

    Swift

    public var submissionType: String
  • Date receipt item was created.

    Declaration

    Swift

    public var createdAt: String
  • Date receipt item was updated.

    Declaration

    Swift

    public var updatedAt: String
  • Metric name of receipt item.

    Declaration

    Swift

    public var metricName: String
  • Metric amount of receipt item.

    Declaration

    Swift

    public var metricAmount: String
  • Comment in receipt item.

    Declaration

    Swift

    public var comment: String
  • Undocumented

    Declaration

    Swift

    public init(id: Int, codeId: Int, scannedCode: String, scannedCodeDescription: String,
                scannedCodeLabel: String, amount: String, submissionType: String, createdAt: String,
                updatedAt: String, metricName: String, metricAmount: String, comment: String)
  • Declaration

    Swift

    public init(from decoder: Decoder) throws