Skip navigation links
A B C E G H I M O S T 

A

addCardEntryActivityCallback(callback) - Method in class com.squareup.mcomm.CardEntryManager
Adds a callback to handle the result of the card entry activity.
addCardEntryActivityCallback(callback) - Method in class com.squareup.mcomm.CardEntryManager
Adds a callback to handle the result of the card entry activity.
addCreateNonceCallback(callback) - Method in class com.squareup.mcomm.GooglePayManager
Adds a callback to handle the result of a GooglePayManager.createNonce request.
addCreateNonceCallback(callback) - Method in class com.squareup.mcomm.GooglePayManager
Adds a callback to handle the result of a GooglePayManager.createNonce request.

B

Brand() - Constructor for enum com.squareup.mcomm.Card.Brand
The brand (for example, VISA) of a card.

C

Callback<R> - Interface in com.squareup.mcomm
Communicates the result of an asynchronous operation. Callback.onResult will be invoked exactly once per operation.
CallbackReference - Interface in com.squareup.mcomm
A reference to a interface Callback that can be cleared to prevent memory leaks.
Card - Class in com.squareup.mcomm
Represents the non-confidential details of a card.
Card(brand, lastFourDigits, expirationMonth, expirationYear, postalCode) - Constructor for class com.squareup.mcomm.Card
Represents the non-confidential details of a card.
Card.Brand - Enum in com.squareup.mcomm
The brand (for example, VISA) of a card.
CardEntryActivityCallback - Interface in com.squareup.mcomm
A callback that handles the result of a card entry activity. A successful result contains a class CardEntryActivityResult.Success. If the user cancels before the card entry is complete, the result contains a class CardEntryActivityResult.Canceled.
CardEntryActivityResult - Class in com.squareup.mcomm
Represents the result of a CardEntryManager.startCardEntryActivity request. The result will be an instance of class CardEntryActivityResult.Success if the request is successful, or class CardEntryActivityResult.Canceled if the user canceled the request.
CardEntryActivityResult.Canceled - Class in com.squareup.mcomm
The result when the user canceled the Square card entry activity before a card was successfully entered.
CardEntryActivityResult.Success - Class in com.squareup.mcomm
Represents the result of a successful CardEntryManager.startCardEntryActivity request.
CardEntryManager - Class in com.squareup.mcomm
Lets the application collect card information and exchange it for a Square card nonce using Square's card entry activity.
CardEntryManager() - Constructor for class com.squareup.mcomm.CardEntryManager
Lets the application collect card information and exchange it for a Square card nonce using Square's card entry activity.
cardEntryManager() - Method in class com.squareup.mcomm.MobileCommerceSdk
Returns the MobileCommerceSdk.cardEntryManager for obtaining a card nonce using Square's card entry activity.
CardResult - Class in com.squareup.mcomm
Represents the result of a successful request to process card payment information. Contains the Square nonce of a card and the non-confidential card details.
CardResult(nonce, card) - Constructor for class com.squareup.mcomm.CardResult
Represents the result of a successful request to process card payment information. Contains the Square nonce of a card and the non-confidential card details.
clear() - Method in interface com.squareup.mcomm.CallbackReference
 
Code() - Constructor for enum com.squareup.mcomm.Error.Code
Possible error codes that can be returned as a result of attempting to create a card nonce.
com.squareup.mcomm - package com.squareup.mcomm
 
