ApplePayConfiguration constructor

ApplePayConfiguration({
  1. List<CollectibleBillingData>? collectibleBillingData,
  2. required String merchantDisplayName,
})

Creates a new ApplePayConfiguration instance with the specified billing data types to collect and a merchant display name.

  • collectibleBillingData: An optional list of billing data fields that Apple Pay should collect.
  • merchantDisplayName: The name displayed to the user during checkout.

Implementation

ApplePayConfiguration({
  this.collectibleBillingData,
  required this.merchantDisplayName,
});