quantlib.payoffs.PlainVanillaPayoff.option_type

PlainVanillaPayoff.option_type

Exposes the internal option type.

The type can be converted to str using the OptionType enum.