Credit

@objc(_TtCCC15CloverConnector9CLVModels8Payments6Credit)
public class Credit : NSObject, NSCoding, Mappable
  • id

    Unique identifier

    Declaration

    Swift

    public var id: String?
  • The order with which the credit is associated

    Declaration

    Swift

    public var orderRef: CLVModels.Order.Order?
  • Device which processed this credit

    Declaration

    Swift

    public var device: CLVModels.Device.Device?
  • The tender type associated with this payment, e.g. credit card, cash, etc.

    Declaration

    Swift

    public var tender: CLVModels.Base.Tender?
  • The employee who processed the payment

    Declaration

    Swift

    public var employee: CLVModels.Employees.Employee?
  • Customer who received the credit/refund

    Declaration

    Swift

    public var customers: CLVModels.Customers.Customer?
  • Amount paid

    Declaration

    Swift

    public var amount: Int?
  • Amount paid in tax

    Declaration

    Swift

    public var taxAmount: Int?
  • Declaration

    Swift

    public var taxRates: [CLVModels.Payments.TaxableAmountRate]?
  • Time payment was recorded on server

    Declaration

    Swift

    public var createdTime: Date?
  • Declaration

    Swift

    public var clientCreatedTime: Date?
  • Information about the card used for credit/debit card payments

    Declaration

    Swift

    public var cardTransaction: CLVModels.Payments.CardTransaction?
  • Declaration

    Swift

    public var voided: Bool?
  • Declaration

    Swift

    public var voidReason: String?
  • 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)