CreatePaymentResponse class

Inheritance
Annotations
  • @JsonSerializable.new(includeIfNull: false)

Constructors

CreatePaymentResponse({Status? status, bool? success, String? errorCode, String? message, String? details, InvoiceOrder? order, String? id, Map<String, dynamic>? customParameters, DateTime? createDate, DateTime? updateDate, DateTime? expireDate, String? paymentUrl, String? statusDescription, PaymentMethod? paymentMethod})
CreatePaymentResponse.fromJson(Map<String, dynamic> json)
Преобразование json в модель
factory

Properties

createDate DateTime?
Дата создания операции
final
customParameters Map<String, dynamic>?
Можно передать абсолютно любые параметры, например userid.
final
details String?
Подробное описание ошибки
finalinherited
equals Map<String, Object?>
Comparison objects
no setteroverride
errorCode String?
Код ошибки
finalinherited
expireDate DateTime?
Дата истечения операции
final
hasError bool
Проверка наличии ошибки
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
ID платежа
final
message String?
Краткое описание ошибки
finalinherited
order InvoiceOrder?
заказ на оплату
final
paymentMethod PaymentMethod?
final
paymentUrl String?
Ссылка на платежную форму
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status Status?
Статус в ответе на запрос методов
finalinherited
statusDescription String?
Описание статуса/сообщение об ошибке
final
success bool?
Выполнение операции
finalinherited
updateDate DateTime?
Дата обновления операции
final

Methods

compareLists<R>(List<R>? list1, List<R>? list2) bool
Determines whether list1 and list2 are equal.
inherited
copyWith({PaymentMethod? paymentMethod, InvoiceOrder? order, String? id, Map<String, dynamic>? customParameters, DateTime? createDate, DateTime? updateDate, DateTime? expireDate, String? paymentUrl, String? statusDescription}) CreatePaymentResponse
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