KWMOrder.h 1.23 KB
Newer Older
houweibin committed
1 2 3 4 5 6 7 8 9
//
//  KWMOrder.h
//  iCemarose
//
//  Created by HouWeiBin on 2017/4/20.
//  Copyright © 2017年 kollway. All rights reserved.
//

#import <JSONModel/JSONModel.h>
houweibin committed
10
#import "KWMBaseModel.h"
houweibin committed
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41

@interface KWMOrder : KWMBaseModel

//標題
/*
 fulfilled: Every line item in the order has been fulfilled.  每个订单项都已完成
 null: None of the line items in the order have been fulfilled. 没有订单项已完成
 partial: At least one line item in the order has been fulfilled. 部分订单项已完成
 */
@property (nonatomic) NSString *fulfillmentStatus;

/*
 "cancel_reason": null
 The reason why the order was cancelled. If the order was not cancelled, this value is "null." If the order was cancelled, the value will be one of the following:
 
 customer: The customer changed or cancelled the order.
 fraud: The order was fraudulent.
 inventory: Items in the order were not in inventory.
 other: The order was cancelled for a reason not in the list above.
 */
@property (nonatomic) NSString *cancelReason;


/*
 The date and time when the order was cancelled. If the order was cancelled, the API returns this value in ISO 8601 format. If the order was not cancelled, this value is "null."
 */
@property (nonatomic) NSString *closedAt;



@end