buttonType property
Button type: Determines the text and behavior of the button
Use constants from MFButtonType:
- MFButtonType.PAY (default): Standard payment button
- MFButtonType.BUY: For purchases
- MFButtonType.BOOK: For bookings
- MFButtonType.CHECKOUT: For checkout flows
- MFButtonType.DONATE: For donations
- MFButtonType.ORDER: For orders
- MFButtonType.SUBSCRIBE: For subscriptions
- MFButtonType.PLAIN: Minimal button design
Implementation
final int buttonType;