You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

881 lines
22 KiB

3 years ago
/// addressId : 0
/// buyNum : 0
/// id : 0
/// is_logistics : true
/// orderProductVOList : [{"actInfo":{"couponDiscountAmount":0,"couponDiscountRate":0,"couponId":0,"couponType":0,"discountAmount":0,"discountRate":0,"promotionId":0,"promotionType":0},"additionalComment":{"bizType":0,"commentImgs":"","commentImgsFlag":true,"commentStar":0,"commentText":"","descStar":0,"hideFlag":true,"id":0,"isDelete":true,"likeNum":0,"logisticsStar":0,"mid":0,"orderProductId":0,"parentId":0,"productId":0,"sensitiveFlag":true,"serviceStar":0,"storeId":0},"buyNum":0,"canApplyIntervention":0,"comment":{"bizType":0,"commentImgs":"","commentImgsFlag":true,"commentStar":0,"commentText":"","descStar":0,"hideFlag":true,"id":0,"isDelete":true,"likeNum":0,"logisticsStar":0,"mid":0,"orderProductId":0,"parentId":0,"productId":0,"sensitiveFlag":true,"serviceStar":0,"storeId":0},"commentStatus":0,"discountAmount":0,"id":0,"productId":0,"productName":"","returnCode":"","returnStatus":0,"returnType":0,"sellPrice":0,"skuId":0,"skuImg":"","skuNameStr":""}]
/// payChannel : 0
/// promotionInfoDTO : {"couponId":0,"promotionId":0}
class SettlementBean {
3 years ago
3 years ago
SettlementBean({
int addressId,
int buyNum,
int id,
bool isLogistics,
List<OrderProductVOList> orderProductVOList,
int payChannel,
PromotionInfoDTO promotionInfoDTO,}){
_addressId = addressId;
_buyNum = buyNum;
_id = id;
_isLogistics = isLogistics;
_orderProductVOList = orderProductVOList;
_payChannel = payChannel;
_promotionInfoDTO = promotionInfoDTO;
}
SettlementBean.fromJson(dynamic json) {
_addressId = json['addressId'];
_buyNum = json['buyNum'];
_id = json['id'];
_isLogistics = json['is_logistics'];
if (json['orderProductVOList'] != null) {
_orderProductVOList = [];
json['orderProductVOList'].forEach((v) {
_orderProductVOList.add(OrderProductVOList.fromJson(v));
});
}
_payChannel = json['payChannel'];
_promotionInfoDTO = json['promotionInfoDTO'] != null ? PromotionInfoDTO.fromJson(json['promotionInfoDTO']) : null;
}
int _addressId;
int _buyNum;
int _id;
bool _isLogistics;
List<OrderProductVOList> _orderProductVOList;
int _payChannel;
PromotionInfoDTO _promotionInfoDTO;
int get addressId => _addressId;
int get buyNum => _buyNum;
int get id => _id;
bool get isLogistics => _isLogistics;
List<OrderProductVOList> get orderProductVOList => _orderProductVOList;
int get payChannel => _payChannel;
PromotionInfoDTO get promotionInfoDTO => _promotionInfoDTO;
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['addressId'] = _addressId;
map['buyNum'] = _buyNum;
map['id'] = _id;
map['is_logistics'] = _isLogistics;
if (_orderProductVOList != null) {
map['orderProductVOList'] = _orderProductVOList.map((v) => v.toJson()).toList();
}
map['payChannel'] = _payChannel;
if (_promotionInfoDTO != null) {
map['promotionInfoDTO'] = _promotionInfoDTO.toJson();
}
return map;
}
set addressId(int value) {
_addressId = value;
}
set buyNum(int value) {
_buyNum = value;
}
set id(int value) {
_id = value;
}
set isLogistics(bool value) {
_isLogistics = value;
}
set orderProductVOList(List<OrderProductVOList> value) {
_orderProductVOList = value;
}
set payChannel(int value) {
_payChannel = value;
}
set promotionInfoDTO(PromotionInfoDTO value) {
_promotionInfoDTO = value;
}
}
/// couponId : 0
/// promotionId : 0
class PromotionInfoDTO {
PromotionInfoDTO({
int couponId,
int promotionId,}){
_couponId = couponId;
_promotionId = promotionId;
}
PromotionInfoDTO.fromJson(dynamic json) {
_couponId = json['couponId'];
_promotionId = json['promotionId'];
}
int _couponId;
int _promotionId;
int get couponId => _couponId;
int get promotionId => _promotionId;
set couponId(int value) {
_couponId = value;
}
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['couponId'] = _couponId;
map['promotionId'] = _promotionId;
return map;
}
set promotionId(int value) {
_promotionId = value;
}
}
/// actInfo : {"couponDiscountAmount":0,"couponDiscountRate":0,"couponId":0,"couponType":0,"discountAmount":0,"discountRate":0,"promotionId":0,"promotionType":0}
/// additionalComment : {"bizType":0,"commentImgs":"","commentImgsFlag":true,"commentStar":0,"commentText":"","descStar":0,"hideFlag":true,"id":0,"isDelete":true,"likeNum":0,"logisticsStar":0,"mid":0,"orderProductId":0,"parentId":0,"productId":0,"sensitiveFlag":true,"serviceStar":0,"storeId":0}
/// buyNum : 0
/// canApplyIntervention : 0
/// comment : {"bizType":0,"commentImgs":"","commentImgsFlag":true,"commentStar":0,"commentText":"","descStar":0,"hideFlag":true,"id":0,"isDelete":true,"likeNum":0,"logisticsStar":0,"mid":0,"orderProductId":0,"parentId":0,"productId":0,"sensitiveFlag":true,"serviceStar":0,"storeId":0}
/// commentStatus : 0
/// discountAmount : 0
/// id : 0
/// productId : 0
/// productName : ""
/// returnCode : ""
/// returnStatus : 0
/// returnType : 0
/// sellPrice : 0
/// skuId : 0
/// skuImg : ""
/// skuNameStr : ""
class OrderProductVOList {
OrderProductVOList({
ActInfo actInfo,
AdditionalComment additionalComment,
int buyNum,
int canApplyIntervention,
Comment comment,
int commentStatus,
int discountAmount,
int id,
int productId,
String productName,
String returnCode,
int returnStatus,
int returnType,
int sellPrice,
3 years ago
String skuId,
3 years ago
String skuImg,
String skuNameStr,}){
_actInfo = actInfo;
_additionalComment = additionalComment;
_buyNum = buyNum;
_canApplyIntervention = canApplyIntervention;
_comment = comment;
_commentStatus = commentStatus;
_discountAmount = discountAmount;
_id = id;
_productId = productId;
_productName = productName;
_returnCode = returnCode;
_returnStatus = returnStatus;
_returnType = returnType;
_sellPrice = sellPrice;
_skuId = skuId;
_skuImg = skuImg;
_skuNameStr = skuNameStr;
}
OrderProductVOList.fromJson(dynamic json) {
_actInfo = json['actInfo'] != null ? ActInfo.fromJson(json['actInfo']) : null;
_additionalComment = json['additionalComment'] != null ? AdditionalComment.fromJson(json['additionalComment']) : null;
_buyNum = json['buyNum'];
_canApplyIntervention = json['canApplyIntervention'];
_comment = json['comment'] != null ? Comment.fromJson(json['comment']) : null;
_commentStatus = json['commentStatus'];
_discountAmount = json['discountAmount'];
_id = json['id'];
_productId = json['productId'];
_productName = json['productName'];
_returnCode = json['returnCode'];
_returnStatus = json['returnStatus'];
_returnType = json['returnType'];
_sellPrice = json['sellPrice'];
_skuId = json['skuId'];
_skuImg = json['skuImg'];
_skuNameStr = json['skuNameStr'];
}
ActInfo _actInfo;
AdditionalComment _additionalComment;
int _buyNum;
int _canApplyIntervention;
Comment _comment;
int _commentStatus;
int _discountAmount;
int _id;
int _productId;
String _productName;
String _returnCode;
int _returnStatus;
int _returnType;
int _sellPrice;
3 years ago
String _skuId;
3 years ago
String _skuImg;
String _skuNameStr;
ActInfo get actInfo => _actInfo;
AdditionalComment get additionalComment => _additionalComment;
int get buyNum => _buyNum;
int get canApplyIntervention => _canApplyIntervention;
Comment get comment => _comment;
int get commentStatus => _commentStatus;
int get discountAmount => _discountAmount;
int get id => _id;
int get productId => _productId;
String get productName => _productName;
String get returnCode => _returnCode;
int get returnStatus => _returnStatus;
int get returnType => _returnType;
int get sellPrice => _sellPrice;
3 years ago
String get skuId => _skuId;
3 years ago
String get skuImg => _skuImg;
String get skuNameStr => _skuNameStr;
set actInfo(ActInfo value) {
_actInfo = value;
}
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
if (_actInfo != null) {
map['actInfo'] = _actInfo.toJson();
}
if (_additionalComment != null) {
map['additionalComment'] = _additionalComment.toJson();
}
map['buyNum'] = _buyNum;
map['canApplyIntervention'] = _canApplyIntervention;
if (_comment != null) {
map['comment'] = _comment.toJson();
}
map['commentStatus'] = _commentStatus;
map['discountAmount'] = _discountAmount;
map['id'] = _id;
map['productId'] = _productId;
map['productName'] = _productName;
map['returnCode'] = _returnCode;
map['returnStatus'] = _returnStatus;
map['returnType'] = _returnType;
map['sellPrice'] = _sellPrice;
map['skuId'] = _skuId;
map['skuImg'] = _skuImg;
map['skuNameStr'] = _skuNameStr;
return map;
}
set additionalComment(AdditionalComment value) {
_additionalComment = value;
}
set buyNum(int value) {
_buyNum = value;
}
set canApplyIntervention(int value) {
_canApplyIntervention = value;
}
set comment(Comment value) {
_comment = value;
}
set commentStatus(int value) {
_commentStatus = value;
}
set discountAmount(int value) {
_discountAmount = value;
}
set id(int value) {
_id = value;
}
set productId(int value) {
_productId = value;
}
set productName(String value) {
_productName = value;
}
set returnCode(String value) {
_returnCode = value;
}
set returnStatus(int value) {
_returnStatus = value;
}
set returnType(int value) {
_returnType = value;
}
set sellPrice(int value) {
_sellPrice = value;
}
3 years ago
set skuId(String value) {
3 years ago
_skuId = value;
}
set skuImg(String value) {
_skuImg = value;
}
set skuNameStr(String value) {
_skuNameStr = value;
}
}
/// bizType : 0
/// commentImgs : ""
/// commentImgsFlag : true
/// commentStar : 0
/// commentText : ""
/// descStar : 0
/// hideFlag : true
/// id : 0
/// isDelete : true
/// likeNum : 0
/// logisticsStar : 0
/// mid : 0
/// orderProductId : 0
/// parentId : 0
/// productId : 0
/// sensitiveFlag : true
/// serviceStar : 0
/// storeId : 0
class Comment {
Comment({
int bizType,
String commentImgs,
bool commentImgsFlag,
int commentStar,
String commentText,
int descStar,
bool hideFlag,
int id,
bool isDelete,
int likeNum,
int logisticsStar,
int mid,
int orderProductId,
int parentId,
int productId,
bool sensitiveFlag,
int serviceStar,
int storeId,}){
_bizType = bizType;
_commentImgs = commentImgs;
_commentImgsFlag = commentImgsFlag;
_commentStar = commentStar;
_commentText = commentText;
_descStar = descStar;
_hideFlag = hideFlag;
_id = id;
_isDelete = isDelete;
_likeNum = likeNum;
_logisticsStar = logisticsStar;
_mid = mid;
_orderProductId = orderProductId;
_parentId = parentId;
_productId = productId;
_sensitiveFlag = sensitiveFlag;
_serviceStar = serviceStar;
_storeId = storeId;
}
Comment.fromJson(dynamic json) {
_bizType = json['bizType'];
_commentImgs = json['commentImgs'];
_commentImgsFlag = json['commentImgsFlag'];
_commentStar = json['commentStar'];
_commentText = json['commentText'];
_descStar = json['descStar'];
_hideFlag = json['hideFlag'];
_id = json['id'];
_isDelete = json['isDelete'];
_likeNum = json['likeNum'];
_logisticsStar = json['logisticsStar'];
_mid = json['mid'];
_orderProductId = json['orderProductId'];
_parentId = json['parentId'];
_productId = json['productId'];
_sensitiveFlag = json['sensitiveFlag'];
_serviceStar = json['serviceStar'];
_storeId = json['storeId'];
}
int _bizType;
String _commentImgs;
bool _commentImgsFlag;
int _commentStar;
String _commentText;
int _descStar;
bool _hideFlag;
int _id;
bool _isDelete;
int _likeNum;
int _logisticsStar;
int _mid;
int _orderProductId;
int _parentId;
int _productId;
bool _sensitiveFlag;
int _serviceStar;
int _storeId;
int get bizType => _bizType;
String get commentImgs => _commentImgs;
bool get commentImgsFlag => _commentImgsFlag;
int get commentStar => _commentStar;
String get commentText => _commentText;
int get descStar => _descStar;
bool get hideFlag => _hideFlag;
int get id => _id;
bool get isDelete => _isDelete;
int get likeNum => _likeNum;
int get logisticsStar => _logisticsStar;
int get mid => _mid;
int get orderProductId => _orderProductId;
int get parentId => _parentId;
int get productId => _productId;
bool get sensitiveFlag => _sensitiveFlag;
int get serviceStar => _serviceStar;
int get storeId => _storeId;
set bizType(int value) {
_bizType = value;
}
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['bizType'] = _bizType;
map['commentImgs'] = _commentImgs;
map['commentImgsFlag'] = _commentImgsFlag;
map['commentStar'] = _commentStar;
map['commentText'] = _commentText;
map['descStar'] = _descStar;
map['hideFlag'] = _hideFlag;
map['id'] = _id;
map['isDelete'] = _isDelete;
map['likeNum'] = _likeNum;
map['logisticsStar'] = _logisticsStar;
map['mid'] = _mid;
map['orderProductId'] = _orderProductId;
map['parentId'] = _parentId;
map['productId'] = _productId;
map['sensitiveFlag'] = _sensitiveFlag;
map['serviceStar'] = _serviceStar;
map['storeId'] = _storeId;
return map;
}
set commentImgs(String value) {
_commentImgs = value;
}
set commentImgsFlag(bool value) {
_commentImgsFlag = value;
}
set commentStar(int value) {
_commentStar = value;
}
set commentText(String value) {
_commentText = value;
}
set descStar(int value) {
_descStar = value;
}
set hideFlag(bool value) {
_hideFlag = value;
}
set id(int value) {
_id = value;
}
set isDelete(bool value) {
_isDelete = value;
}
set likeNum(int value) {
_likeNum = value;
}
set logisticsStar(int value) {
_logisticsStar = value;
}
set mid(int value) {
_mid = value;
}
set orderProductId(int value) {
_orderProductId = value;
}
set parentId(int value) {
_parentId = value;
}
set productId(int value) {
_productId = value;
}
set sensitiveFlag(bool value) {
_sensitiveFlag = value;
}
set serviceStar(int value) {
_serviceStar = value;
}
set storeId(int value) {
_storeId = value;
}
}
/// bizType : 0
/// commentImgs : ""
/// commentImgsFlag : true
/// commentStar : 0
/// commentText : ""
/// descStar : 0
/// hideFlag : true
/// id : 0
/// isDelete : true
/// likeNum : 0
/// logisticsStar : 0
/// mid : 0
/// orderProductId : 0
/// parentId : 0
/// productId : 0
/// sensitiveFlag : true
/// serviceStar : 0
/// storeId : 0
class AdditionalComment {
AdditionalComment({
int bizType,
String commentImgs,
bool commentImgsFlag,
int commentStar,
String commentText,
int descStar,
bool hideFlag,
int id,
bool isDelete,
int likeNum,
int logisticsStar,
int mid,
int orderProductId,
int parentId,
int productId,
bool sensitiveFlag,
int serviceStar,
int storeId,}){
_bizType = bizType;
_commentImgs = commentImgs;
_commentImgsFlag = commentImgsFlag;
_commentStar = commentStar;
_commentText = commentText;
_descStar = descStar;
_hideFlag = hideFlag;
_id = id;
_isDelete = isDelete;
_likeNum = likeNum;
_logisticsStar = logisticsStar;
_mid = mid;
_orderProductId = orderProductId;
_parentId = parentId;
_productId = productId;
_sensitiveFlag = sensitiveFlag;
_serviceStar = serviceStar;
_storeId = storeId;
}
AdditionalComment.fromJson(dynamic json) {
_bizType = json['bizType'];
_commentImgs = json['commentImgs'];
_commentImgsFlag = json['commentImgsFlag'];
_commentStar = json['commentStar'];
_commentText = json['commentText'];
_descStar = json['descStar'];
_hideFlag = json['hideFlag'];
_id = json['id'];
_isDelete = json['isDelete'];
_likeNum = json['likeNum'];
_logisticsStar = json['logisticsStar'];
_mid = json['mid'];
_orderProductId = json['orderProductId'];
_parentId = json['parentId'];
_productId = json['productId'];
_sensitiveFlag = json['sensitiveFlag'];
_serviceStar = json['serviceStar'];
_storeId = json['storeId'];
}
int _bizType;
String _commentImgs;
bool _commentImgsFlag;
int _commentStar;
String _commentText;
int _descStar;
bool _hideFlag;
int _id;
bool _isDelete;
int _likeNum;
int _logisticsStar;
int _mid;
int _orderProductId;
int _parentId;
int _productId;
bool _sensitiveFlag;
int _serviceStar;
int _storeId;
int get bizType => _bizType;
String get commentImgs => _commentImgs;
bool get commentImgsFlag => _commentImgsFlag;
int get commentStar => _commentStar;
String get commentText => _commentText;
int get descStar => _descStar;
bool get hideFlag => _hideFlag;
int get id => _id;
bool get isDelete => _isDelete;
int get likeNum => _likeNum;
int get logisticsStar => _logisticsStar;
int get mid => _mid;
int get orderProductId => _orderProductId;
int get parentId => _parentId;
int get productId => _productId;
bool get sensitiveFlag => _sensitiveFlag;
int get serviceStar => _serviceStar;
int get storeId => _storeId;
set bizType(int value) {
_bizType = value;
}
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['bizType'] = _bizType;
map['commentImgs'] = _commentImgs;
map['commentImgsFlag'] = _commentImgsFlag;
map['commentStar'] = _commentStar;
map['commentText'] = _commentText;
map['descStar'] = _descStar;
map['hideFlag'] = _hideFlag;
map['id'] = _id;
map['isDelete'] = _isDelete;
map['likeNum'] = _likeNum;
map['logisticsStar'] = _logisticsStar;
map['mid'] = _mid;
map['orderProductId'] = _orderProductId;
map['parentId'] = _parentId;
map['productId'] = _productId;
map['sensitiveFlag'] = _sensitiveFlag;
map['serviceStar'] = _serviceStar;
map['storeId'] = _storeId;
return map;
}
set commentImgs(String value) {
_commentImgs = value;
}
set commentImgsFlag(bool value) {
_commentImgsFlag = value;
}
set commentStar(int value) {
_commentStar = value;
}
set commentText(String value) {
_commentText = value;
}
set descStar(int value) {
_descStar = value;
}
set hideFlag(bool value) {
_hideFlag = value;
}
set id(int value) {
_id = value;
}
set isDelete(bool value) {
_isDelete = value;
}
set likeNum(int value) {
_likeNum = value;
}
set logisticsStar(int value) {
_logisticsStar = value;
}
set mid(int value) {
_mid = value;
}
set orderProductId(int value) {
_orderProductId = value;
}
set parentId(int value) {
_parentId = value;
}
set productId(int value) {
_productId = value;
}
set sensitiveFlag(bool value) {
_sensitiveFlag = value;
}
set serviceStar(int value) {
_serviceStar = value;
}
set storeId(int value) {
_storeId = value;
}
}
/// couponDiscountAmount : 0
/// couponDiscountRate : 0
/// couponId : 0
/// couponType : 0
/// discountAmount : 0
/// discountRate : 0
/// promotionId : 0
/// promotionType : 0
class ActInfo {
ActInfo({
int couponDiscountAmount,
int couponDiscountRate,
int couponId,
int couponType,
int discountAmount,
int discountRate,
int promotionId,
int promotionType,}){
_couponDiscountAmount = couponDiscountAmount;
_couponDiscountRate = couponDiscountRate;
_couponId = couponId;
_couponType = couponType;
_discountAmount = discountAmount;
_discountRate = discountRate;
_promotionId = promotionId;
_promotionType = promotionType;
}
ActInfo.fromJson(dynamic json) {
_couponDiscountAmount = json['couponDiscountAmount'];
_couponDiscountRate = json['couponDiscountRate'];
_couponId = json['couponId'];
_couponType = json['couponType'];
_discountAmount = json['discountAmount'];
_discountRate = json['discountRate'];
_promotionId = json['promotionId'];
_promotionType = json['promotionType'];
}
int _couponDiscountAmount;
int _couponDiscountRate;
int _couponId;
int _couponType;
int _discountAmount;
int _discountRate;
int _promotionId;
int _promotionType;
int get couponDiscountAmount => _couponDiscountAmount;
int get couponDiscountRate => _couponDiscountRate;
int get couponId => _couponId;
int get couponType => _couponType;
int get discountAmount => _discountAmount;
int get discountRate => _discountRate;
int get promotionId => _promotionId;
int get promotionType => _promotionType;
set couponDiscountAmount(int value) {
_couponDiscountAmount = value;
}
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['couponDiscountAmount'] = _couponDiscountAmount;
map['couponDiscountRate'] = _couponDiscountRate;
map['couponId'] = _couponId;
map['couponType'] = _couponType;
map['discountAmount'] = _discountAmount;
map['discountRate'] = _discountRate;
map['promotionId'] = _promotionId;
map['promotionType'] = _promotionType;
return map;
}
set couponDiscountRate(int value) {
_couponDiscountRate = value;
}
set couponId(int value) {
_couponId = value;
}
set couponType(int value) {
_couponType = value;
}
set discountAmount(int value) {
_discountAmount = value;
}
set discountRate(int value) {
_discountRate = value;
}
set promotionId(int value) {
_promotionId = value;
}
set promotionType(int value) {
_promotionType = value;
}
}