Quy cách về tình trạng còn hàng
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Định nghĩa Proto
messageAvailability{oneofavailability_status{// The ticket is available.Availableavailable=1;// The ticket is unavailable.Unavailableunavailable=2;}}// Message representing how many seats are still available in the specified// service class.// Partners can:// - provide exact numbers for available, and optionally total seats// - provide a relative availability estimate// - leave the message empty, if all they only know is that at least one seat is// still availablemessageAvailable{// The number of remaining seats.// This is optional. You can pass an empty Available message to just indicate// that at least one seat is available.int32available_seat_count=1;// The total number of seats.int32total_seat_count=2;// An estimate for the relative number of available seats.enumAvailabilityEstimate{// > 70% of total seats are still availableMANY_SEATS_AVAILABLE=1;// 30-70% of total seats are still availableHALF_OF_SEATS_AVAILABLE=2;// 10-30% of total seats are still availableFAIR_NUMBER_OF_SEATS_AVAILABLE=3;// 5 - 10% of total seats are still availableFEW_SEATS_AVAILABLE=4;// < 5% of seats are still availableVERY_FEW_SEATS_AVAILABLE=5;}AvailabilityEstimateavailability_estimate=3;}messageUnavailable{// Different reasons why a ticket could be unavailable.enumReason{// All tickets in this ServiceClass have been booked.BOOKED=1;// This particular service (e.g. train) was extraordinarily canceled.// Permanent service changes should be communicated via GTFS.CANCELED=2;// The trip cannot be priced nor sold at the moment.TEMPORARILY_UNAVAILABLE=3;}Reasonreason=1;}
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-11-10 UTC."],[],[]]