Closed wooj-stripe closed 1 month ago
⚠️ Public API changes detected:
+ @objc public var allowRedisplay: StripePayments.STPPaymentMethodAllowRedisplay
- @objc convenience public init(card: StripePayments.STPPaymentMethodCardParams, billingDetails: StripePayments.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?)
+ @objc convenience public init(card: StripePayments.STPPaymentMethodCardParams, billingDetails: StripePayments.STPPaymentMethodBillingDetails?, allowRedisplay: StripePayments.STPPaymentMethodAllowRedisplay = .unspecified, metadata: [Swift.String : Swift.String]?)
- @objc convenience public init(usBankAccount: StripePayments.STPPaymentMethodUSBankAccountParams, billingDetails: StripePayments.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?)
+ @objc convenience public init(usBankAccount: StripePayments.STPPaymentMethodUSBankAccountParams, billingDetails: StripePayments.STPPaymentMethodBillingDetails, allowRedisplay: StripePayments.STPPaymentMethodAllowRedisplay = .unspecified, metadata: [Swift.String : Swift.String]?)
+ case unspecified
+ case limited
+ case always
+ public init?(rawValue: Swift.Int)
+ public typealias RawValue = Swift.Int
+ public var rawValue: Swift.Int {
+ get
+ }
If you are adding a new public API consider the following:
public
or can they be protected with @_spi(STP)
?public
, assess whether they require an API review.If you are modifying or removing a public API:
If you confirm these APIs need to be added/updated and have undergone necessary review, add the label modifies public API
to this PR to acknowledge and bypass this check.
Summary
allow_redisplay
to bindingsMotivation
Updating bindings
Testing
relying on
STPPaymentMethodParamsTest.testPropertyNamesToFormFieldNamesMapping
Changelog