# Package-level declarations

Helpers for Kotlin idiomatic code.

## Types

AuthorizeResult
Link copied to clipboard
typealias AuthorizeResult = Result<AuthorizedLocation, AuthorizeErrorCode>

Type Alias for Authorization Result, used by AuthorizationManager.authorize.

GetAllIdempotencyKeysResult
Link copied to clipboard
typealias GetAllIdempotencyKeysResult = Result<List<PaymentManager.IdempotencyKeyData>, PaymentErrorCode>

Type Alias for the Result of PaymentManager.getAllIdempotencyKeys.

GetIdempotencyKeyResult
Link copied to clipboard
typealias GetIdempotencyKeyResult = Result<String?, PaymentErrorCode>

Type Alias for the Result of PaymentManager.getIdempotencyKey.

GetOfflinePaymentsResult
Link copied to clipboard
typealias GetOfflinePaymentsResult = Result<List<Payment.OfflinePayment>, PaymentErrorCode>

Type Alias for the Result of OfflinePaymentQueue.getPayments.

GetTotalStoredPaymentAmountResult
Link copied to clipboard
typealias GetTotalStoredPaymentAmountResult = Result<Money, PaymentErrorCode>

Type Alias for the Result of OfflinePaymentQueue.getTotalStoredPaymentAmount.

PairingResult
Link copied to clipboard
typealias PairingResult = Result<Boolean, PairingErrorCode>

Type Alias for Pairing Result, used by ReaderManager.pairReader.

PaymentResult
Link copied to clipboard
typealias PaymentResult = Result<Payment, PaymentErrorCode>

Type Alias for Payment Result, used by PaymentManager.startPaymentActivity.

SettingsResult
Link copied to clipboard
typealias SettingsResult = Result<SettingsClosed, SettingsErrorCode>

Type Alias for the Result of SettingsManager.showSettings.