説明なし

OrderDetailItem.h 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. //
  2. // OrderItem.h
  3. // FirstLink
  4. //
  5. // Created by ascii on 15/6/12.
  6. // Copyright (c) 2015年 FirstLink. All rights reserved.
  7. //
  8. #import "Motis.h"
  9. #import "ShipAddress.h"
  10. #import "ServeUserItem.h"
  11. #import "FKIdCardItem.h"
  12. typedef NS_ENUM(NSInteger, FKOrderStatus) {
  13. FKOrderStatusUnknow = -1, // 无效
  14. FKOrderStatusRefund = 0, // 已退款
  15. FKOrderStatusUnpay, // 待付款
  16. FKOrderStatusWaitDeliver, // 已付款/待发货
  17. FKOrderStatusWaitReceipt, // 待收货
  18. FKOrderStatusFinish, // 跟单成功/已完成
  19. FKOrderStatusDenied, // 已拒绝/待退款
  20. FKOrderStatusUngroup = 11, // 待成团
  21. FKOrderStatusCancel, // 已取消
  22. FKOrderStatusIgnore, // 已取消
  23. FKOrderStatusInvalid, // 已失效
  24. };
  25. typedef NS_ENUM(NSInteger, FKRefundStatus) {
  26. FKRefundStatusNone = 0, // 无退款
  27. FKRefundStatusProgress, // 退款中
  28. FKRefundStatusPart, // 部分退款
  29. FKRefundStatusDone, // 已退款
  30. };
  31. @class LogisticsItem;
  32. @class FKRefundPriceItem;
  33. @interface OrderDetailItem : NSObject
  34. @property (nonatomic, strong) NSString *orderID;
  35. @property (nonatomic, strong) NSString *isIDPass;
  36. @property (nonatomic, strong) NSString *note;
  37. /**
  38. * 支付类型(1:支付宝支付,2:微信支付)
  39. */
  40. @property (nonatomic, strong) NSString *paymentType;
  41. @property (nonatomic, strong) NSString *paymentNO;
  42. @property (nonatomic, strong) NSString *paymentTime;
  43. @property (nonatomic, strong) NSString *paymentInvalidTime;
  44. @property (nonatomic, strong) NSString *status;
  45. @property (nonatomic, strong) NSString *webURL;
  46. @property (nonatomic, strong) NSString *createTime;
  47. @property (nonatomic, strong) NSString *serverTime;
  48. /**
  49. * 国际运费,转运运费
  50. */
  51. @property (nonatomic, strong) NSString *internationalPostage;
  52. /**
  53. * 官网运费
  54. */
  55. @property (nonatomic, strong) NSString *officialPostage;
  56. /**
  57. * 税费,关税
  58. */
  59. @property (nonatomic, strong) NSString *taxFee;
  60. /**
  61. * 服务费
  62. */
  63. @property (nonatomic, strong) NSString *serviceFee;
  64. /**
  65. * 优惠
  66. */
  67. @property (nonatomic, strong) NSString *derateFee;
  68. /**
  69. * 总金额
  70. */
  71. @property (nonatomic, strong) NSString *totalFee;
  72. /**
  73. * 商品总价
  74. */
  75. @property (nonatomic, strong) NSString *totalPrice;
  76. /**
  77. * 国内邮费
  78. */
  79. @property (nonatomic, strong) NSString *postage;
  80. //@property (nonatomic, strong) LogisticsItem *logisticsItem;
  81. @property (nonatomic, strong) FKIdCardItem *idCardItem;
  82. @property (nonatomic, strong) FKRefundPriceItem *refundPriceItem;
  83. @property (nonatomic, strong) ShipAddress *address;
  84. @property (nonatomic, strong) ServeUserItem *serveUserItem;
  85. @property (nonatomic, strong) NSArray *supplierArray;
  86. #pragma mark -
  87. - (NSString *)realProductAllPrice;
  88. - (NSString *)orderCreateTime;
  89. - (NSString *)orderPaymentTime;
  90. @end