product recommendations api integration, content bytes

This commit is contained in:
jayesh
2024-05-08 17:15:26 +05:30
parent a2796be19c
commit 8d526c7b65
15 changed files with 435 additions and 132 deletions

View File

@@ -77,6 +77,7 @@ class ActiveCalls {
String? createdAt;
int? optionTypeXid;
ProductTypeData? productTypeData;
String? docs;
ActionData? optionTypeData;
ActionData? actionData;
@@ -90,6 +91,7 @@ class ActiveCalls {
this.qty,
this.duration,
this.currentPrice,
this.docs,
this.buyPrice,
this.targetPrice,
this.stopLoss,
@@ -111,6 +113,7 @@ class ActiveCalls {
qty = json['qty'];
duration = json['duration'];
currentPrice = json['current_price'];
docs = json['docs'];
buyPrice = json['buy_price'];
targetPrice = json['target_price'];
stopLoss = json['stop_loss'];
@@ -142,6 +145,7 @@ class ActiveCalls {
data['current_price'] = currentPrice;
data['buy_price'] = buyPrice;
data['target_price'] = targetPrice;
data['docs'] = docs;
data['stop_loss'] = stopLoss;
data['is_send_recommendation_now'] = isSendRecommendationNow;
data['schedule_date_time'] = scheduleDateTime;