Skip to content

[APAM-746] Deprecate requiresCVC field#67

Merged
weiping-awx merged 1 commit into
mainfrom
chore/APAM-746-deprecate-requirescvc
May 20, 2026
Merged

[APAM-746] Deprecate requiresCVC field#67
weiping-awx merged 1 commit into
mainfrom
chore/APAM-746-deprecate-requirescvc

Conversation

@weiping-awx

Copy link
Copy Markdown
Contributor

Summary

  • Marks PaymentConsent.requiresCvc as @Deprecated with a message explaining that the underlying Android and iOS SDKs determine CVC collection from paymentMethod.card.numberType == "PAN", not this field
  • Adds // ignore: deprecated_member_use_from_same_package on the constructor parameter to suppress the self-referential lint warning

Test plan

  • Run flutter analyze — no new warnings
  • Verify IDEs surface the deprecation message when accessing requiresCvc on a PaymentConsent instance

🤖 Generated with Claude Code

@weiping-awx
weiping-awx merged commit 8cc6120 into main May 20, 2026
4 checks passed
@weiping-awx
weiping-awx deleted the chore/APAM-746-deprecate-requirescvc branch May 20, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants