invoke

operator fun invoke(attributeIndex: Int): PayPalButtonLabel

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

Throws

when an invalid index is provided.