Package-level declarations

Types

Link copied to clipboard
public final class AccountScreenRequest

Information for account screening by Expedia's Fraud Prevention Service.

Link copied to clipboard
public final class AccountScreenResponse

Response for an account transaction provided by Expedia's Fraud Prevention Service.

Link copied to clipboard

Indicates that a bad request occurred. Typically it is an invalid parameter.

Link copied to clipboard
Link copied to clipboard

Information about a user's account.

Link copied to clipboard
public final class AccountTakeoverDeviceDetails

Information specific to the Partner's device through which a transaction was made.

Link copied to clipboard
public final class AccountTakeoverError

The object used to describe an error, containing both human-readable and machine-readable information.

Link copied to clipboard

Fraud recommendation for an account transaction. A recommendation can be ACCEPT, CHALLENGE, or REJECT. - ACCEPT - Represents an account transaction where the user’’s account activity is accepted. - CHALLENGE - Represents an account transaction that requires additional verification or challenges the user’’s identity (example: CAPTCHA, MULTI_FACTOR_AUTHENTICATION, etc). - REJECT - Represents a suspicious account transaction where the user’’s credentials or their behavior requires us to block the account activity. Values: ACCEPT,CHALLENGE,REJECT

Link copied to clipboard
public final class AccountTakeoverName

Group of attributes intended to hold information about a customer or traveler''s name for the account.

Link copied to clipboard
public final class AccountTakeoverSiteInfo

Information specific to the Partner's website through which a transaction was made.

Link copied to clipboard

The transaction_type field value is used as a discriminator, with the following mapping: * LOGIN: LoginTransactionDetails

Link copied to clipboard

Indicates that the token sent in the 'Authorization' header is either invalid or missing. Please check the value in the token field along with the token expiration time before retrying.

Link copied to clipboard
public final class AccountTransaction

Information for an account transaction.

Link copied to clipboard
public final class AccountUpdateNotFoundError

Indicates that the API cannot find the resource that is either being requested or against which the operation is being performed.

Link copied to clipboard
public interface AccountUpdateRequest

The type field value is used as a discriminator, with the following mapping: * MULTI_FACTOR_AUTHENTICATION_UPDATE: MultiFactorAuthenticationUpdate * REMEDIATION_UPDATE: RemediationUpdate

Link copied to clipboard
public final class AccountUpdateResponse
Link copied to clipboard
public final class Activity implements TravelProduct
Link copied to clipboard
public final class ActivityAllOf
Link copied to clipboard
public final class Address
Link copied to clipboard
public final class Air implements TravelProduct
Link copied to clipboard
public final class AirAllOf
Link copied to clipboard
public final class AirSegment
Link copied to clipboard
public final class Amount
Link copied to clipboard
public final class Authorize

Authorize operation on the payment. An authorize operation represents placing the funds on hold with the specified form of payment.

Link copied to clipboard
public final class AuthorizeReversal

Authorize Reversal operation on the payment. An authorize reversal operation represents a notification received usually from a 3rd party payment processor to indicate that an authorization hold should be released as a result of a sale being partially or completely cancelled.

Link copied to clipboard
public final class AvailablePolicy
Link copied to clipboard
public final class BadGatewayError

Indicates that the server received an invalid response from the upstream server. Causes could be incorrectly configured target server at gateway, EOF exception, incorrectly configured keep-alive timeouts. Please reach out to support team as next step for this error resolution.

Link copied to clipboard
public final class BadRequestError

Indicates that a bad request occurred. Typically it is an invalid parameter.

Link copied to clipboard
public final class BadRequestErrorAllOf
Link copied to clipboard
public final class BadRequestErrorAllOfCauses
Link copied to clipboard
public final class CancellationReason

Reason of order update cancellation.

Link copied to clipboard
public final class Capture

Capture operation on the payment. A capture operation represents a notification received usually from a 3rd party payment processor to indicate that the funds placed on hold will be captured and the funds transfer process will occur from the customer's funds to the merchant's funds.

Link copied to clipboard
public final class Car implements TravelProduct
Link copied to clipboard
public final class CarAllOf
Link copied to clipboard
public final class ChallengeDetail

Information related to challenges initiated by the Partner's system to a user before calling Expedia's Fraud Prevention Service.

Link copied to clipboard
public final class ChargebackDetail

Details related to the chargeback.

Link copied to clipboard
public final class ChargebackFeedback implements OrderPurchaseUpdateRequest

Feedback from EG external partners if they receive a chargeback for a false negative recommendation from Fraud Prevention system.

Link copied to clipboard
public final class ChargebackFeedbackAllOf
Link copied to clipboard
public final class Coordinates

