RemoveCardResponse class Null safety
Ответ от сервера по удалению привязанной карты у покупателя
- Inheritance
- Object
- AcquiringResponse
- RemoveCardResponse
- Annotations
Constructors
- RemoveCardResponse({bool? success, String? errorCode, String? message, String? details, String? terminalKey, String? customerKey, String? cardId, CardStatus? cardStatus})
- Создает экземпляр ответа от сервера по удалению привязанной карты у покупателя
-
RemoveCardResponse.fromJson(Map<
String, dynamic> json) -
Преобразование json в модель
factory
Properties
- cardId → String?
-
Идентификатор карты в системе Банка
@JsonKey(name: JsonKeys.cardId), final
- cardStatus → CardStatus?
-
Статус карты: [...]
@JsonKey(name: JsonKeys.status, unknownEnumValue: CardStatus.notExist), final
- customerKey → String?
-
Идентификатор платежа в системе банка
@JsonKey(name: JsonKeys.customerKey), final
- details → String?
-
Подробное описание ошибки
@JsonKey(name: JsonKeys.details), final, inherited
-
equals
→ Map<
String, Object?> -
Объекты для сравнения
read-only, override
- errorCode → String?
-
Код ошибки [...]
@JsonKey(name: JsonKeys.errorCode), final, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- message → String?
-
Краткое описание ошибки
@JsonKey(name: JsonKeys.message), final, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- status → Status?
-
Статус платежа
@JsonKey(name: JsonKeys.status), final, inherited
- success → bool?
-
Выполнение операции
@JsonKey(name: JsonKeys.success), final, inherited
- terminalKey → String?
-
Идентификатор терминала.
Выдается продавцу банком при заведении терминала
@JsonKey(name: JsonKeys.terminalKey), final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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