ReadyUI constructor

ReadyUI({
  1. required String checkoutId,
  2. required List<String> brandsName,
  3. String merchantIdApplePayIOS = "",
  4. String countryCodeApplePayIOS = "",
  5. String companyNameApplePayIOS = "",
  6. String themColorHexIOS = "",
  7. bool setStorePaymentDetailsMode = false,
  8. 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"],
});