Pay Service
class PayService(apiKey: String, client: OkHttpClient, backendUrl: String) : ServiceBase
Content copied to clipboard
Constructors
PayService
Link copied to clipboard
PayService
Link copied to clipboard
PayService
Link copied to clipboard
Functions
create
Link copied to clipboard
generatePainFile
Link copied to clipboard
getPainFile
Link copied to clipboard
getRefundPayout
Link copied to clipboard
getReport
Link copied to clipboard
fun getReport(transactionId: String, reportId: String, format: ReportFormat = ReportFormat.JSON, locale: ReportLocale = ReportLocale.EN): Any
Content copied to clipboard
list
Link copied to clipboard
fun list(senderHolder: String? = null, senderIban: String? = null, senderBic: String? = null, senderAccountNumber: String? = null, senderBankCode: String? = null, senderCountryId: String? = null, recipientHolder: String? = null, recipientIban: String? = null, recipientBic: String? = null, recipientCountryId: String? = null, amount: Float? = null, purpose: String? = null, perPage: Int? = null, page: Int? = null, from: OffsetDateTime? = null, to: OffsetDateTime? = null): PayObjectList
Content copied to clipboard
listRefundPayouts
Link copied to clipboard
fun listRefundPayouts(perPage: Int = 15, page: Int = 1): RefundPayoutObjectList
Content copied to clipboard
updatePaymentStatus
Link copied to clipboard
fun updatePaymentStatus(transactionId: String, statusToSet: PaymentStatus): PayObject
Content copied to clipboard