Payment
@objc(_TtCCC15CloverConnector9CLVModels8Payments7Payment)
public class Payment : NSObject, NSCoding, Mappable
-
Unique identifier
Declaration
Swift
public var id: String? -
The order with which the payment is associated
Declaration
Swift
public var order: CLVModels.Base.Reference? -
Device which processed the transaction for this payment
Declaration
Swift
public var device: CLVModels.Base.Reference? -
The tender type associated with this payment, e.g. credit card, cash, etc.
Declaration
Swift
public var tender: CLVModels.Base.Tender? -
Total amount paid
Declaration
Swift
public var amount: Int? -
Amount paid in tips
Declaration
Swift
public var tipAmount: Int? -
Amount paid in tax
Declaration
Swift
public var taxAmount: Int? -
Amount given back in a cash back transaction
Declaration
Swift
public var cashbackAmount: Int? -
Amount of cash given by the customer
Declaration
Swift
public var cashTendered: Int? -
Declaration
Swift
public var externalPaymentId: String? -
The employee who processed the payment
Declaration
Swift
public var employee: CLVModels.Base.Reference? -
Time payment was recorded on server
Declaration
Swift
public var createdTime: Date? -
Declaration
Swift
public var clientCreatedTime: Date? -
Last modified time of the payment
Declaration
Swift
public var modifiedTime: Date? -
Declaration
Swift
public var offline: Bool? -
Information about the card used for credit/debit card payments
Declaration
Swift
public var cardTransaction: CLVModels.Payments.CardTransaction? -
Amount record as a service charge
Declaration
Swift
public var serviceCharge: CLVModels.Payments.ServiceChargeAmount? -
Declaration
Swift
public var taxRates: [CLVModels.Payments.PaymentTaxRate]? -
Declaration
Swift
public var note: String? -
Declaration
Swift
public var lineItemPayments: [CLVModels.Payments.LineItemPayment]? -
If voided, the reason why (when available)
Declaration
Swift
public var voidReason: CLVModels.Order.VoidReason? -
Per transaction settings for the payment
Declaration
Swift
public var transactionSettings: CLVModels.Payments.TransactionSettings? -
German region-specific information
Declaration
Swift
public var germanInfo: CLVModels.Payments.GermanInfo? -
Tracking information for the app that created this payment.
Declaration
Swift
public var appTracking: CLVModels.Apps.AppTracking? -
Additional charges associated with this transaction (Canada INTERAC)
Declaration
Swift
public var additionalCharges: CLVModels.Payments.AdditionalCharges? -
Declaration
Swift
public var transactionInfo: CLVModels.Payments.TransactionInfo? -
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)
Payment Class Reference