getAgreementClauseAnnotated

Agreement clause text.

This clause needs to be visible to the shopper before initializing the payment.

This method is intended to use with Compose framework. For View based project use Checkout.getAgreementClauseSpannable.

Example usage:

Text(
text = Volt.getAgreementClauseAnnotated(urlColor = Color.Blue),
color = Color.Black,
textAlign = TextAlign.Center,
)

Return

AnnotatedString

Parameters

urlColor

highlight color of url part of the clause text, if not specified default value will be used