ReadyUI constructor
ReadyUI({
- required String checkoutId,
- required List<
String> brandsName, - String merchantIdApplePayIOS = "",
- String countryCodeApplePayIOS = "",
- String companyNameApplePayIOS = "",
- String themColorHexIOS = "",
- bool setStorePaymentDetailsMode = false,
- List<
String> supportedNetworksApplePayIOS = const ["visa", "masterCard", "mada"],
Creates a ReadyUI configuration.
checkoutId and brandsName are required. Apple Pay fields are only
used on iOS and can be omitted on Android.
Implementation
ReadyUI({
required this.checkoutId,
required this.brandsName,
this.merchantIdApplePayIOS = "",
this.countryCodeApplePayIOS = "",
this.companyNameApplePayIOS = "",
this.themColorHexIOS = "",
this.setStorePaymentDetailsMode = false,
this.supportedNetworksApplePayIOS = const ["visa", "masterCard", "mada"],
});