Click or drag to resize

TransactionItemHit Class

Holds data to send as an item hit. Note that you must first send the Transaction and that the ID is the same between the TransactionHit and the TransactionItemHit
Inheritance Hierarchy

Namespace:  NetQuarry.Services.GoogleAnalytics
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public class TransactionItemHit : MeasurementProtocolPayload

The TransactionItemHit type exposes the following members.

Constructors
  NameDescription
Public methodTransactionItemHit
Initializes a new instance of the TransactionItemHit class
Top
Properties
  NameDescription
Public propertyCategory
Specifies the category that the item belongs to. Param iv (YES, iv!) Optional
Public propertyClientID
Gets/Sets the client identifier, typically the UserGUID value.
(Inherited from MeasurementProtocolPayload.)
Public propertyCode
Specifies the SKU or item code. Param: ic Optional
Public propertyID
A unique identifier for the transaction. This value should be the same for both the Transaction hit and Items hits associated to the particular transaction. Param: ti Required 500 bytes max
Public propertyName
Specifies the item name. Param: in Required
Public propertyPrice
Specifies the price for a single item / unit. Param: ip Optional
Public propertyQuantity
Specifies the number of items purchased. Param: iq Optional
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetPostData
Returns the post data to send to ga for the transaction item hit
(Overrides MeasurementProtocolPayloadGetPostData.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also