//
//  SaleInputViewModel.h
//  HDMall
//
//  Created by Javen on 2017/7/31.
//  Copyright © 2017年 上海勾芒信息科技. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HMSaleInputDetail.h"
typedef NS_ENUM(NSInteger, SaleInputType) {
    SaleInputTypeCreate,
    SaleInputTypeEdit,
    SaleInputTypeReadOnly
};
@interface SaleInputViewModel : NSObject
@property (assign, nonatomic) SaleInputType type;

/**
 获取全部支付方式

 @param callBack 获取到支付方式的回调（如果arrPayments = nil， 则代表请求失败）
 */
- (void)httpAllPayments:(void (^)(NSMutableArray<HMSaleInputDetail_payments *> *arrPayments))callBack;
@end
