Authorization

@objc(_TtCCC15CloverConnector9CLVModels8Payments13Authorization)
public class Authorization : NSObject, NSCoding, Mappable
  • id

    Unique identifier

    Declaration

    Swift

    public var id: String?
  • Payment that the auth was opened with

    Declaration

    Swift

    public var payment: CLVModels.Payments.Payment?
  • Name of tab

    Declaration

    Swift

    public var tabName: String?
  • Amount authorized

    Declaration

    Swift

    public var amount: Int?
  • Type of credit card used for authorization

    Declaration

    Swift

    public var cardType: CLVModels.Payments.CardType?
  • Last 4 digits of credit card used for authorization

    Declaration

    Swift

    public var last4: String?
  • Authorization code

    Declaration

    Swift

    public var authcode: String?
  • Declaration

    Swift

    public var type_: CLVModels.Payments.Type_?
  • Declaration

    Swift

    public var note: String?
  • Payment that the auth was closed with

    Declaration

    Swift

    public var closingPayment: CLVModels.Payments.Payment?
  • Time authorization was recorded on server

    Declaration

    Swift

    public var createdTime: Date?
  • 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)