Class Transaction.PurchaseDetails.Flight

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.issuing.Transaction.PurchaseDetails.Flight
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Transaction.PurchaseDetails

public static class Transaction.PurchaseDetails.Flight extends StripeObject
  • Constructor Details

    • Flight

      public Flight()
  • Method Details

    • getDepartureAt

      public Long getDepartureAt()
      The time that the flight departed.
    • getPassengerName

      public String getPassengerName()
      The name of the passenger.
    • getRefundable

      public Boolean getRefundable()
      Whether the ticket is refundable.
    • getSegments

      The legs of the trip.
    • getTravelAgency

      public String getTravelAgency()
      The travel agency that issued the ticket.
    • setDepartureAt

      public void setDepartureAt(Long departureAt)
      The time that the flight departed.
    • setPassengerName

      public void setPassengerName(String passengerName)
      The name of the passenger.
    • setRefundable

      public void setRefundable(Boolean refundable)
      Whether the ticket is refundable.
    • setSegments

      public void setSegments(List<Transaction.PurchaseDetails.Flight.Segment> segments)
      The legs of the trip.
    • setTravelAgency

      public void setTravelAgency(String travelAgency)
      The travel agency that issued the ticket.
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object