Package com.stripe.model.issuing
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
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The time that the flight departed.The name of the passenger.Whether the ticket is refundable.The legs of the trip.The travel agency that issued the ticket.int
hashCode()
void
setDepartureAt
(Long departureAt) The time that the flight departed.void
setPassengerName
(String passengerName) The name of the passenger.void
setRefundable
(Boolean refundable) Whether the ticket is refundable.void
The legs of the trip.void
setTravelAgency
(String travelAgency) The travel agency that issued the ticket.Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Flight
public Flight()
-
-
Method Details
-
getDepartureAt
The time that the flight departed. -
getPassengerName
The name of the passenger. -
getRefundable
Whether the ticket is refundable. -
getSegments
The legs of the trip. -
getTravelAgency
The travel agency that issued the ticket. -
setDepartureAt
The time that the flight departed. -
setPassengerName
The name of the passenger. -
setRefundable
Whether the ticket is refundable. -
setSegments
The legs of the trip. -
setTravelAgency
The travel agency that issued the ticket. -
equals
-
canEqual
-
hashCode
public int hashCode()
-