Stay organized with collections
Save and categorize content based on your preferences.
Proto Definition
// Represents a fare with a breakdown of the different amounts that compose its// total price.messageFare{// Message to represent a fare breakdown.messageLineItem{// The line item type is used to provide a breakdown of the fare for display// to the user. If additional line item types are required please reach out// to the Google Transport team.enumLineItemType{BASE_FARE=1;SERVICE_CHARGE=2;TAXES=3;}LineItemTypeline_item_type=1;.google.type.Moneyamount=2;}// Total amount of the fare. This is equal to the sum of all the line items..google.type.Moneytotal_amount=1;// Details about the different parts that constitute the total amount. The// sum of all the line items must be equal to total_amount.repeatedLineItemline_items=2;}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-22 UTC."],[[["The `Fare` message represents a fare's total price, broken down into individual amounts."],["The `LineItem` message provides details for each part of the fare, categorized by `LineItemType` such as `BASE_FARE`, `SERVICE_CHARGE`, and `TAXES`."],["The `total_amount` field represents the overall cost of the fare and should be equal to the sum of all `line_items`."],["A `LineItemType` enum is used to categorize each line item within a fare breakdown, with examples including base fare, service charge, and taxes."],["The provided json sample shows the structure of a fare, including the total amount and a breakdown of the line items with their type and amount."]]],[]]