LineItemPayment

@objc(_TtCCC15CloverConnector9CLVModels8Payments15LineItemPayment)
public class LineItemPayment : NSObject, NSCoding, Mappable
  • id

    Unique identifier; TBD this is confusing because it’s used as either line item id or payment id

    Declaration

    Swift

    public var id: String?
  • The line item with which the line item payment is associated

    Declaration

    Swift

    public var lineItemRef: CLVModels.Order.LineItem?
  • The payment with which the line item payment is associated

    Declaration

    Swift

    public var paymentRef: CLVModels.Payments.Payment?
  • Percent of this line item covered by this payment

    Declaration

    Swift

    public var percentage: Int?
  • Bin this line item payment was for

    Declaration

    Swift

    public var binName: String?
  • Payment has been refunded

    Declaration

    Swift

    public var refunded: Bool?
  • Declaration

    Swift

    public func encode(with aCoder: NSCoder)
  • Declaration

    Swift

    required public init(coder aDecoder: NSCoder)
  • Declaration

    Swift

    override public init()
  • Declaration

    Swift

    required public init?(map: Map)
  • Declaration

    Swift

    public func mapping(map: Map)