public abstract static class PaymentMethods.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
abstract PaymentMethods |
build() |
abstract PaymentMethods.Builder |
cash(CostPerVehicleSize cash) |
abstract PaymentMethods.Builder |
etc(CostPerVehicleSize etc) |
abstract PaymentMethods.Builder |
etc2(CostPerVehicleSize etc2) |
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 PaymentMethods.Builder etc(@Nullable CostPerVehicleSize etc)
@NonNull public abstract PaymentMethods.Builder etc2(@Nullable CostPerVehicleSize etc2)
@NonNull public abstract PaymentMethods.Builder cash(@Nullable CostPerVehicleSize cash)
@NonNull public abstract PaymentMethods build()
@NonNull
public T unrecognizedJsonProperties(@Nullable
java.util.Map<java.lang.String,com.google.gson.JsonElement> unrecognizedProperties)
unrecognizedProperties - parameters to add to request