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 Details

  • Constructor Details

    • OfferRequestBodyPrivateFare

      public OfferRequestBodyPrivateFare()
  • Method Details

    • corporateCode

      public OfferRequestBodyPrivateFare corporateCode(String corporateCode)
    • getCorporateCode

      @Nullable public String getCorporateCode()
      The corporate code provided to you by the airline.
      Returns:
      corporateCode
    • setCorporateCode

      public void setCorporateCode(String corporateCode)
    • trackingReference

      public OfferRequestBodyPrivateFare trackingReference(String trackingReference)
    • getTrackingReference

      @Nullable public String 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

      public void setTrackingReference(String trackingReference)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object