Skip to content

Commit 1d74ad9

Browse files
authored
fix: #2173 add billing address config to google pay (#2192)
1 parent b0d2c6d commit 1d74ad9

File tree

3 files changed

+77
-13
lines changed

3 files changed

+77
-13
lines changed

packages/stripe_platform_interface/lib/src/models/platform_pay.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,9 @@ class GooglePayParams with _$GooglePayParams {
251251
///
252252
/// Defaults to true.
253253
bool? allowCreditCards,
254+
255+
/// Describes the configuration for billing address collection in the Google Pay sheet.
256+
GooglePayBillingAddressConfig? billingAddressConfig,
254257
}) = _GooglePayParams;
255258

256259
factory GooglePayParams.fromJson(Map<String, dynamic> json) =>

packages/stripe_platform_interface/lib/src/models/platform_pay.freezed.dart

Lines changed: 69 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/stripe_platform_interface/lib/src/models/platform_pay.g.dart

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)