PONativeAlternativePaymentMethodParameter

constructor(key: String, length: Int?, required: Boolean, @Json(name = "type") rawType: String, @Json(name = "display_name") displayName: String, @Json(name = "available_values") availableValues: List<PONativeAlternativePaymentMethodParameter.ParameterValue>?)

Parameters

key

Name of the field that needs to be collected for the request (e.g. blik_code).

length

Expected length of the field. Used for validation.

required

Indicates whether parameter is required or optional.

rawType

Raw parameter type.

displayName

Parameter’s localized name that could be displayed to user.

availableValues

Some types (e.g. single-select) can have a collection of pre-populated values that user can choose from.