Skip to content

add hideCardNicknameField to PaymentSheet.Configuration - #135

Merged
sh-iv-am merged 1 commit into
mainfrom
feat/hide-card-nickname-field
Aug 27, 2026
Merged

add hideCardNicknameField to PaymentSheet.Configuration#135
sh-iv-am merged 1 commit into
mainfrom
feat/hide-card-nickname-field

Conversation

@Pradeep-kumar1202

Copy link
Copy Markdown
Contributor

Description:

What

Exposes hideCardNicknameField on PaymentSheet.Configuration, matching the new
client-core prop.

How

Five sites, following splitCardFields exactly:

  • Configuration data-class param val hideCardNicknameField: Boolean? = null
  • bundle getter — putBoolean guarded on non-null
  • Builder private var, builder setter, and the positional arg in build()

Uses the nullable Boolean? = null builder default (as splitCardFields/stickyPayButton
do) rather than the non-null style used by displaySavedPaymentMethodsCheckbox — a non-null
default would make the Builder always emit the key and override the ReScript default.

Appended last so @JvmOverloads and existing positional callers stay source-compatible.
@Parcelize generates the parcelling.

Usage

PaymentSheet.Configuration.Builder("Example, Inc.")
    .hideCardNicknameField(true)
    .build()

@sh-iv-am
sh-iv-am merged commit 53cf623 into main Aug 27, 2026
4 checks passed
@sh-iv-am
sh-iv-am deleted the feat/hide-card-nickname-field branch August 27, 2026 08:18
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