PaymentSheetConfiguration constructor

const PaymentSheetConfiguration({
  1. String? orderId,
  2. String? purchaseIntentId,
  3. Uri? returnUrl,
  4. PaymentSheetAppearance appearance = const PaymentSheetAppearance(),
  5. PaymentSheetTelemetry telemetry = const PaymentSheetTelemetry(),
  6. PaymentSheetFeatures features = const PaymentSheetFeatures(),
})

Creates client-owned Checkout and presentation configuration.

Implementation

const PaymentSheetConfiguration({
  this.orderId,
  this.purchaseIntentId,
  this.returnUrl,
  this.appearance = const PaymentSheetAppearance(),
  this.telemetry = const PaymentSheetTelemetry(),
  this.features = const PaymentSheetFeatures(),
});