This field signifies the precise geographical coordinates denoting the location of the activity.

Link copied to clipboard
public final class CreditCard implements Payment
Link copied to clipboard
public final class CreditCardAllOf
Link copied to clipboard
public final class Cruise implements TravelProduct
Link copied to clipboard
public final class CruiseAllOf
Link copied to clipboard
public final class CurrentUserSession

The current user session prior to this transaction, which contains details related to any challenge initiated by the Partner''s system to a user before calling Expedia''s Fraud Prevention Service. An example is if the Partner''s system sent a Captcha challenge to the user before calling Expedia''s Fraud Prevention Service.

Link copied to clipboard
public final class CustomerAccount
Link copied to clipboard
public final class CustomerAccountAddress
Link copied to clipboard
public final class DelayedFulfillment

This field holds details about activity's capabilities and execution details related to inventory hold functionality.

Link copied to clipboard
public final class DeviceDetails
Link copied to clipboard
public final class DirectDebit implements Payment
Link copied to clipboard
public final class DirectDebitAllOf
Link copied to clipboard
public final class Email

Group of attributes intended to hold information about email address associated with the transaction.

Link copied to clipboard
public final class Error

The object used to describe an error, containing both human-readable and machine-readable information.

Link copied to clipboard
public final class ForbiddenError

Indicates that the API cannot fulfill the request because while the client is correctly authenticated, the client doesn't have the permission to execute the specified operation. This error type does not imply that the request is valid, or that the resource against which the operation being performed exists or satisfies other pre-conditions.

Link copied to clipboard
public enum FraudDecision extends Enum<FraudDecision>

Values: ACCEPT,REVIEW,REJECT

Link copied to clipboard
public final class GatewayTimeoutError

Indicates that the API gateway has issues completing the request on time. Request can be retried if it is idempotent, If the issue persists, please reach out to support. For non-idempotent requests, please reach out to to know the status of your request before attempting retries.

Link copied to clipboard
public final class GiftCard implements Payment
Link copied to clipboard
public final class GiftCardAllOf
Link copied to clipboard
public final class Hotel implements TravelProduct
Link copied to clipboard
public final class HotelAddress

Address of a hotel.

Link copied to clipboard
public final class HotelAllOf
Link copied to clipboard
public final class InsultDetail

Details related to the insult.

Link copied to clipboard
public final class InsultFeedback implements OrderPurchaseUpdateRequest

Feedback from EG external partners regarding a false positive recommendation that from Fraud Prevention system gave for their customer.

Link copied to clipboard
public final class InsultFeedbackAllOf
Link copied to clipboard
public final class Insurance implements TravelProduct
Link copied to clipboard
public final class InternalServerError

Indicates that the API encountered an unexpected condition that prevented it from fulfilling the request. Sometimes used as a generic catch-allerror type when no other error types can be used. Retrying the same request will usually result in the same error. Please reach out to support team as next step for this error resolution.

Link copied to clipboard
public final class InternetBankPayment implements Payment
Link copied to clipboard
public final class InternetBankPaymentAllOf
Link copied to clipboard
public final class IssuedRefundUpdate implements RefundUpdate

Data related to the issued refund that should be updated.

Link copied to clipboard
public final class IssuedRefundUpdateAllOf
Link copied to clipboard
public final class IssuedRefundUpdateDetails

Data that describes issued refund that should be updated.

Link copied to clipboard
Link copied to clipboard
public final class LoginTransactionDetailsAllOf

Specific information about a login transaction for a user.

Link copied to clipboard

Information specific to the update event by a user.

Link copied to clipboard

Information specific to a user's response to a Multi-Factor Authentication initiated by the Partner's system as a result of a fraud recommendation.

Link copied to clipboard
public final class Name

Group of attributes intended to hold information about a customer or traveler's name for the order.

Link copied to clipboard
public final class NotFoundError

Indicates that the API cannot find the resource that is either being requested or against which the operation is being performed. Please check the request again to make sure that the request is valid.

Link copied to clipboard
public final class Operations

All operations related to a payment throughout its lifespan. An operation represents an event external to Fraud Prevention Service that specifies to perform a payment operation. Possible operation types include: - Verify - Authorize - AuthorizeReversal - Capture - Refund

Link copied to clipboard
public final class OrderPurchaseScreenRequest
Link copied to clipboard
public final class OrderPurchaseScreenResponse
Link copied to clipboard
public final class OrderPurchaseTransaction
Link copied to clipboard

Indicates that the API cannot find the resource that is either being requested or against which the operation is being performed.

Link copied to clipboard

