CardFormConfiguration class

A configuration model that dictates the configuration for the card form.

Constructors

CardFormConfiguration.new({bool isCardHolderNameRequired = false, bool enableCardNumberValidation = true})
Creates a new CardFormConfiguration.
CardFormConfiguration.fromJson(Map<String, dynamic> json)
Creates a CardFormConfiguration from a JSON map.
factory

Properties

enableCardNumberValidation bool
A boolean value indicating if MoneyHash should validate the card number.
final
hashCode int
The hash code for this object.
no setterinherited
isCardHolderNameRequired bool
A boolean value indicating whether the cardholder's name field is required in the card form.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this CardFormConfiguration to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited