Class CommentSubResource
java.lang.Object
net.amcintosh.freshbooks.resources.api.Resource
net.amcintosh.freshbooks.resources.api.ProjectResource
net.amcintosh.freshbooks.resources.api.CommentSubResource
- Direct Known Subclasses:
ServiceRates
Handles sub-resources under the `/comments` endpoints.
Eg. `/comments/business/{business_id}/services/{service_id}/rate`
These are handled similarly to `/projects` endpoints.
-
Field Summary
Fields inherited from class net.amcintosh.freshbooks.resources.api.Resource
freshBooksClient
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract String
protected ResourceType
protected String
getUrl
(long businessId) protected String
getUrl
(long businessId, long resourceId) protected String
getUrl
(long businessId, long resourceId, IncludesQueryBuilder builder) protected String
getUrl
(long businessId, List<QueryBuilder> builders) Methods inherited from class net.amcintosh.freshbooks.resources.api.ProjectResource
getPathForList, getPathForSingle, getUrl, getUrl, handleListRequest, handleRequest, handleRequest
Methods inherited from class net.amcintosh.freshbooks.resources.api.Resource
buildQueryString
-
Constructor Details
-
CommentSubResource
- Parameters:
freshBooksClient
- Initialized instance of FreshBooksClient
-
-
Method Details
-
getResourceType
- Overrides:
getResourceType
in classProjectResource
-
getPathForParent
-
getUrl
-
getUrl
-
getUrl
- Overrides:
getUrl
in classProjectResource
-
getUrl
- Overrides:
getUrl
in classProjectResource
-