Class AsyncShipperPayCourierRateSheetsClient
- java.lang.Object
-
- com.chrt.api.resources.shipperpaycourierratesheets.AsyncShipperPayCourierRateSheetsClient
-
public class AsyncShipperPayCourierRateSheetsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncShipperPayCourierRateSheetsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.String>createV1(ShipperPayCourierRateSheetClientCreate1 request)Creates a new rate sheet for a courier to charge shippers.java.util.concurrent.CompletableFuture<java.lang.String>createV1(ShipperPayCourierRateSheetClientCreate1 request, RequestOptions requestOptions)Creates a new rate sheet for a courier to charge shippers.java.util.concurrent.CompletableFuture<java.lang.Boolean>deleteByIdV1(java.lang.String id)Deletes a rate sheet owned by the authenticated courier organization.java.util.concurrent.CompletableFuture<java.lang.Boolean>deleteByIdV1(java.lang.String id, RequestOptions requestOptions)Deletes a rate sheet owned by the authenticated courier organization.java.util.concurrent.CompletableFuture<ShipperPayCourierRateSheet1>getV1(java.lang.String id)Retrieves a single rate sheet by its ID (courier access only).java.util.concurrent.CompletableFuture<ShipperPayCourierRateSheet1>getV1(java.lang.String id, RequestOptions requestOptions)Retrieves a single rate sheet by its ID (courier access only).java.util.concurrent.CompletableFuture<java.util.List<ShipperPayCourierRateSheet1>>listByCourierOrgIdV1()Lists all rate sheets created by the authenticated courier organization.java.util.concurrent.CompletableFuture<java.util.List<ShipperPayCourierRateSheet1>>listByCourierOrgIdV1(RequestOptions requestOptions)Lists all rate sheets created by the authenticated courier organization.java.util.concurrent.CompletableFuture<ShipperPayCourierRateSheet1>updateByIdV1(java.lang.String id)Updates an existing rate sheet owned by the authenticated courier organization.java.util.concurrent.CompletableFuture<ShipperPayCourierRateSheet1>updateByIdV1(java.lang.String id, ShipperPayCourierRateSheetClientUpdate1 request)Updates an existing rate sheet owned by the authenticated courier organization.java.util.concurrent.CompletableFuture<ShipperPayCourierRateSheet1>updateByIdV1(java.lang.String id, ShipperPayCourierRateSheetClientUpdate1 request, RequestOptions requestOptions)Updates an existing rate sheet owned by the authenticated courier organization.AsyncRawShipperPayCourierRateSheetsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncShipperPayCourierRateSheetsClient
public AsyncShipperPayCourierRateSheetsClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawShipperPayCourierRateSheetsClient withRawResponse()
Get responses with HTTP metadata like headers
-
listByCourierOrgIdV1
public java.util.concurrent.CompletableFuture<java.util.List<ShipperPayCourierRateSheet1>> listByCourierOrgIdV1()
Lists all rate sheets created by the authenticated courier organization. | () -> (list[ShipperPayCourierRateSheet1])
-
listByCourierOrgIdV1
public java.util.concurrent.CompletableFuture<java.util.List<ShipperPayCourierRateSheet1>> listByCourierOrgIdV1(RequestOptions requestOptions)
Lists all rate sheets created by the authenticated courier organization. | () -> (list[ShipperPayCourierRateSheet1])
-
createV1
public java.util.concurrent.CompletableFuture<java.lang.String> createV1(ShipperPayCourierRateSheetClientCreate1 request)
Creates a new rate sheet for a courier to charge shippers. | (ShipperPayCourierRateSheetClientCreate1) -> (PydanticObjectId)
-
createV1
public java.util.concurrent.CompletableFuture<java.lang.String> createV1(ShipperPayCourierRateSheetClientCreate1 request, RequestOptions requestOptions)
Creates a new rate sheet for a courier to charge shippers. | (ShipperPayCourierRateSheetClientCreate1) -> (PydanticObjectId)
-
getV1
public java.util.concurrent.CompletableFuture<ShipperPayCourierRateSheet1> getV1(java.lang.String id)
Retrieves a single rate sheet by its ID (courier access only). | () -> (ShipperPayCourierRateSheet1)
-
getV1
public java.util.concurrent.CompletableFuture<ShipperPayCourierRateSheet1> getV1(java.lang.String id, RequestOptions requestOptions)
Retrieves a single rate sheet by its ID (courier access only). | () -> (ShipperPayCourierRateSheet1)
-
deleteByIdV1
public java.util.concurrent.CompletableFuture<java.lang.Boolean> deleteByIdV1(java.lang.String id)
Deletes a rate sheet owned by the authenticated courier organization. | () -> (bool)
-
deleteByIdV1
public java.util.concurrent.CompletableFuture<java.lang.Boolean> deleteByIdV1(java.lang.String id, RequestOptions requestOptions)Deletes a rate sheet owned by the authenticated courier organization. | () -> (bool)
-
updateByIdV1
public java.util.concurrent.CompletableFuture<ShipperPayCourierRateSheet1> updateByIdV1(java.lang.String id)
Updates an existing rate sheet owned by the authenticated courier organization. | (ShipperPayCourierRateSheetClientUpdate1) -> (ShipperPayCourierRateSheet1)
-
updateByIdV1
public java.util.concurrent.CompletableFuture<ShipperPayCourierRateSheet1> updateByIdV1(java.lang.String id, ShipperPayCourierRateSheetClientUpdate1 request)
Updates an existing rate sheet owned by the authenticated courier organization. | (ShipperPayCourierRateSheetClientUpdate1) -> (ShipperPayCourierRateSheet1)
-
updateByIdV1
public java.util.concurrent.CompletableFuture<ShipperPayCourierRateSheet1> updateByIdV1(java.lang.String id, ShipperPayCourierRateSheetClientUpdate1 request, RequestOptions requestOptions)
Updates an existing rate sheet owned by the authenticated courier organization. | (ShipperPayCourierRateSheetClientUpdate1) -> (ShipperPayCourierRateSheet1)
-
-