CreditCardConfig class

Class responsible for storing payment related information about credit card

  • shouldSave - whether credit card should be tokenized after payment
  • domain - domain of your store
Annotations

Constructors

CreditCardConfig({required bool shouldSave, required String domain, String? rocText})
CreditCardConfig.fromJson(Map<String, dynamic> json)
factory

Properties

domain → String
final
hashCode → int
The hash code for this object.
no setterinherited
rocText → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shouldSave → bool
final

Methods

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

Operators

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