build

Returns an immutable instance of CreatePaymentRequest.

Further updates to this Builder will not mutate the returned instance.

The following fields are required:

.amount()
.externalBankAccountToken()
.financialAccountToken()
.method()
.methodAttributes()
.type()

Throws

if any required field is unset.