Instance Property

paymentAmount

The amount paid or still outstanding for the ride.

Declaration

@property(readonly, strong, nonatomic) INCurrencyAmount *paymentAmount;

Discussion

When you use the completedWithSettledPaymentAmount: method to create instances of this class, this property stores the final amount paid by the user for the ride. When you use the completedWithOutstandingPaymentAmount: method to create instances of this class, this property stores any unpaid costs that your app and must settle.

Use the outstanding property to determine if the user still needs to pay the amount in this property.

See Also

Getting the Status Information

completed

A Boolean value indicating whether the ride completed successfully.

canceled

A Boolean value indicating whether someone canceled the ride for any reason.

missedPickup

A Boolean value indicating whether someone canceled the ride because the user was never picked up.

outstanding

A Boolean indicating whether payment is still outstanding.