The type field value is used as a discriminator, with the following mapping: * ORDER_UPDATE: OrderUpdate * CHARGEBACK_FEEDBACK: ChargebackFeedback * INSULT_FEEDBACK: InsultFeedback * REFUND_UPDATE: RefundUpdate * PAYMENT_UPDATE: PaymentUpdate

Link copied to clipboard
public final class OrderPurchaseUpdateResponse
Link copied to clipboard
public final class OrderUpdate implements OrderPurchaseUpdateRequest

Order related data that should be updated.

Link copied to clipboard
public final class OrderUpdateAllOf
Link copied to clipboard
public interface Payment

The method field value is used as a discriminator, with the following mapping: * CREDIT_CARD: CreditCard * PAYPAL: PayPal * POINTS: Points * GIFT_CARD: GiftCard * INTERNET_BANK_PAYMENT: InternetBankPayment * DIRECT_DEBIT: DirectDebit * THIRD_PARTY_PROVIDER : `THIRD_PARTY_PROVIDER ``

Link copied to clipboard
public final class PaymentBillingAddress
Link copied to clipboard
public enum PaymentMethod extends Enum<PaymentMethod>

The payment method used at the time of purchase for the transaction. Supported method's are: CREDIT_CARD, PAYPAL, POINTS, GIFT_CARD, INTERNET_BANK_PAYMENT, DIRECT_DEBIT, THIRD_PARTY_PROVIDER. Values: CREDIT_CARD,PAYPAL,POINTS,GIFT_CARD,INTERNET_BANK_PAYMENT,DIRECT_DEBIT,THIRD_PARTY_PROVIDER

Link copied to clipboard
public final class PaymentOperation
Link copied to clipboard
public final class PaymentOutcome
Link copied to clipboard
public enum PaymentReason extends Enum<PaymentReason>

The reason of payment. Possible values: - FULL - If the amount is paid i full for the order - DEPOSIT - The initial payment. Amount to be paid up front. - SCHEDULED - The amount to be payment based on a schedule for the remaining portion of the booking amount. - SUBSEQUENT - An additional amount paid that was not originally scheduled. - DEFERRED Values: FULL,DEPOSIT,SCHEDULED,SUBSEQUENT,DEFERRED

Link copied to clipboard
public enum PaymentStatus extends Enum<PaymentStatus>

The status of the payment operation. Values: COMPLETED,FAILED

Link copied to clipboard
public final class PaymentThreeDSCriteria

Payment ThreeDS criteria attributes.

Link copied to clipboard
public final class PaymentUpdate implements OrderPurchaseUpdateRequest

Payment related data that should be updated.

Link copied to clipboard
public final class PaymentUpdateAllOf
Link copied to clipboard
public final class PayPal implements Payment
Link copied to clipboard
public final class PayPalAllOf
Link copied to clipboard
public final class Points implements Payment
Link copied to clipboard
public final class PointsAllOf
Link copied to clipboard
public final class Rail implements TravelProduct
Link copied to clipboard
public final class RailAllOf
Link copied to clipboard
public final class RailSegments
Link copied to clipboard
public final class RailSegmentsOperatingCompany

This attribute captures the name or identifier of the company responsible for operating the Rail product. It represents the specific operating entity, such as Amtrak, British Railways, or a bus company.

Link copied to clipboard
public final class RailwayStationDetails
Link copied to clipboard
public final class Refund

Refund operation on the payment. A refund operation represents the intent to refund a previous charge.

Link copied to clipboard
public interface RefundUpdate implements OrderPurchaseUpdateRequest

Refund related data. Update should be sent when refund is issued or settled. Amounts should include all fees and taxes.

Link copied to clipboard
public final class RefundUpdateAllOf
Link copied to clipboard
public final class RemediationUpdate implements AccountUpdateRequest

Information specific to remediation actions initiated by the Partner's system to a user as a result of a fraud recommendation.

Link copied to clipboard
public final class RemediationUpdateAction

Information specific to the remediation action initiated by the Partner's system to a user.

Link copied to clipboard
public final class RemediationUpdateAllOf
Link copied to clipboard

Indicates that the API is either down for maintenance or overloaded and cannot fulfill the request at the current time. This is a temporary error and retrying the same request after a certain delay could eventually result in success. There will be a Retry-After HTTP header in API response specifying how long to wait to retry the request. If there is no Retry-After HTTP header then retry can happen immediately. If the error persists after retrying with delay, please reach out to .\"

Link copied to clipboard

Indicates that the API is either down for maintenance or overloaded and cannot fulfill the request at the current time. This is a temporary error and retrying the same request after a certain delay could eventually result in success. There will be a Retry-After HTTP header in API response specifying how long to wait to retry the request. If there is no Retry-After HTTP header then retry can happen immediately. If the error persists after retrying with delay, please reach out to .\"

Link copied to clipboard
public final class ServiceUnavailableError

Indicates that the API is either down for maintenance or overloaded and cannot fulfill the request at the current time. This is a temporary error and retrying the same request after a certain delay could eventually result in success. There will be a Retry-After HTTP header in API response specifying how long to wait to retry the request. If there is no Retry-After HTTP header then retry can happen immediately. If the error persists after retrying with delay, please reach out to .\"

Link copied to clipboard
public final class SettledRefundUpdate implements RefundUpdate

Data related to the settled refund that should be updated.

Link copied to clipboard
public final class SettledRefundUpdateAllOf
Link copied to clipboard
public final class SettledRefundUpdateDetails

Data that describes settled refund that should be updated.

Link copied to clipboard
public final class SiteInfo
Link copied to clipboard
public enum Status extends Enum<Status>

Defines the current state of the Order. Generally, OrderPurchaseScreenRequest is followed by an OrderUpdate reflecting the change in current order status. From IN_PROGRESS to any of below possible values: * COMPLETED is used when the order has been processed fully. For example, inventory has been reserved, and the payment has been settled. * CHANGE_COMPLETED is like COMPLETED but on a changed order. * CANCELLED is used when the order is cancelled. This could be acustomer initiated cancel or based on Fraud recommendation. * FAILED is used when order failed due to any errors on Partner system. This could be followed by another OrderUpdate call with any order_status once the order is recovered, abandoned, or cancelled. * CHANGE_FAILED is like FAILED but on a changed order. * * CHANGE_COMPLETED or CHANGE_FAILED are applicable if OrderPurchaseScreen Fraud API was called via a change in order which is through transaction.transaction_details.order_type = CHANGE * COMPLETED or CANCELLED order status indicates the completion of lifecycle on an order. Values: COMPLETED,CHANGE_COMPLETED,CANCELLED,FAILED,CHANGE_FAILED

Link copied to clipboard
public final class SupplyProvider
Link copied to clipboard
public final class Telephone

Group of attributes intended to hold information about phone number associated with the transaction. A user can have one to many phone numbers (home, work, mobile, etc.).

Link copied to clipboard

Classification of the phone platform. Values: MOBILE,LANDLINE,VOIP

Link copied to clipboard
public enum TelephoneType extends Enum<TelephoneType>

Classification of the phone (e.g. Home, Mobile). Values: HOME,MOBILE,BUSINESS,FAX,OTHER

Link copied to clipboard
public final class ThirdPartyProvider implements Payment

The third party payment provider used for the transaction. Supported third party payment platforms are: Stripe

Link copied to clipboard
public final class ThirdPartyProviderAllOf
Link copied to clipboard
public final class ThirdPartyProviderDetails

Third party payment provider details

Link copied to clipboard
public final class Ticket
Link copied to clipboard
public final class TooManyRequestsError

Indicates that the API cannot fulfill the request because server resources have been exhausted. Perhaps the client has sent too many requests in a given amount of time or has reached some specific quota. Please check the rate limits for the product and adjust as necessary before retries. If you believe the rate limit was incorrect or if you need a different rate limit, please reach out to the regarding the next steps.

Link copied to clipboard
public final class TransactionDetails
Link copied to clipboard
public final class Traveler
Link copied to clipboard
public interface TravelProduct

The type field value is used as a discriminator, with the following mapping: * CRUISE: Cruise * AIR: Air * CAR: Car * INSURANCE: Insurance * HOTEL: Hotel * RAIL: Rail * ACTIVITY: Activity

Link copied to clipboard

Type of product. Values: CRUISE,AIR,CAR,INSURANCE,HOTEL,RAIL,ACTIVITY

Link copied to clipboard
public final class UnauthorizedError

Indicates that the token sent in the 'Authorization' header is either invalid or missing. Please check the value in the token field along with the token expiration time before retrying.

Link copied to clipboard
public enum UpdateType extends Enum<UpdateType>

Transaction type associated with the update event. Values: ORDER_UPDATE,CHARGEBACK_FEEDBACK,INSULT_FEEDBACK,REFUND_UPDATE,PAYMENT_UPDATE

Link copied to clipboard

The type of the verification used to verify the instrument. If the Card Verfication Value was provided to verify the credit card used for the transaction, type = CVV. Values: CVV,_3_DS

Link copied to clipboard
public final class Verify

A verify operation represents the intent to verify the payment associated with this transaction.

Link copied to clipboard
public final class VerifyAllOf