Class WebcargoEmbedClient


  • public class WebcargoEmbedClient
    extends java.lang.Object
    • 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)