public class RideReceipt
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RideReceipt.Charge |
| Constructor and Description |
|---|
RideReceipt() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<RideReceipt.Charge> |
getChargeAdjustments()
Gets the adjustments made to the charges such as promotions, and fees.
|
java.lang.String |
getCurrencyCode()
Gets the ISO 4217 currency code.
|
java.lang.String |
getDistance()
Gets the distance of the trip charged.
|
java.lang.String |
getDistanceLabel()
Gets the localized unit of distance.
|
java.lang.String |
getDuration()
Gets the time duration of the trip in ISO 8601 HH:MM:SS format.
|
java.lang.String |
getRideId()
Gets the unique ID of the ride.
|
java.lang.String |
getSubTotal()
Gets the summation of the normal_fare and surge_charge.
|
java.lang.String |
getTotalCharged()
Gets the total amount charged to the users payment method.
|
java.lang.Float |
getTotalOwed()
Gets the total amount still owed after attempting to charge the user.
|
public java.lang.String getRideId()
public java.util.List<RideReceipt.Charge> getChargeAdjustments()
public java.lang.String getSubTotal()
public java.lang.String getTotalCharged()
@Nullable public java.lang.Float getTotalOwed()
null if amount was paid in full.@Nullable public java.lang.String getCurrencyCode()
public java.lang.String getDuration()
public java.lang.String getDistance()
public java.lang.String getDistanceLabel()