Class ShipperClient
- java.lang.Object
-
- com.chrt.api.resources.notifications.shipper.ShipperClient
-
public class ShipperClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description ShipperClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShipperNotificationPreferences1getPreferencesV1()Retrieves notification preferences for the caller's shipper organization.ShipperNotificationPreferences1getPreferencesV1(RequestOptions requestOptions)Retrieves notification preferences for the caller's shipper organization.java.lang.StringupsertPreferencesV1(ShipperNotificationPreferencesClientCreate1 request)Creates or updates notification preferences for the caller's shipper organization.java.lang.StringupsertPreferencesV1(ShipperNotificationPreferencesClientCreate1 request, RequestOptions requestOptions)Creates or updates notification preferences for the caller's shipper organization.RawShipperClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
ShipperClient
public ShipperClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawShipperClient withRawResponse()
Get responses with HTTP metadata like headers
-
getPreferencesV1
public ShipperNotificationPreferences1 getPreferencesV1()
Retrieves notification preferences for the caller's shipper organization. | () -> (ShipperNotificationPreferences1)
-
getPreferencesV1
public ShipperNotificationPreferences1 getPreferencesV1(RequestOptions requestOptions)
Retrieves notification preferences for the caller's shipper organization. | () -> (ShipperNotificationPreferences1)
-
upsertPreferencesV1
public java.lang.String upsertPreferencesV1(ShipperNotificationPreferencesClientCreate1 request)
Creates or updates notification preferences for the caller's shipper organization. | (ShipperNotificationPreferencesClientCreate1) -> (PydanticObjectId)
-
upsertPreferencesV1
public java.lang.String upsertPreferencesV1(ShipperNotificationPreferencesClientCreate1 request, RequestOptions requestOptions)
Creates or updates notification preferences for the caller's shipper organization. | (ShipperNotificationPreferencesClientCreate1) -> (PydanticObjectId)
-
-