-
- All Implemented Interfaces:
public interface IParkingPaymentServiceProvider
This interface defines the payment data related methods that are requested for a proper running of the parking service. Client is responsible to provide an implementation of this interface.
-
-
Method Summary
Modifier and Type Method Description abstract CommerceResponse<String>
pay(PriceInfo priceInfo, String orderId, String clientSecret)
This method will return the status of the confirm payment action. abstract Boolean
hasPaymentCard()
This method should confirm if the user has a payment card. abstract String
getCard()
This method should retrieve the user com.telenav.commerce.models.Card -
-
Method Detail
-
pay
abstract CommerceResponse<String> pay(PriceInfo priceInfo, String orderId, String clientSecret)
This method will return the status of the confirm payment action.
- Parameters:
priceInfo
- the PriceInfo of the current parking orderorderId
- the id of the current parking orderclientSecret
- a temporary token which facilitates the validation of the user in the P97 database
-
hasPaymentCard
abstract Boolean hasPaymentCard()
This method should confirm if the user has a payment card.
-
-
-
-