Inherits from NetmeraEvent : NetmeraBaseModel : NSObject
Declared in NetmeraPurchaseEvent.h

Properties

coupon

@property (nonatomic, copy) NSString *coupon

discount

@property (nonatomic, assign) double discount

grandTotal

@property (nonatomic, assign, readonly) double grandTotal

lineItems

@property (nonatomic, strong, readonly) NSArray<NetmeraLineItem*> *lineItems

paymentMethod

@property (nonatomic, copy) NSString *paymentMethod

shippingCost

@property (nonatomic, assign) double shippingCost

subTotal

@property (nonatomic, assign, readonly) double subTotal

Class Methods

eventWithSubTotal:grandTotal:lineItems:

+ (instancetype)eventWithSubTotal:(double)subTotal grandTotal:(double)grandTotal lineItems:(NSArray<NetmeraLineItem*> *)lineItems