Skip navigation links
B E F G I M P S T 

B

build() - Method in class mp.PaymentRequest.PaymentRequestBuilder
Generates a PaymentRequest object using the data specified.

E

enablePaymentBroadcast(Context, String) - Static method in class mp.MpUtils
Enables the PAYMENT_STATUS_CHANGED broadcast.

F

fetchPaymentData(Context, String, String) - Static method in class mp.MpUtils
Allows the application to query the latest "small" XML payment data for a service and store it on device to be available offline.

G

getBillingStatus() - Method in class mp.PaymentResponse
Indicates the transaction status.
getCreditAmount() - Method in class mp.PaymentResponse
Amount of credits paid for by the user (if the user buys "15 crystals" then this value is "15").
getCreditName() - Method in class mp.PaymentResponse
Name of the credits paid for by the user (in case of "15 crystals" this would be "crystals").
getDate() - Method in class mp.PaymentResponse
 
getFetchedPriceData(Context, String, String) - Static method in class mp.MpUtils
Returns the latest service price data that is stored on device and available offline.
getLocalNonConsumablePaymentStatus(Context, String, String) - Static method in class mp.MpUtils
Returns non-consumable item purchase status as it is stored on the device.
getMessageId() - Method in class mp.PaymentResponse
Message id of the transaction.
getNonConsumablePaymentStatus(Context, String, String, String) - Static method in class mp.MpUtils
Returns the purchase status of a non-consumable item .
getPaymentCode() - Method in class mp.PaymentResponse
Returns payment code specific to the end-user's device.
getPaymentResponse(Context, long) - Static method in class mp.MpUtils
Allows the application to query message status later.
NB: This method might make a http request to Fortumo servers and can take considerable amount of time, avoid calling it in UI thread.
getPriceAmount() - Method in class mp.PaymentResponse
Amount paid by the user in a fractional format (X.YZ).
NB: Please note that this value will not be present if payment is made for a non-consumable product for which the customer has already paid for.
getPriceCurrency() - Method in class mp.PaymentResponse
ISO 4217 currency code (like USD, EUR...).
getProductName() - Method in class mp.PaymentResponse
getProductType() - Method in class mp.PaymentResponse
Either MpUtils.TYPE_CONSUMABLE, MpUtils.TYPE_NON_CONSUMABLE or MpUtils.TYPE_SUBSCRIPTIONS
getPurchaseHistory(Context, String, String, int) - Static method in class mp.MpUtils
Returns the list of purchased non-consumable items.
getServiceId() - Method in class mp.PaymentResponse
Returns Service ID this message was sent for.
getUserId() - Method in class mp.PaymentResponse
Returns the user ID.

I

isPaymentBroadcastEnabled(Context) - Static method in class mp.MpUtils
 
isSupportedOperator(Context, String, String) - Static method in class mp.MpUtils
Allows the application to query if user's carrier is supported by Fortumo.
isSupportedOperator(Context, String, String, long) - Static method in class mp.MpUtils
Allows the application to query if user's carrier is supported by Fortumo.

M

MESSAGE_STATUS_BILLED - Static variable in class mp.MpUtils
Constant value for message billing status indicating that payment was successful.
MESSAGE_STATUS_FAILED - Static variable in class mp.MpUtils
Constant value for message billing status indicating that payment failed.
MESSAGE_STATUS_NOT_SENT - Static variable in class mp.MpUtils
Constant value for message billing status indicating that no payment has been made.
MESSAGE_STATUS_PENDING - Static variable in class mp.MpUtils
Constant value for message billing status indicating that payment is still pending.
mp - package mp
 
MpUtils - Class in mp
A helper class for querying enduser's purchase history or to figure out if this enduser is using an operator that is supported by Fortumo.

P

PAYMENT_STATUS_CHANGED - Static variable in class mp.MpUtils
Action for status change intents, to be used in the manifest.
PaymentRequest - Class in mp
A data object required to make a new payment.
PaymentRequest.PaymentRequestBuilder - Class in mp
A builder class to make PaymentRequest objects.
PaymentRequestBuilder() - Constructor for class mp.PaymentRequest.PaymentRequestBuilder
 
PaymentResponse - Class in mp
Data object which holds all the relevant information regarding a mobile payment through Fortumo.
PaymentResponse() - Constructor for class mp.PaymentResponse
 
PaymentResponse(Message) - Constructor for class mp.PaymentResponse
 
PRODUCT_TYPE_CONSUMABLE - Static variable in class mp.MpUtils
Constant value for consumables.
PRODUCT_TYPE_NON_CONSUMABLE - Static variable in class mp.MpUtils
Constant value for non-consumables, which can only purchased once.
PRODUCT_TYPE_SUBSCRIPTION - Static variable in class mp.MpUtils
Constant value for subscription services.

S

setColours(CustomDialogColours) - Method in class mp.PaymentRequest.PaymentRequestBuilder
 
setCreditsMultiplier(double) - Method in class mp.PaymentRequest.PaymentRequestBuilder
Multiplies amount of credits by some coefficient.
setDisplayString(String) - Method in class mp.PaymentRequest.PaymentRequestBuilder
Allows you to display a specific string to the user in the payment dialog.
setIcon(int) - Method in class mp.PaymentRequest.PaymentRequestBuilder
Allows you to change icon at payment dialog.
setMsisdn(String) - Method in class mp.PaymentRequest.PaymentRequestBuilder
Allows to prefill customer's phone number.
setPriceAmount(String) - Method in class mp.PaymentRequest.PaymentRequestBuilder
Allows you to override the price amount.
setPriceCurrency(String) - Method in class mp.PaymentRequest.PaymentRequestBuilder
Allows you to override the price currency.
setProductName(String) - Method in class mp.PaymentRequest.PaymentRequestBuilder
Use this method to specify your product identification for the nonconsumable payment.
setService(String, String) - Method in class mp.PaymentRequest.PaymentRequestBuilder
 
setType(int) - Method in class mp.PaymentRequest.PaymentRequestBuilder
Specify the product type.

T

toIntent(Context) - Method in class mp.PaymentRequest
 
B E F G I M P S T 
Skip navigation links