Class RawWebcargoEmbedClient
- java.lang.Object
-
- com.chrt.api.resources.integrations.webcargoembed.RawWebcargoEmbedClient
-
public class RawWebcargoEmbedClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawWebcargoEmbedClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChrtApiHttpResponse<WebcargoEmbedResponse>getEmbedV1(java.lang.String taskGroupId, GetWebcargoEmbedReq request)Generates a WebCargo Sky Embed token for a FLIGHT task group.ChrtApiHttpResponse<WebcargoEmbedResponse>getEmbedV1(java.lang.String taskGroupId, GetWebcargoEmbedReq request, RequestOptions requestOptions)Generates a WebCargo Sky Embed token for a FLIGHT task group.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
RawWebcargoEmbedClient
public RawWebcargoEmbedClient(ClientOptions clientOptions)
-
-
Method Detail
-
getEmbedV1
public ChrtApiHttpResponse<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 ChrtApiHttpResponse<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)
-
-