component1() - Method in class com.squareup.mcomm.Card
The brand
component1() - Method in class com.squareup.mcomm.CardEntryActivityResult.Success
Contains the nonce and additional
component1() - Method in class com.squareup.mcomm.CardResult
A one-time-use payment token that can be used with the Square Connect APIs
component1() - Method in class com.squareup.mcomm.CreateNonceResult.Error
Provides the error code.
component1() - Method in class com.squareup.mcomm.CreateNonceResult.Success
Contains the nonce and additional
component2() - Method in class com.squareup.mcomm.Card
The last 4 digits of this card
component2() - Method in class com.squareup.mcomm.CardResult
Non-confidential details about the entered card,
component2() - Method in class com.squareup.mcomm.CreateNonceResult.Error
Provides a displayable message that summarizes the possible cause of the error.
component3() - Method in class com.squareup.mcomm.Card
The expiration month of the card.
component3() - Method in class com.squareup.mcomm.CreateNonceResult.Error
Provides a more detailed error code for troubleshooting.
component4() - Method in class com.squareup.mcomm.Card
The four-digit expiration year of the card.
component4() - Method in class com.squareup.mcomm.CreateNonceResult.Error
Provides a human-readable message containing additional debug
component5() - Method in class com.squareup.mcomm.Card
The billing postal code associated with the card.
copy(brand, lastFourDigits, expirationMonth, expirationYear, postalCode) - Method in class com.squareup.mcomm.Card
Represents the non-confidential details of a card.
copy(cardResult) - Method in class com.squareup.mcomm.CardEntryActivityResult.Success
Represents the result of a successful CardEntryManager.startCardEntryActivity request.
copy(nonce, card) - Method in class com.squareup.mcomm.CardResult
Represents the result of a successful request to process card payment information. Contains the Square nonce of a card and the non-confidential card details.
copy(code, message, debugCode, debugMessage) - Method in class com.squareup.mcomm.CreateNonceResult.Error
Represents an error when the GooglePayManager.createNonce request was not successful.
copy(cardResult) - Method in class com.squareup.mcomm.CreateNonceResult.Success
Represents the result of a successful GooglePayManager.createNonce request.
createNonce(token) - Method in class com.squareup.mcomm.GooglePayManager
Asynchronously creates a card nonce with a Google Pay token.
CreateNonceCallback - Interface in com.squareup.mcomm
A callback that handles the result of a GooglePayManager.createNonce request. The result contains a class CreateNonceResult.Success if the request was successful or a class CreateNonceResult.Error if there was an error.
CreateNonceResult - Class in com.squareup.mcomm
Represents the result of a GooglePayManager.createNonce request. The result will be an instance of class CreateNonceResult.Success if the request is successful or class CreateNonceResult.Error if the request failed.
CreateNonceResult.Error - Class in com.squareup.mcomm
Represents an error when the GooglePayManager.createNonce request was not successful.
CreateNonceResult.Success - Class in com.squareup.mcomm
Represents the result of a successful GooglePayManager.createNonce request.

E

equals(p) - Method in class com.squareup.mcomm.Card
 
equals(p) - Method in class com.squareup.mcomm.CardEntryActivityResult.Success
 
equals(p) - Method in class com.squareup.mcomm.CardResult
 
equals(p) - Method in class com.squareup.mcomm.CreateNonceResult.Error
 
equals(p) - Method in class com.squareup.mcomm.CreateNonceResult.Success
 
Error(code, message, debugCode, debugMessage) - Constructor for class com.squareup.mcomm.CreateNonceResult.Error
Represents an error when the GooglePayManager.createNonce request was not successful.
Error.Code - Enum in com.squareup.mcomm
Possible error codes that can be returned as a result of attempting to create a card nonce.

G

