Skip to content

Latest commit

 

History

History
139 lines (78 loc) · 3.84 KB

CdvPurchase.Braintree.DropIn.Request.md

File metadata and controls

139 lines (78 loc) · 3.84 KB

Interface: Request

Braintree.DropIn.Request

A Braintree Drop-In Request

Table of contents

Properties

Properties

allowVaultCardOverride

Optional allowVaultCardOverride: boolean

  • true shows save card CheckBox to allow user to choose whether or not to vault their card.
  • false does not show Save Card CheckBox.

Default value is false.


applePayDisabled

Optional applePayDisabled: boolean

Use this parameter to disable Apple Pay.

Otherwise if Apple Pay is correctly configured, Apple Pay will appear as a selection in the Payment Method options.


cardDisabled

Optional cardDisabled: boolean

If set to true, disables Card in Drop-in. Default value is false.


cardholderNameStatus

Optional cardholderNameStatus: CardFormFieldStatus

Sets the Cardholder Name field status, which is how it will behave in CardForm.

Default is DISABLED.


maskCardNumber

Optional maskCardNumber: boolean

True to mask the card number when the field is not focused.

See com.braintreepayments.cardform.view.CardEditText for more details.

Android only.


maskSecurityCode

Optional maskSecurityCode: boolean

true to mask the security code during input. Defaults to false.


paypalDisabled

Optional paypalDisabled: boolean

Set to true to hide the PayPal option even if enabled for your account.

Defaults to false. Set to true to hide the PayPal option even if enabled for your account.


threeDSecureRequest

Optional threeDSecureRequest: Request


vaultCard

Optional vaultCard: boolean

Whether or not to vault the card upon tokenization.

Can only be applied when initializing the Braintree client with a client token that was generated with a customer ID.

When set to false with allowVaultCardOverride set to false, then cards will not be vaulted.

Defaults to true


vaultCardDefaultValue

Optional vaultCardDefaultValue: boolean

the default value used to determine if Drop-in should vault the customer's card.

This setting can be overwritten by the customer if the save card checkbox is visible using setAllowVaultCardOverride(boolean)

If the save card CheckBox is shown, and default vault value is true: the save card CheckBox will appear pre-checked. If the save card CheckBox is shown, and default vault value is false: the save card Checkbox will appear un-checked. If the save card CheckBox is not shown, and default vault value is true: card always vaults. If the save card CheckBox is not shown, and default vault value is false: card never vaults.

This value is true by default.


vaultManager

Optional vaultManager: boolean

true to allow customers to manage their vaulted payment methods.

Defaults to false.