BraintreeDropInRequest class
Constructors
- BraintreeDropInRequest({String? clientToken, String? tokenizationKey, String? amount, BraintreeBillingAddress? billingAddress, String? email, bool collectDeviceData = false, bool requestThreeDSecureVerification = false, BraintreeGooglePaymentRequest? googlePaymentRequest, BraintreePayPalRequest? paypalRequest, BraintreeApplePayRequest? applePayRequest, bool venmoEnabled = true, bool cardEnabled = true, bool paypalEnabled = true, bool maskCardNumber = false, bool maskSecurityCode = false, bool vaultManagerEnabled = false})
Properties
- amount ↔ String?
-
Amount for the transaction. This is only used for 3D secure verfications.
getter/setter pair
- applePayRequest ↔ BraintreeApplePayRequest?
-
ApplePay request. ApplePay will be disabled if this is set to
null
. The ApplePay option will not be visible in the drop-in UI if the setup in Xcode, App Store Connect or Braintree control panel was done incorrectly.getter/setter pair - billingAddress ↔ BraintreeBillingAddress?
-
Additional Information about the user to trigger 3ds 2.0
getter/setter pair
- cardEnabled ↔ bool
-
Whether cards should be enabled.
getter/setter pair
- clientToken ↔ String?
-
Authorization allowing this client to communicate with Braintree.
Either clientToken or tokenizationKey must be set.
getter/setter pair
- collectDeviceData ↔ bool
-
Whether the Drop-in should collect and return device data for fraud prevention.
getter/setter pair
- email ↔ String?
-
Email of the user. this is used to icnrease the possibilities of success of 3ds 2.0
getter/setter pair
- googlePaymentRequest ↔ BraintreeGooglePaymentRequest?
-
Google Payment request. Google Pay will be disabled if this is set to
null
.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- maskCardNumber ↔ bool
-
Whether the card number should be masked if the field is not focused.
getter/setter pair
- maskSecurityCode ↔ bool
-
Whether the security code should be masked during input.
getter/setter pair
- paypalEnabled ↔ bool
-
Whether paypal should be enabled.
getter/setter pair
- paypalRequest ↔ BraintreePayPalRequest?
-
PayPal request. PayPal will be disabled if this is set to
null
.getter/setter pair - requestThreeDSecureVerification ↔ bool
-
If 3D Secure has been enabled in the control panel and an amount is specified in
amount, Drop-In will request a 3D Secure verification for any new cards added by the user.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tokenizationKey ↔ String?
-
Authorization allowing this client to communicate with Braintree.
Either clientToken or tokenizationKey must be set.
getter/setter pair
- vaultManagerEnabled ↔ bool
-
Whether customers should be allowed to manage their vaulted payment methods.
getter/setter pair
- venmoEnabled ↔ bool
-
Whether Venmo should be enabled.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this request object into a JSON-encodable format.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited