CartTotalsM.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. //
  2. // CartTotalsM.h
  3. // Asteria
  4. //
  5. // Created by 王猛 on 2024/1/26.
  6. //
  7. #import <Foundation/Foundation.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. @class CartTotalsItemsM;
  10. @interface CartTotalsM : NSObject
  11. @property (nonatomic, copy) NSString *subtotal;
  12. @property (nonatomic, copy) NSString *grand_total;
  13. @property (nonatomic, copy) NSString *items_qty;
  14. @property (nonatomic, copy) NSString *discount_amount;
  15. @property (nonatomic, copy) NSString *coupon_code;
  16. @property (nonatomic, strong) NSMutableArray <CartTotalsItemsM *>*items;
  17. @property (nonatomic, copy) NSDictionary *extension_attributes;
  18. @property (nonatomic, copy) NSString *currency_symbol;
  19. @property (nonatomic, copy) NSString *cart_id;
  20. ///Grand total 相关内容
  21. @property (nonatomic, strong) NSArray *total_segments;
  22. @end
  23. @interface CartTotalsItemsM : NSObject
  24. @property (nonatomic, copy) NSString *item_id;
  25. @property (nonatomic, copy) NSString *name;
  26. @property (nonatomic, copy) NSString *options;//json 需要解析
  27. @property (nonatomic, copy) NSString *price;
  28. @property (nonatomic, copy) NSString *subtotal;
  29. @property (nonatomic, copy) NSString *qty;
  30. @property (nonatomic, strong) NSDictionary *extension_attributes;
  31. @property (nonatomic, copy) NSString *currency_symbol;
  32. @property (nonatomic, copy) NSString *initial_price;
  33. @property (nonatomic, copy) NSString *image;
  34. @property (nonatomic, copy) NSString *product_id;
  35. @property (nonatomic, copy) NSString *price_incl_tax;
  36. @property (nonatomic, assign) BOOL isGift;
  37. @end
  38. NS_ASSUME_NONNULL_END