Client
public struct Client
A struct representation of a client in the harvest system
-
A unique identifier for this Client
Declaration
Swift
public var identifier: Int?
-
The clients name
Declaration
Swift
public var name: String?
-
The currency that the client makes/recieves payments in. As a full length description.
Declaration
Swift
public var currencyName: String?
-
The currency symbol representing the currency that the client makes/recieves payments in
Declaration
Swift
public var currencySymbol: String?
-
A boolean to indicate whether or not the client is active in the system. If false, this client has been archived
Declaration
Swift
public var active: Bool?
-
Undocumented
Declaration
Swift
public struct Client
-
Undocumented
Declaration
Swift
public struct Client
-
Undocumented
Declaration
Swift
public struct Client
-
The date that the client was created
Declaration
Swift
public var created: NSDate?
-
The date that this client was last updated
Declaration
Swift
public var updated: NSDate?
-
Undocumented
Declaration
Swift
public struct Client
-
The clients address that they can be contacted at. Same as the
details
property although if setting both to different values which isn’t possible, the details property will take precedence.Declaration
Swift
public var address: String?
-
Undocumented
Declaration
Swift
public struct Client
-
Undocumented
Declaration
Swift
public struct Client
-
A dictionary representation of the client which can be submitted to the API to create a new client or update an existing one
Declaration
Swift
var serialisedObject: [String: AnyObject]