getBookingReceipt

@Deprecated(message = "Use execute method instead", replaceWith = @ReplaceWith(imports = {}, expression = "execute(operation: GetBookingReceiptOperation)"))
public final InputStream getBookingReceipt(String customerIp, String itineraryId, String token, String customerSessionId, GetBookingReceiptOperationParams.Test test, GetBookingReceiptOperationParams.Branding branding)
@Deprecated(message = "Use execute method instead", replaceWith = @ReplaceWith(imports = {}, expression = "execute(operation: GetBookingReceiptOperation)"))
public final InputStream getBookingReceipt(String customerIp, String itineraryId, String token, String customerSessionId, GetBookingReceiptOperationParams.Test test)
@Deprecated(message = "Use execute method instead", replaceWith = @ReplaceWith(imports = {}, expression = "execute(operation: GetBookingReceiptOperation)"))
public final InputStream getBookingReceipt(String customerIp, String itineraryId, String token, String customerSessionId)
@Deprecated(message = "Use execute method instead", replaceWith = @ReplaceWith(imports = {}, expression = "execute(operation: GetBookingReceiptOperation)"))
public final InputStream getBookingReceipt(String customerIp, String itineraryId, String token)

Deprecated

Use execute method instead

Replace with

execute(operation: GetBookingReceiptOperation)

Booking Receipt A link to the booking receipt will be provided in the retrieve response if partner configuration enabled. This endpoint will provide a PDF representation of a booking receipt that can be presented to a traveler for expense tracking purposes.

Return

java.io.InputStream

Parameters

customerIp

IP address of the customer, as captured by your integration.
Ensure your integration passes the customer's IP, not your own. This value helps determine their location and assign the correct payment gateway.
Also used for fraud recovery and other important analytics.

itineraryId

This path variable will be provided as part of the link. This specifies which itinerary the booking receipt request pertains to.

token

Provided as part of the link object and used to maintain state across calls. This simplifies each subsequent call by limiting the amount of information required at each step and reduces the potential for errors. Token values cannot be viewed or changed.

customerSessionId

Insert your own unique value for each user session, beginning with the first API call. Continue to pass the same value for each subsequent API call during the user's session, using a new value for every new customer session.
Including this value greatly eases EPS's internal debugging process for issues with partner requests, as it explicitly links together request paths for individual user's session. (optional)

test

The booking receipt call has a test header that can be used to return set responses with the following keywords: * standard * service_unavailable * internal_server_error (optional)

branding

This parameter specifies which branding should be present on the generated PDF. Default behavior will be to provide the booking receipt with expedia_group branding. Some partner configurations may change the default to unbranded. (optional)

Throws