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