Class AsyncShipperContactInfoClient
- java.lang.Object
-
- com.chrt.api.resources.shippercontactinfo.AsyncShipperContactInfoClient
-
public class AsyncShipperContactInfoClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncShipperContactInfoClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.String>createOffPlatformV1(ShipperContactClientCreate1 request)Creates contact information for an off-platform shipper using connection info.java.util.concurrent.CompletableFuture<java.lang.String>createOffPlatformV1(ShipperContactClientCreate1 request, RequestOptions requestOptions)Creates contact information for an off-platform shipper using connection info.java.util.concurrent.CompletableFuture<java.lang.String>createOnPlatformV1(ShipperContactClientCreate1 request)Creates contact information for an on-platform shipper organization or user.java.util.concurrent.CompletableFuture<java.lang.String>createOnPlatformV1(ShipperContactClientCreate1 request, RequestOptions requestOptions)Creates contact information for an on-platform shipper organization or user.java.util.concurrent.CompletableFuture<java.lang.Boolean>deleteByIdV1(java.lang.String id)Deletes shipper contact information owned by the authenticated organization.java.util.concurrent.CompletableFuture<java.lang.Boolean>deleteByIdV1(java.lang.String id, RequestOptions requestOptions)Deletes shipper contact information owned by the authenticated organization.java.util.concurrent.CompletableFuture<ShipperContact1>getByIdV1(java.lang.String id)Retrieves a specific shipper contact by ID if authorized to access it.java.util.concurrent.CompletableFuture<ShipperContact1>getByIdV1(java.lang.String id, RequestOptions requestOptions)Retrieves a specific shipper contact by ID if authorized to access it.java.util.concurrent.CompletableFuture<ShipperContact1>getByJwtUserIdV1()Retrieves the authenticated user's own shipper contact information.java.util.concurrent.CompletableFuture<ShipperContact1>getByJwtUserIdV1(RequestOptions requestOptions)Retrieves the authenticated user's own shipper contact information.java.util.concurrent.CompletableFuture<java.util.List<ShipperContact1>>listByJwtOrgIdV1()Lists all shipper contacts created by the authenticated organization.java.util.concurrent.CompletableFuture<java.util.List<ShipperContact1>>listByJwtOrgIdV1(RequestOptions requestOptions)Lists all shipper contacts created by the authenticated organization.java.util.concurrent.CompletableFuture<java.util.List<ShipperContact1>>listByOffChrtShipperOrgIdV1(java.lang.String offChrtShipperOrgId)Lists all shipper contacts for a specific off-platform shipper connection.java.util.concurrent.CompletableFuture<java.util.List<ShipperContact1>>listByOffChrtShipperOrgIdV1(java.lang.String offChrtShipperOrgId, RequestOptions requestOptions)Lists all shipper contacts for a specific off-platform shipper connection.java.util.concurrent.CompletableFuture<java.util.List<ShipperContact1>>listCourierContactsByShipperOrgIdV1(java.lang.String shipperOrgId)Lists all shipper contacts accessible to the courier organization for a specific on-platform shipper.java.util.concurrent.CompletableFuture<java.util.List<ShipperContact1>>listCourierContactsByShipperOrgIdV1(java.lang.String shipperOrgId, RequestOptions requestOptions)Lists all shipper contacts accessible to the courier organization for a specific on-platform shipper.java.util.concurrent.CompletableFuture<java.lang.Boolean>updateV1(java.lang.String shipperContactInfoId)Updates existing shipper contact information owned by the authenticated organization.java.util.concurrent.CompletableFuture<java.lang.Boolean>updateV1(java.lang.String shipperContactInfoId, ShipperContactClientUpdate1 request)Updates existing shipper contact information owned by the authenticated organization.java.util.concurrent.CompletableFuture<java.lang.Boolean>updateV1(java.lang.String shipperContactInfoId, ShipperContactClientUpdate1 request, RequestOptions requestOptions)Updates existing shipper contact information owned by the authenticated organization.AsyncRawShipperContactInfoClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncShipperContactInfoClient
public AsyncShipperContactInfoClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawShipperContactInfoClient withRawResponse()
Get responses with HTTP metadata like headers
-
getByJwtUserIdV1
public java.util.concurrent.CompletableFuture<ShipperContact1> getByJwtUserIdV1()
Retrieves the authenticated user's own shipper contact information.
-
getByJwtUserIdV1
public java.util.concurrent.CompletableFuture<ShipperContact1> getByJwtUserIdV1(RequestOptions requestOptions)
Retrieves the authenticated user's own shipper contact information.
-
listByJwtOrgIdV1
public java.util.concurrent.CompletableFuture<java.util.List<ShipperContact1>> listByJwtOrgIdV1()
Lists all shipper contacts created by the authenticated organization.
-
listByJwtOrgIdV1
public java.util.concurrent.CompletableFuture<java.util.List<ShipperContact1>> listByJwtOrgIdV1(RequestOptions requestOptions)
Lists all shipper contacts created by the authenticated organization.
-
listCourierContactsByShipperOrgIdV1
public java.util.concurrent.CompletableFuture<java.util.List<ShipperContact1>> listCourierContactsByShipperOrgIdV1(java.lang.String shipperOrgId)
Lists all shipper contacts accessible to the courier organization for a specific on-platform shipper.
-
listCourierContactsByShipperOrgIdV1
public java.util.concurrent.CompletableFuture<java.util.List<ShipperContact1>> listCourierContactsByShipperOrgIdV1(java.lang.String shipperOrgId, RequestOptions requestOptions)
Lists all shipper contacts accessible to the courier organization for a specific on-platform shipper.
-
listByOffChrtShipperOrgIdV1
public java.util.concurrent.CompletableFuture<java.util.List<ShipperContact1>> listByOffChrtShipperOrgIdV1(java.lang.String offChrtShipperOrgId)
Lists all shipper contacts for a specific off-platform shipper connection.
-
listByOffChrtShipperOrgIdV1
public java.util.concurrent.CompletableFuture<java.util.List<ShipperContact1>> listByOffChrtShipperOrgIdV1(java.lang.String offChrtShipperOrgId, RequestOptions requestOptions)
Lists all shipper contacts for a specific off-platform shipper connection.
-
getByIdV1
public java.util.concurrent.CompletableFuture<ShipperContact1> getByIdV1(java.lang.String id)
Retrieves a specific shipper contact by ID if authorized to access it.
-
getByIdV1
public java.util.concurrent.CompletableFuture<ShipperContact1> getByIdV1(java.lang.String id, RequestOptions requestOptions)
Retrieves a specific shipper contact by ID if authorized to access it.
-
createOnPlatformV1
public java.util.concurrent.CompletableFuture<java.lang.String> createOnPlatformV1(ShipperContactClientCreate1 request)
Creates contact information for an on-platform shipper organization or user.
-
createOnPlatformV1
public java.util.concurrent.CompletableFuture<java.lang.String> createOnPlatformV1(ShipperContactClientCreate1 request, RequestOptions requestOptions)
Creates contact information for an on-platform shipper organization or user.
-
createOffPlatformV1
public java.util.concurrent.CompletableFuture<java.lang.String> createOffPlatformV1(ShipperContactClientCreate1 request)
Creates contact information for an off-platform shipper using connection info.
-
createOffPlatformV1
public java.util.concurrent.CompletableFuture<java.lang.String> createOffPlatformV1(ShipperContactClientCreate1 request, RequestOptions requestOptions)
Creates contact information for an off-platform shipper using connection info.
-
updateV1
public java.util.concurrent.CompletableFuture<java.lang.Boolean> updateV1(java.lang.String shipperContactInfoId)
Updates existing shipper contact information owned by the authenticated organization.
-
updateV1
public java.util.concurrent.CompletableFuture<java.lang.Boolean> updateV1(java.lang.String shipperContactInfoId, ShipperContactClientUpdate1 request)Updates existing shipper contact information owned by the authenticated organization.
-
updateV1
public java.util.concurrent.CompletableFuture<java.lang.Boolean> updateV1(java.lang.String shipperContactInfoId, ShipperContactClientUpdate1 request, RequestOptions requestOptions)Updates existing shipper contact information owned by the authenticated organization.
-
deleteByIdV1
public java.util.concurrent.CompletableFuture<java.lang.Boolean> deleteByIdV1(java.lang.String id)
Deletes shipper contact information owned by the authenticated organization.
-
deleteByIdV1
public java.util.concurrent.CompletableFuture<java.lang.Boolean> deleteByIdV1(java.lang.String id, RequestOptions requestOptions)Deletes shipper contact information owned by the authenticated organization.
-
-