InlineCheckout constructor

InlineCheckout({
  1. String? apiKeyTonder,
  2. String? returnUrl,
  3. String? successUrl,
  4. bool renderPaymentButton = false,
  5. void callBack(
    1. dynamic params
    ) = fn,
  6. List<String>? platforms,
  7. Map<String, Style>? inputStyles,
  8. Map<String, Style>? labelStyles,
  9. Map<String, Style>? errorTextStyles,
})

Implementation

InlineCheckout({
  this.apiKeyTonder,
  this.returnUrl,
  this.successUrl,
  this.renderPaymentButton = false,
  this.callBack = fn,
  this.platforms,
  this.inputStyles,
  this.labelStyles,
  this.errorTextStyles,
}) {
  process3ds = ThreeDsHandler(
    apiKey: apiKeyTonder,
    baseUrl: baseUrl,
    successUrl: successUrl,
  );
  liteSdkTonder = LiteCheckout('https://stage.tonder.io', apiKeyTonder ?? "");
}