|
1 | 1 | // ignore_for_file: prefer_single_quotes, unnecessary_import, unused_import
|
2 | 2 |
|
3 | 3 | import 'package:equatable/equatable.dart';
|
| 4 | +import 'package:flutter_deriv_api/api/exceptions/base_api_exception.dart'; |
4 | 5 |
|
5 |
| -import 'package:flutter_deriv_api/api/exceptions/p2p_advert_exception.dart'; |
6 | 6 | import 'package:flutter_deriv_api/api/models/base_exception_model.dart';
|
7 | 7 | import 'package:flutter_deriv_api/basic_api/generated/p2p_advert_create_receive.dart';
|
8 | 8 | import 'package:flutter_deriv_api/basic_api/generated/p2p_advert_create_send.dart';
|
@@ -221,6 +221,7 @@ enum VisibilityStatusItemEnum {
|
221 | 221 | /// advertiser_temp_ban.
|
222 | 222 | advertiserTempBan,
|
223 | 223 | }
|
| 224 | + |
224 | 225 | /// P2p advert create model class.
|
225 | 226 | abstract class P2pAdvertCreateModel {
|
226 | 227 | /// Initializes P2p advert create model class .
|
@@ -720,6 +721,7 @@ class P2pAdvertCreate extends P2pAdvertCreateModel {
|
720 | 721 | visibilityStatus: visibilityStatus ?? this.visibilityStatus,
|
721 | 722 | );
|
722 | 723 | }
|
| 724 | + |
723 | 725 | /// Advertiser details model class.
|
724 | 726 | abstract class AdvertiserDetailsModel {
|
725 | 727 | /// Initializes Advertiser details model class .
|
@@ -861,6 +863,7 @@ class AdvertiserDetails extends AdvertiserDetailsModel {
|
861 | 863 | totalCompletionRate: totalCompletionRate ?? this.totalCompletionRate,
|
862 | 864 | );
|
863 | 865 | }
|
| 866 | + |
864 | 867 | /// Payment method details property model class.
|
865 | 868 | abstract class PaymentMethodDetailsPropertyModel {
|
866 | 869 | /// Initializes Payment method details property model class .
|
@@ -989,6 +992,7 @@ class PaymentMethodDetailsProperty extends PaymentMethodDetailsPropertyModel {
|
989 | 992 | usedByOrders: usedByOrders ?? this.usedByOrders,
|
990 | 993 | );
|
991 | 994 | }
|
| 995 | + |
992 | 996 | /// Fields property model class.
|
993 | 997 | abstract class FieldsPropertyModel {
|
994 | 998 | /// Initializes Fields property model class .
|
|
0 commit comments