PaymentSheetConfiguration constructor

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

Creates client-owned Checkout and presentation configuration.

Implementation

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