setCreditCard

fun setCreditCard(creditCard: CreditCard, domain: String, saveCard: Boolean = false, rocText: String? = null): CreditCardPayment.Builder

Function responsible for setting credit card information.

Parameters

creditCard

credit card data

domain

merchant domain name

saveCard

if true, credit card token will be generated and sent to notification url defined in Notifications

rocText

custom identifier for settlement