invoke

operator fun invoke(attributeIndex: Int): PaymentButtonShape

Given an attributeIndex this will provide the correct PaymentButtonShape. If an invalid attributeIndex is provided then it will throw an IllegalArgumentException.

Throws

when an invalid index is provided.