Builder

Class responsible for building BLIKPayment.

Constructors

Link copied to clipboard
fun Builder()

Functions

Link copied to clipboard
open override fun build(): BLIKPayment
Link copied to clipboard

Function adding BLIK alias to request. Use only registered aliases. This method overrides payment information set by setBLIKCode and setBLIKCodeAndRegisterAlias methods.

Link copied to clipboard

Function adding 6-digit BLIK code to request. This method overrides payment information set by setBLIKAlias and setBLIKCodeAndRegisterAlias methods.

Link copied to clipboard

Function adding 6-digit BLIK code and a BlikAlias to register after successful payment. Use any alias. Using a registered alias will give user a chance to register it in a another bank. This method overrides payment information set by setBLIKCode and setBLIKAlias methods.

Link copied to clipboard
fun setCallbacks(redirects: Redirects? = null, notifications: Notifications? = null): BLIKPayment.Builder

Function adding redirect and notification urls using Redirects and Notifications classes to payment.

Link copied to clipboard

Function adding payer information to payment using Payer class.

Link copied to clipboard

Function adding payment information like amount or description using PaymentDetails class.