# GoogleRidesharingConsumer Framework Reference

# GMTSTerminalLocation

    @interface GMTSTerminalLocation : https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTCImmutableData.html

Object representing information that identifies a terminal location.
- `


  ### [point](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSTerminalLocation#/c:objc(cs)GMTSTerminalLocation(py)point)


  ` The point location of the terminal.

  #### Declaration

  Swift

      @NSCopying var point: https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSLatLng.html? { get }

  Objective-C

      @property (nonatomic, copy, readonly, nullable) https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSLatLng.html *point;

- `


  ### [terminalLocationLabel](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSTerminalLocation#/c:objc(cs)GMTSTerminalLocation(py)terminalLocationLabel)


  ` Human-readable name of the terminal location.

  #### Declaration

  Swift

      var terminalLocationLabel: String? { get }

  Objective-C

      @property (nonatomic, copy, readonly, nullable) NSString *terminalLocationLabel;

- `


  ### [terminalLocationDescription](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSTerminalLocation#/c:objc(cs)GMTSTerminalLocation(py)terminalLocationDescription)


  ` A longer description of the terminal location, which may include how to get to the location.

  #### Declaration

  Swift

      var terminalLocationDescription: String? { get }

  Objective-C

      @property (nonatomic, copy, readonly, nullable) NSString *terminalLocationDescription;

- `


  ### [placeID](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSTerminalLocation#/c:objc(cs)GMTSTerminalLocation(py)placeID)


  ` The Place ID of the terminal point.
  Refer to <https://developers.google.com/places/web-service/place-id> for more detail.

  #### Declaration

  Swift

      var placeID: String? { get }

  Objective-C

      @property (nonatomic, copy, readonly, nullable) NSString *placeID;

- `


  ### [generatedID](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSTerminalLocation#/c:objc(cs)GMTSTerminalLocation(py)generatedID)


  ` A generated ID if the place ID is not available. The ID is nil if there is already a valid place
  ID.

  #### Declaration

  Swift

      var generatedID: String? { get }

  Objective-C

      @property (nonatomic, copy, readonly, nullable) NSString *generatedID;

- `


  ### [accessPointID](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSTerminalLocation#/c:objc(cs)GMTSTerminalLocation(py)accessPointID)


  ` Indicates the access point ID of the current terminal location for the associated trip.
  If an associated trip does not exist, the value is nil. Requires an associated trip.

  #### Declaration

  Swift

      var accessPointID: String? { get }

  Objective-C

      @property (nonatomic, copy, readonly, nullable) NSString *accessPointID;

- `


  ### [-initWithPoint:label:description:placeID:generatedID:accessPointID:](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSTerminalLocation#/c:objc(cs)GMTSTerminalLocation(im)initWithPoint:label:description:placeID:generatedID:accessPointID:)


  ` Initializes an instance of `GMTSTerminalLocation`.

  #### Declaration

  Swift

      init(point: https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSLatLng.html?, label terminalLocationLabel: String?, description terminalLocationDescription: String?, placeID: String?, generatedID: String?, accessPointID: String?)

  Objective-C

      - (nonnull instancetype)initWithPoint:(nullable https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSLatLng.html *)point
                                      label:(nullable NSString *)terminalLocationLabel
                                description:
                                    (nullable NSString *)terminalLocationDescription
                                    placeID:(nullable NSString *)placeID
                                generatedID:(nullable NSString *)generatedID
                              accessPointID:(nullable NSString *)accessPointID;

  #### Parameters

  |---|---|
  | ` point ` | The point location of the terminal. |
  | ` terminalLocationLabel ` | Human-readable name of the terminal location. |
  | ` terminalLocationDescription ` | A longer description of the terminal location, which may include how to get to the location. |
  | ` placeID ` | The Place ID of the terminal point. |
  | ` generatedID ` | A generated ID if the place ID is not available. |
  | ` accessPointID ` | An access point ID of the current terminal location from the associated trip. |

- `


  ### [-init](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSTerminalLocation#/c:objc(cs)GMTSTerminalLocation(im)init)


  ` Unavailable
  Use `https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSTerminalLocation.html#/c:objc(cs)GMTSTerminalLocation(im)initWithPoint:label:description:placeID:generatedID:accessPointID:`
  instead.

  #### Declaration

  Objective-C

      - (nonnull instancetype)init;