public abstract static class TollCost.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
abstract TollCost |
build() |
abstract TollCost.Builder |
currency(java.lang.String currency) |
abstract TollCost.Builder |
paymentMethods(PaymentMethods paymentMethods) |
T |
unrecognizedJsonProperties(java.util.Map<java.lang.String,com.google.gson.JsonElement> unrecognizedProperties)
Use this method to add parameters which are not present in the model yet but are supported
on the Directions API side in the response.
|
@NonNull public abstract TollCost.Builder currency(@Nullable java.lang.String currency)
@NonNull public abstract TollCost.Builder paymentMethods(@Nullable PaymentMethods paymentMethods)
@NonNull public abstract TollCost build()
@NonNull
public T unrecognizedJsonProperties(@Nullable
java.util.Map<java.lang.String,com.google.gson.JsonElement> unrecognizedProperties)
unrecognizedProperties - parameters to add to request