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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Stringprotected ResourceTypeprotected StringgetUrl(long businessId) protected StringgetUrl(long businessId, long resourceId) protected StringgetUrl(long businessId, long resourceId, IncludesQueryBuilder builder) protected StringgetUrl(long businessId, List<QueryBuilder> builders) Methods inherited from class net.amcintosh.freshbooks.resources.api.ProjectResource
getPathForList, getPathForSingle, getUrl, getUrl, handleListRequest, handleRequest, handleRequestMethods inherited from class net.amcintosh.freshbooks.resources.api.Resource
buildQueryString
-
Constructor Details
-
CommentSubResource
- Parameters:
freshBooksClient- Initialized instance of FreshBooksClient
-
-
Method Details
-
getResourceType
- Overrides:
getResourceTypein classProjectResource
-
getPathForParent
-
getUrl
-
getUrl
-
getUrl
- Overrides:
getUrlin classProjectResource
-
getUrl
- Overrides:
getUrlin classProjectResource
-