123456789101112131415161718192021222324252627282930313233343536373839404142 |
- //
- // FKRefundDetailViewModel.h
- // FirstLink
- //
- // Created by ascii on 16/3/15.
- // Copyright © 2016年 FirstLink. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- typedef enum {
- kRefundDetailCellTypeNone,
- kRefundDetailCellTypeStatus,
- kRefundDetailCellTypeProduct,
- kRefundDetailCellTypeChargeClear,
- kRefundDetailCellTypeEntry,
- kRefundDetailCellTypeTotalPrice,
- } kRefundDetailCellType;
- @class FKRefundPriceItem;
- @class FKRefundDetailItem;
- extern int const FKRefundRequestDetail;
- @interface FKRefundDetailViewModel : NSObject
- @property (nonatomic, strong) NSArray *refundGoodsArray;
- - (NSInteger)numberOfSectionsInTableView;
- - (NSInteger)numberOfRowsInSection:(NSInteger)section;
- - (kRefundDetailCellType)refundCellTypeAtIndexPath:(NSIndexPath *)indexPath;
- - (FKRefundDetailItem *)refundDetailItemAtIndex:(NSInteger)index;
- + (NSString *)getRefundStatusText:(int)status;
- - (NSAttributedString *)chargeClearTitle;
- - (NSAttributedString *)priceDetailTitle:(NSIndexPath *)indexPath;
- - (NSAttributedString *)priceDetailText:(NSIndexPath *)indexPath;
- @end
|