GooglePayResponse class

Ответ на оплату с помощью Google Pay

Inheritance
Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

GooglePayResponse({String? errorCode, String? errorMessage, bool? success, Data? data, ErrorInfo? error})
Ответ на оплату с помощью Google Pay
GooglePayResponse.fromJson(Map<String, dynamic> json)
Преобразование json в модель
factory

Properties

data Data?
Номер заказа в платёжной системе. Уникален в пределах системы. Отсутствует, если регистрация заказа на удалась по причине ошибки.
final
equals Map<String, Object?>
Comparison objects
no setteroverride
error ErrorInfo?
Ошибка платежа
final
errorCode String?
Код ошибки
finalinherited
errorMessage String?
Краткое описание ошибки
finalinherited
hasError bool
Проверка наличии ошибки
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success bool?
Указывает на успешность запроса. Доступны следующие значения:
final

Methods

compareLists<R>(List<R>? list1, List<R>? list2) bool
Determines whether list1 and list2 are equal.
inherited
genHash<R>(Iterable<R>? values) int
Returns a hashCode for equals.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Преобразование модели в json
override
toString() String
A string representation of this object.
inherited

Operators

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