Geen omschrijving

FKRefundDetailViewModel.h 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // FKRefundDetailViewModel.h
  3. // FirstLink
  4. //
  5. // Created by ascii on 16/3/15.
  6. // Copyright © 2016年 FirstLink. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. typedef enum {
  10. kRefundDetailCellTypeNone,
  11. kRefundDetailCellTypeStatus,
  12. kRefundDetailCellTypeProduct,
  13. kRefundDetailCellTypeChargeClear,
  14. kRefundDetailCellTypeEntry,
  15. kRefundDetailCellTypeTotalPrice,
  16. } kRefundDetailCellType;
  17. @class FKRefundPriceItem;
  18. @class FKRefundDetailItem;
  19. extern int const FKRefundRequestDetail;
  20. @interface FKRefundDetailViewModel : NSObject
  21. @property (nonatomic, strong) NSArray *refundGoodsArray;
  22. - (NSInteger)numberOfSectionsInTableView;
  23. - (NSInteger)numberOfRowsInSection:(NSInteger)section;
  24. - (kRefundDetailCellType)refundCellTypeAtIndexPath:(NSIndexPath *)indexPath;
  25. - (FKRefundDetailItem *)refundDetailItemAtIndex:(NSInteger)index;
  26. + (NSString *)getRefundStatusText:(int)status;
  27. - (NSAttributedString *)chargeClearTitle;
  28. - (NSAttributedString *)priceDetailTitle:(NSIndexPath *)indexPath;
  29. - (NSAttributedString *)priceDetailText:(NSIndexPath *)indexPath;
  30. @end