PaymentProductField class

Represents a PaymentProductField object.

Implemented types
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

PaymentProductField.new(String id, PaymentProductFieldType type, PaymentProductFieldDisplayHints? displayHints, {DataRestrictions dataRestrictions = const DataRestrictions.empty()})
PaymentProductField.fromJson(Map<String, dynamic> json)
factory

Properties

dataRestrictions DataRestrictions
final
displayHints PaymentProductFieldDisplayHints?
final
errorMessageIds List<ValidationErrorMessage>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type PaymentProductFieldType
final

Methods

applyMask(String value) Future<String>
Returns the masked value of the PaymentProductField.
compareTo(dynamic other) int
Compares this object to another object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeMask(String value) Future<String>
Returns the unmasked value of the PaymentProductField.
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited
validateValue(PaymentRequest paymentRequest) Future<List<ValidationErrorMessage>>
Returns a list of ValidationErrorMessage for the supplied value. If the list is empty, you can assume that the supplied value is a valid value.

Operators

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