Package-level declarations

Types

Link copied to clipboard
sealed class BuyerAction

Indicates the action that will be performed onto the card payment source id after retrieving the verification token.

Link copied to clipboard

Lets the application retrieve a verification token for a payment source ID.

Link copied to clipboard

Represents the result of a BuyerVerification.verify operation. The result will be an instance of Success if the operation is successful or Error if the operation failed.

Link copied to clipboard
class Contact

This represents the required given name field and optional fields that can be passed in as part of the verification process. The more fields you supply, the greater the chance the verification will be successful.

Link copied to clipboard

Indicates the country associated with an entity, such as a business. Values are in ISO 3166-1-alpha-2 format.

Link copied to clipboard

Indicates the associated currency for a money amount . Values correspond to ISO 4217.

Link copied to clipboard
data class Money(val amount: Int, val currencyCode: Currency)

Amount to charge the card payment source ID in the specified currencyCode

Link copied to clipboard
sealed class SquareIdentifier
Link copied to clipboard
class VerificationParameters(val paymentSourceId: String, val action: BuyerAction, val squareIdentifier: SquareIdentifier, val contact: Contact)

Functions

Link copied to clipboard
inline fun BuyerVerification.handleActivityResult(data: Intent?, crossinline callback: (BuyerVerificationResult) -> Unit)