create Fragment
public final PaymentFragment createFragment(String iban, String recipient, String amount, String purpose, PaymentFlowConfiguration flowConfiguration)
Creates and returns the PaymentFragment. Checks if iban, recipient, amount and purpose are empty and throws IllegalStateException if any of them are.
Parameters
iban
the iban of the recipient
recipient
amount
the amount to be paid
purpose
the purpose of the payment
flow Configuration
optional parameter with the PaymentFlowConfiguration