# 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.

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.