Package com.duffel.sdk.model
Class OfferRequestBodyPrivateFare
java.lang.Object
com.duffel.sdk.model.OfferRequestBodyPrivateFare
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-16T15:26:22.356688490+07:00[Asia/Bangkok]")
public class OfferRequestBodyPrivateFare
extends Object
A private fare for a specific airline. One of `corporate_code` or `tracking_reference` must be provided
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncorporateCode(String corporateCode) booleanThe corporate code provided to you by the airline.Tracking reference agreed with the airline.inthashCode()voidsetCorporateCode(String corporateCode) voidsetTrackingReference(String trackingReference) toString()trackingReference(String trackingReference)
-
Field Details
-
JSON_PROPERTY_CORPORATE_CODE
- See Also:
-
JSON_PROPERTY_TRACKING_REFERENCE
- See Also:
-
-
Constructor Details
-
OfferRequestBodyPrivateFare
public OfferRequestBodyPrivateFare()
-
-
Method Details
-
corporateCode
-
getCorporateCode
The corporate code provided to you by the airline.- Returns:
- corporateCode
-
setCorporateCode
-
trackingReference
-
getTrackingReference
Tracking reference agreed with the airline. This value is to identify your business and is usually business number or agency id.- Returns:
- trackingReference
-
setTrackingReference
-
equals
-
hashCode
public int hashCode() -
toString
-