//
//  applePay.h
//  Open
//
//  Created by 看看智能 on 2017/12/15.
//  Copyright © 2017年 黄江涛 . All rights reserved.
//

#import <Foundation/Foundation.h>
@class ApplePaysResult,ApplePaysDetailResult;

@interface ApplePays : NSObject
@property(nonatomic)NSInteger flag;
@property(nonatomic)NSInteger code;
@property(nonatomic,strong)NSString *msg;
@property(nonatomic,strong)NSString *bak;
@property(nonatomic,strong)ApplePaysResult *result;

@property(nonatomic)NSInteger product_no;
@property(nonatomic)NSInteger product_realprice;


@end


@interface ApplePaysResult : NSObject
//订单编号
@property(nonatomic,strong)NSString *orderNo;
//订单名称
@property(nonatomic,strong)NSString *orderName;
//折扣(0-1)
@property(nonatomic)double  discount;
@property(nonatomic)double  realPayMoney;
@property(nonatomic)double  originalPrice;


//@property (nonatomic, strong) NSArray<ApplePaysDetailResult*> *orderDetail;

@property(nonatomic,strong)NSString *orderDetail;

@end


//@interface ApplePaysDetailResult : NSObject
//

//
////@property(nonatomic,strong)NSString *bak;
////@property(nonatomic,strong)NSString *msg;
////@property(nonatomic,strong)NSString *bak;
////@property(nonatomic,strong)NSString *msg;
////@property(nonatomic,strong)NSString *bak;
//@end

