Class WebcargoEmbedClient
- java.lang.Object
-
- com.chrt.api.resources.integrations.webcargoembed.WebcargoEmbedClient
-
public class WebcargoEmbedClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description WebcargoEmbedClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebcargoEmbedResponsegetEmbedV1(java.lang.String taskGroupId, GetWebcargoEmbedReq request)Generates a WebCargo Sky Embed token for a FLIGHT task group.WebcargoEmbedResponsegetEmbedV1(java.lang.String taskGroupId, GetWebcargoEmbedReq request, RequestOptions requestOptions)Generates a WebCargo Sky Embed token for a FLIGHT task group.RawWebcargoEmbedClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
WebcargoEmbedClient
public WebcargoEmbedClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawWebcargoEmbedClient withRawResponse()
Get responses with HTTP metadata like headers
-
getEmbedV1
public WebcargoEmbedResponse getEmbedV1(java.lang.String taskGroupId, GetWebcargoEmbedReq request)
Generates a WebCargo Sky Embed token for a FLIGHT task group. Assembles cargo data from the task group's tasks and returns an embed URL for the booking widget. | (GetWebcargoEmbedReq) -> (WebcargoEmbedResponse)
-
getEmbedV1
public WebcargoEmbedResponse getEmbedV1(java.lang.String taskGroupId, GetWebcargoEmbedReq request, RequestOptions requestOptions)
Generates a WebCargo Sky Embed token for a FLIGHT task group. Assembles cargo data from the task group's tasks and returns an embed URL for the booking widget. | (GetWebcargoEmbedReq) -> (WebcargoEmbedResponse)
-
-