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