Notification

public final class Notification

A notification.

Parameters

eventId

Unique identifier for each message

eventType

An indication of what event caused the notification. This value can be used for message handling and routing. Refer to the list of event types for more information.

eventTime

Timestamp of the event notification, in UTC

itineraryId

The Itinerary ID of the affected booking

email

The customer e-mail address associated with the affected itinerary

message

Description of event notification

affiliateReferenceId

The Affiliate Reference ID of the affected booking

Constructors

Link copied to clipboard
public Notification Notification(String eventId, String eventType, String eventTime, String itineraryId, String email, String message, String affiliateReferenceId)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final String affiliateReferenceId
Link copied to clipboard
@Valid()
private final String email
Link copied to clipboard
@Valid()
private final String eventId
Link copied to clipboard
@Valid()
private final String eventTime
Link copied to clipboard
@Valid()
private final String eventType
Link copied to clipboard
@Valid()
private final String itineraryId
Link copied to clipboard
@Valid()
private final String message

Functions

Link copied to clipboard
public final static Notification.Builder builder()
Link copied to clipboard
Link copied to clipboard
public final String getEmail()
Link copied to clipboard
public final String getEventId()
Link copied to clipboard
public final String getEventTime()
Link copied to clipboard
public final String getEventType()
Link copied to clipboard
public final String getItineraryId()
Link copied to clipboard
public final String getMessage()