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