public class MobileCommerceSdk
The entry point for the Mobile Commerce SDK. Sets the Square application ID and provides access to managers for all SDK operations.
| Constructor and Description |
|---|
MobileCommerceSdk(java.lang.String applicationId)
The entry point for the Mobile Commerce SDK. Sets the Square application ID and provides access
to managers for all SDK operations.
|
| Modifier and Type | Method and Description |
|---|---|
CardEntryManager |
cardEntryManager()
Returns the
MobileCommerceSdk.cardEntryManager for obtaining a card nonce using Square's card entry activity. |
GooglePayManager |
googlePayManager(android.app.Application application)
Returns the
MobileCommerceSdk.googlePayManager for obtaining a card nonce from a GooglePay token. |
public MobileCommerceSdk(java.lang.String applicationId)
The entry point for the Mobile Commerce SDK. Sets the Square application ID and provides access to managers for all SDK operations.
applicationId - the Square developer application ID used to obtain a card nonce.public CardEntryManager cardEntryManager()
Returns the MobileCommerceSdk.cardEntryManager for obtaining a card nonce using Square's card entry activity.
MobileCommerceSdk.cardEntryManagerpublic GooglePayManager googlePayManager(android.app.Application application)
Returns the MobileCommerceSdk.googlePayManager for obtaining a card nonce from a GooglePay token.
MobileCommerceSdk.googlePayManager