Package net.amcintosh.freshbooks.models
Class Business
java.lang.Object
net.amcintosh.freshbooks.models.Business
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Address objectstatic class
Phone number object -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionUnique identifier of the accounting system the business is associated with.Address of the business.UUID of the business.Date format used by the business in FreshBooks.long
getId()
Unique id of the business.getName()
Name of the business.Phone number of the business.
-
Constructor Details
-
Business
public Business()
-
-
Method Details
-
getId
public long getId()Unique id of the business.- Returns:
-
getBusinessUUID
UUID of the business. FreshBooks will be moving from id to business_uuid in future API calls.- Returns:
-
getName
Name of the business.- Returns:
-
getAccountId
Unique identifier of the accounting system the business is associated with.- Returns:
- Accounting System Id
-
getDateFormat
Date format used by the business in FreshBooks.- Returns:
- eg. "dd/mm/yyyy"
-
getAddress
Address of the business.- Returns:
-
getPhoneNumber
Phone number of the business.- Returns:
-