You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -229,6 +233,7 @@ abstract class P2pAdvertCreateModel {
229
233
requiredthis.rateType,
230
234
requiredthis.rateDisplay,
231
235
requiredthis.rate,
236
+
requiredthis.orderExpiryPeriod,
232
237
requiredthis.minOrderAmountLimitDisplay,
233
238
requiredthis.minOrderAmountLimit,
234
239
requiredthis.minOrderAmountDisplay,
@@ -245,6 +250,7 @@ abstract class P2pAdvertCreateModel {
245
250
requiredthis.createdTime,
246
251
requiredthis.country,
247
252
requiredthis.counterpartyType,
253
+
requiredthis.blockTrade,
248
254
requiredthis.amountDisplay,
249
255
requiredthis.amount,
250
256
requiredthis.advertiserDetails,
@@ -253,6 +259,10 @@ abstract class P2pAdvertCreateModel {
253
259
this.contactInfo,
254
260
this.effectiveRate,
255
261
this.effectiveRateDisplay,
262
+
this.eligibleCountries,
263
+
this.minCompletionRate,
264
+
this.minJoinDays,
265
+
this.minRating,
256
266
this.paymentInfo,
257
267
this.paymentMethod,
258
268
this.paymentMethodDetails,
@@ -280,6 +290,9 @@ abstract class P2pAdvertCreateModel {
280
290
/// Conversion rate from advertiser's account currency to `local_currency`. An absolute rate value (fixed), or percentage offset from current market rate (floating).
281
291
finaldouble rate;
282
292
293
+
/// Expiry period (seconds) for order created against this ad.
294
+
finalint orderExpiryPeriod;
295
+
283
296
/// Minimum order amount at this time, in `account_currency`, formatted to appropriate decimal places.
284
297
finalString minOrderAmountLimitDisplay;
285
298
@@ -328,6 +341,9 @@ abstract class P2pAdvertCreateModel {
328
341
/// Type of transaction from the opposite party's perspective.
329
342
finalCounterpartyTypeEnum counterpartyType;
330
343
344
+
/// Indicates if this is block trade advert or not.
345
+
finalbool blockTrade;
346
+
331
347
/// The total amount specified in advert, in `account_currency`, formatted to appropriate decimal places.
332
348
finalString amountDisplay;
333
349
@@ -352,6 +368,18 @@ abstract class P2pAdvertCreateModel {
352
368
/// Conversion rate from account currency to local currency, using current market rate if applicable, formatted to appropriate decimal places.
353
369
finalString? effectiveRateDisplay;
354
370
371
+
/// 2 letter country codes. Counterparties who do not live in these countries are not allowed to place orders against this advert.
372
+
finalList<String>? eligibleCountries;
373
+
374
+
/// Counterparties who have a 30 day completion rate less than this value are not allowed to place orders against this advert.
375
+
finaldouble? minCompletionRate;
376
+
377
+
/// Counterparties who joined less than this number of days ago are not allowed to place orders against this advert.
378
+
finalint? minJoinDays;
379
+
380
+
/// Counterparties who have an average rating less than this value are not allowed to place orders against this advert.
381
+
finaldouble? minRating;
382
+
355
383
/// Payment instructions. Only applicable for 'sell adverts'.
356
384
finalString? paymentInfo;
357
385
@@ -378,6 +406,7 @@ abstract class P2pAdvertCreateModel {
378
406
/// - `advertiser_ads_paused`: the advertiser has paused all adverts.
379
407
/// - `advertiser_approval`: the advertiser's proof of identity is not verified.
380
408
/// - `advertiser_balance`: the advertiser's P2P balance is less than the minimum order.
409
+
/// - `advertiser_block_trade_ineligible`: the advertiser is not currently eligible for block trading.
381
410
/// - `advertiser_daily_limit`: the advertiser's remaining daily limit is less than the minimum order.
382
411
/// - `advertiser_temp_ban`: the advertiser is temporarily banned from P2P.
0 commit comments