Class OnboardCourierRateSheetsClient
- java.lang.Object
-
- com.chrt.api.resources.billing.onboardcourierratesheets.OnboardCourierRateSheetsClient
-
public class OnboardCourierRateSheetsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description OnboardCourierRateSheetsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanarchiveV1(java.lang.String id)Archives an OnboardCourier rate sheet (sets archived=True).booleanarchiveV1(java.lang.String id, RequestOptions requestOptions)Archives an OnboardCourier rate sheet (sets archived=True).java.lang.StringcreateV1(OnboardCourierRateSheetClientCreate1 request)Creates an OnboardCourier rate sheet owned by the caller's org.java.lang.StringcreateV1(OnboardCourierRateSheetClientCreate1 request, RequestOptions requestOptions)Creates an OnboardCourier rate sheet owned by the caller's org.booleandeleteV1(java.lang.String id)Hard-deletes an OnboardCourier rate sheet owned by the caller's org.booleandeleteV1(java.lang.String id, RequestOptions requestOptions)Hard-deletes an OnboardCourier rate sheet owned by the caller's org.OnboardCourierRateSheet1getByIdV1(java.lang.String id)Retrieves a specific OnboardCourier rate sheet owned by the caller's organization.OnboardCourierRateSheet1getByIdV1(java.lang.String id, RequestOptions requestOptions)Retrieves a specific OnboardCourier rate sheet owned by the caller's organization.OnboardCourierRateSheetListReslistV1()Lists all OnboardCourier rate sheets owned by the caller's organization.OnboardCourierRateSheetListReslistV1(OnboardCourierRateSheetsListV1Request request)Lists all OnboardCourier rate sheets owned by the caller's organization.OnboardCourierRateSheetListReslistV1(OnboardCourierRateSheetsListV1Request request, RequestOptions requestOptions)Lists all OnboardCourier rate sheets owned by the caller's organization.booleanunarchiveV1(java.lang.String id)Unarchives an OnboardCourier rate sheet (sets archived=False).booleanunarchiveV1(java.lang.String id, RequestOptions requestOptions)Unarchives an OnboardCourier rate sheet (sets archived=False).booleanupdateV1(java.lang.String id)Updates an OnboardCourier rate sheet owned by the caller's org.booleanupdateV1(java.lang.String id, OnboardCourierRateSheetClientUpdate1 request)Updates an OnboardCourier rate sheet owned by the caller's org.booleanupdateV1(java.lang.String id, OnboardCourierRateSheetClientUpdate1 request, RequestOptions requestOptions)Updates an OnboardCourier rate sheet owned by the caller's org.RawOnboardCourierRateSheetsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
OnboardCourierRateSheetsClient
public OnboardCourierRateSheetsClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawOnboardCourierRateSheetsClient withRawResponse()
Get responses with HTTP metadata like headers
-
getByIdV1
public OnboardCourierRateSheet1 getByIdV1(java.lang.String id)
Retrieves a specific OnboardCourier rate sheet owned by the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (OnboardCourierRateSheet1)
-
getByIdV1
public OnboardCourierRateSheet1 getByIdV1(java.lang.String id, RequestOptions requestOptions)
Retrieves a specific OnboardCourier rate sheet owned by the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (OnboardCourierRateSheet1)
-
listV1
public OnboardCourierRateSheetListRes listV1()
Lists all OnboardCourier rate sheets owned by the caller's organization. Pagination only — no search/filter. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (OnboardCourierRateSheetListRes)
-
listV1
public OnboardCourierRateSheetListRes listV1(OnboardCourierRateSheetsListV1Request request)
Lists all OnboardCourier rate sheets owned by the caller's organization. Pagination only — no search/filter. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (OnboardCourierRateSheetListRes)
-
listV1
public OnboardCourierRateSheetListRes listV1(OnboardCourierRateSheetsListV1Request request, RequestOptions requestOptions)
Lists all OnboardCourier rate sheets owned by the caller's organization. Pagination only — no search/filter. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (OnboardCourierRateSheetListRes)
-
createV1
public java.lang.String createV1(OnboardCourierRateSheetClientCreate1 request)
Creates an OnboardCourier rate sheet owned by the caller's org. | authz: allowed_org_types=[provider], min_org_role=operator | (OnboardCourierRateSheetClientCreate1) -> (PydanticObjectId)
-
createV1
public java.lang.String createV1(OnboardCourierRateSheetClientCreate1 request, RequestOptions requestOptions)
Creates an OnboardCourier rate sheet owned by the caller's org. | authz: allowed_org_types=[provider], min_org_role=operator | (OnboardCourierRateSheetClientCreate1) -> (PydanticObjectId)
-
updateV1
public boolean updateV1(java.lang.String id)
Updates an OnboardCourier rate sheet owned by the caller's org. Use the archive/unarchive routes to toggle thearchivedflag. | authz: allowed_org_types=[provider], min_org_role=operator | (OnboardCourierRateSheetClientUpdate1) -> (bool)
-
updateV1
public boolean updateV1(java.lang.String id, OnboardCourierRateSheetClientUpdate1 request)Updates an OnboardCourier rate sheet owned by the caller's org. Use the archive/unarchive routes to toggle thearchivedflag. | authz: allowed_org_types=[provider], min_org_role=operator | (OnboardCourierRateSheetClientUpdate1) -> (bool)
-
updateV1
public boolean updateV1(java.lang.String id, OnboardCourierRateSheetClientUpdate1 request, RequestOptions requestOptions)Updates an OnboardCourier rate sheet owned by the caller's org. Use the archive/unarchive routes to toggle thearchivedflag. | authz: allowed_org_types=[provider], min_org_role=operator | (OnboardCourierRateSheetClientUpdate1) -> (bool)
-
archiveV1
public boolean archiveV1(java.lang.String id)
Archives an OnboardCourier rate sheet (sets archived=True). Idempotent. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
-
archiveV1
public boolean archiveV1(java.lang.String id, RequestOptions requestOptions)Archives an OnboardCourier rate sheet (sets archived=True). Idempotent. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
-
unarchiveV1
public boolean unarchiveV1(java.lang.String id)
Unarchives an OnboardCourier rate sheet (sets archived=False). Idempotent. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
-
unarchiveV1
public boolean unarchiveV1(java.lang.String id, RequestOptions requestOptions)Unarchives an OnboardCourier rate sheet (sets archived=False). Idempotent. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
-
deleteV1
public boolean deleteV1(java.lang.String id)
Hard-deletes an OnboardCourier rate sheet owned by the caller's org. Prefer archiving when the sheet has historical references. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
-
deleteV1
public boolean deleteV1(java.lang.String id, RequestOptions requestOptions)Hard-deletes an OnboardCourier rate sheet owned by the caller's org. Prefer archiving when the sheet has historical references. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
-
-