Credit
@objc(_TtCCC15CloverConnector9CLVModels8Payments6Credit)
public class Credit : NSObject, NSCoding, Mappable
-
Unique identifier
Declaration
Swift
public var id: String?
-
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?
-
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)