getBrand() - Method in class com.squareup.mcomm.Card
The brand
getCard() - Method in class com.squareup.mcomm.CardResult
Non-confidential details about the entered card,
getCardResult() - Method in class com.squareup.mcomm.CardEntryActivityResult.Success
Contains the nonce and additional
getCardResult() - Method in class com.squareup.mcomm.CreateNonceResult.Success
Contains the nonce and additional
getCode() - Method in class com.squareup.mcomm.CreateNonceResult.Error
Provides the error code.
getDebugCode() - Method in class com.squareup.mcomm.CreateNonceResult.Error
Provides a more detailed error code for troubleshooting.
getDebugMessage() - Method in class com.squareup.mcomm.CreateNonceResult.Error
Provides a human-readable message containing additional debug
getExpirationMonth() - Method in class com.squareup.mcomm.Card
The expiration month of the card.
getExpirationYear() - Method in class com.squareup.mcomm.Card
The four-digit expiration year of the card.
getLastFourDigits() - Method in class com.squareup.mcomm.Card
The last 4 digits of this card
getMessage() - Method in class com.squareup.mcomm.CreateNonceResult.Error
Provides a displayable message that summarizes the possible cause of the error.
getNonce() - Method in class com.squareup.mcomm.CardResult
A one-time-use payment token that can be used with the Square Connect APIs
getPostalCode() - Method in class com.squareup.mcomm.Card
The billing postal code associated with the card.
getSuccessValue() - Method in class com.squareup.mcomm.CardEntryActivityResult
 
getSuccessValue() - Method in class com.squareup.mcomm.CreateNonceResult
The result of a successful GooglePayManager.createNonce request.
GooglePayManager - Class in com.squareup.mcomm
Lets the application create a Square card nonce from a Google Pay token.
GooglePayManager() - Constructor for class com.squareup.mcomm.GooglePayManager
Lets the application create a Square card nonce from a Google Pay token.
googlePayManager(application) - Method in class com.squareup.mcomm.MobileCommerceSdk
Returns the MobileCommerceSdk.googlePayManager for obtaining a card nonce from a GooglePay token.

H

hashCode() - Method in class com.squareup.mcomm.Card
 
hashCode() - Method in class com.squareup.mcomm.CardEntryActivityResult.Success
 
hashCode() - Method in class com.squareup.mcomm.CardResult
 
hashCode() - Method in class com.squareup.mcomm.CreateNonceResult.Error
 
hashCode() - Method in class com.squareup.mcomm.CreateNonceResult.Success
 

I

INSTANCE - Static variable in class com.squareup.mcomm.CardEntryActivityResult.Canceled
The result when the user canceled the Square card entry activity before a card was successfully entered.
isCanceled() - Method in class com.squareup.mcomm.CardEntryActivityResult
 
isError() - Method in class com.squareup.mcomm.CreateNonceResult
True if the GooglePayManager.createNonce request resulted in an error.
isSuccess() - Method in class com.squareup.mcomm.CardEntryActivityResult
 
isSuccess() - Method in class com.squareup.mcomm.CreateNonceResult
True if the GooglePayManager.createNonce request was successful. See CreateNonceResult.getSuccessValue for the result.

M

MobileCommerceSdk - Class in com.squareup.mcomm
The entry point for the Mobile Commerce SDK. Sets the Square application ID and provides access to managers for all SDK operations.
MobileCommerceSdk(applicationId) - Constructor for class com.squareup.mcomm.MobileCommerceSdk
The entry point for the Mobile Commerce SDK. Sets the Square application ID and provides access to managers for all SDK operations.

O

onResult(result) - Method in interface com.squareup.mcomm.Callback
 

S

startCardEntryActivity(context) - Method in class com.squareup.mcomm.CardEntryManager
Starts an activity that lets the application collect card information and exchange it for a Square card nonce using Square's card entry activity.
Success(cardResult) - Constructor for class com.squareup.mcomm.CardEntryActivityResult.Success
Represents the result of a successful CardEntryManager.startCardEntryActivity request.
Success(cardResult) - Constructor for class com.squareup.mcomm.CreateNonceResult.Success
Represents the result of a successful GooglePayManager.createNonce request.

T

toString() - Method in class com.squareup.mcomm.Card
 
toString() - Method in class com.squareup.mcomm.CardEntryActivityResult.Success
 
toString() - Method in class com.squareup.mcomm.CardResult
 
toString() - Method in class com.squareup.mcomm.CreateNonceResult.Error
 
toString() - Method in class com.squareup.mcomm.CreateNonceResult.Success
 
A B C E G H I M O S T 
Skip navigation links