Class AsyncOnboardCourierRateSheetsClient
- java.lang.Object
-
- com.chrt.api.resources.billing.onboardcourierratesheets.AsyncOnboardCourierRateSheetsClient
-
public class AsyncOnboardCourierRateSheetsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncOnboardCourierRateSheetsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.Boolean>archiveV1(java.lang.String id)Archives an OnboardCourier rate sheet (sets archived=True).java.util.concurrent.CompletableFuture<java.lang.Boolean>archiveV1(java.lang.String id, RequestOptions requestOptions)Archives an OnboardCourier rate sheet (sets archived=True).java.util.concurrent.CompletableFuture<java.lang.String>createV1(OnboardCourierRateSheetClientCreate1 request)Creates an OnboardCourier rate sheet owned by the caller's org.java.util.concurrent.CompletableFuture<java.lang.String>createV1(OnboardCourierRateSheetClientCreate1 request, RequestOptions requestOptions)Creates an OnboardCourier rate sheet owned by the caller's org.java.util.concurrent.CompletableFuture<java.lang.Boolean>deleteV1(java.lang.String id)Hard-deletes an OnboardCourier rate sheet owned by the caller's org.java.util.concurrent.CompletableFuture<java.lang.Boolean>deleteV1(java.lang.String id, RequestOptions requestOptions)Hard-deletes an OnboardCourier rate sheet owned by the caller's org.java.util.concurrent.CompletableFuture<OnboardCourierRateSheet1>getByIdV1(java.lang.String id)Retrieves a specific OnboardCourier rate sheet owned by the caller's organization.java.util.concurrent.CompletableFuture<OnboardCourierRateSheet1>getByIdV1(java.lang.String id, RequestOptions requestOptions)Retrieves a specific OnboardCourier rate sheet owned by the caller's organization.java.util.concurrent.CompletableFuture<OnboardCourierRateSheetListRes>listV1()Lists all OnboardCourier rate sheets owned by the caller's organization.java.util.concurrent.CompletableFuture<OnboardCourierRateSheetListRes>listV1(OnboardCourierRateSheetsListV1Request request)Lists all OnboardCourier rate sheets owned by the caller's organization.java.util.concurrent.CompletableFuture<OnboardCourierRateSheetListRes>listV1(OnboardCourierRateSheetsListV1Request request, RequestOptions requestOptions)Lists all OnboardCourier rate sheets owned by the caller's organization.java.util.concurrent.CompletableFuture<java.lang.Boolean>unarchiveV1(java.lang.String id)Unarchives an OnboardCourier rate sheet (sets archived=False).java.util.concurrent.CompletableFuture<java.lang.Boolean>unarchiveV1(java.lang.String id, RequestOptions requestOptions)Unarchives an OnboardCourier rate sheet (sets archived=False).java.util.concurrent.CompletableFuture<java.lang.Boolean>updateV1(java.lang.String id)Updates an OnboardCourier rate sheet owned by the caller's org.java.util.concurrent.CompletableFuture<java.lang.Boolean>updateV1(java.lang.String id, OnboardCourierRateSheetClientUpdate1 request)Updates an OnboardCourier rate sheet owned by the caller's org.java.util.concurrent.CompletableFuture<java.lang.Boolean>updateV1(java.lang.String id, OnboardCourierRateSheetClientUpdate1 request, RequestOptions requestOptions)Updates an OnboardCourier rate sheet owned by the caller's org.AsyncRawOnboardCourierRateSheetsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncOnboardCourierRateSheetsClient
public AsyncOnboardCourierRateSheetsClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawOnboardCourierRateSheetsClient withRawResponse()
Get responses with HTTP metadata like headers
-
getByIdV1
public java.util.concurrent.CompletableFuture<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 java.util.concurrent.CompletableFuture<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 java.util.concurrent.CompletableFuture<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 java.util.concurrent.CompletableFuture<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 java.util.concurrent.CompletableFuture<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.util.concurrent.CompletableFuture<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.util.concurrent.CompletableFuture<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 java.util.concurrent.CompletableFuture<java.lang.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 java.util.concurrent.CompletableFuture<java.lang.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 java.util.concurrent.CompletableFuture<java.lang.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 java.util.concurrent.CompletableFuture<java.lang.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 java.util.concurrent.CompletableFuture<java.lang.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 java.util.concurrent.CompletableFuture<java.lang.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 java.util.concurrent.CompletableFuture<java.lang.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 java.util.concurrent.CompletableFuture<java.lang.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 java.util.concurrent.CompletableFuture<java.lang.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)
-
-