CustomerRepository
interface CustomerRepository
Functions
Link copied to clipboard
abstract suspend fun addBalance(request: AddBalanceRequest, idempotencyKey: IdempotencyKey? = null): ApiResult<BalanceUpdate>
Link copied to clipboard
abstract suspend fun addPaymentMethod(customerId: String, paymentMethodType: AddPaymentMethodType, idempotencyKey: IdempotencyKey? = null): ApiResult<PaymentMethod>
Link copied to clipboard
abstract suspend fun createVirtualCard(customerId: String, idempotencyKey: IdempotencyKey? = null): ApiResult<VirtualCard>
Link copied to clipboard
abstract suspend fun deletePaymentMethod(customerId: String, paymentMethodId: String, idempotencyKey: IdempotencyKey? = null): ApiResult<Unit>
Link copied to clipboard
abstract suspend fun getAutoReloadConfiguration(customerId: String): ApiResult<AutoReloadConfiguration>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun getTransactions(customerId: String, cursor: String? = null): ApiResult<TransactionResult>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun provisionVirtualCard(request: ProvisioningRequest, idempotencyKey: IdempotencyKey? = null): ApiResult<Provisioning>
Link copied to clipboard
abstract suspend fun setAutoReloadConfiguration(request: AutoReloadConfigurationRequest, idempotencyKey: IdempotencyKey? = null): ApiResult<AutoReloadConfiguration>
Link copied to clipboard
abstract suspend fun useBalance(request: UseBalanceRequest, idempotencyKey: IdempotencyKey? = null): ApiResult<BalanceUpdate>