-
public class CommerceEventCreated by Evan Groth on 12/21/16.
-
-
Field Summary
Fields Modifier and Type Field Description private Doublerevenueprivate CurrencyTypecurrencyTypeprivate StringtransactionIDprivate Doubleshippingprivate Doubletaxprivate Stringcouponprivate Stringaffiliationprivate List<Product>products
-
Constructor Summary
Constructors Constructor Description CommerceEvent()CommerceEvent(Double revenue, CurrencyType currency, String transactionID, Double shipping, Double tax, String coupon, String affiliation, List<Product> products)CommerceEvent(Double revenue, CurrencyType currency, String transactionID, Double shipping, Double tax, String coupon, String affiliation, Product product)
-
Method Summary
Modifier and Type Method Description DoublegetRevenue()voidsetRevenue(Double revenue)CurrencyTypegetCurrencyType()voidsetCurrencyType(CurrencyType currency)StringgetTransactionID()voidsetTransactionID(String transactionID)DoublegetShipping()voidsetShipping(Double shipping)DoublegetTax()voidsetTax(Double tax)StringgetCoupon()voidsetCoupon(String coupon)StringgetAffiliation()voidsetAffiliation(String affiliation)voidsetProducts(List<Product> products)voidaddProduct(Product product)JSONObjectgetCommerceJSONObject()-
-
Method Detail
-
getRevenue
Double getRevenue()
-
setRevenue
void setRevenue(Double revenue)
-
getCurrencyType
CurrencyType getCurrencyType()
-
setCurrencyType
void setCurrencyType(CurrencyType currency)
-
getTransactionID
String getTransactionID()
-
setTransactionID
void setTransactionID(String transactionID)
-
getShipping
Double getShipping()
-
setShipping
void setShipping(Double shipping)
-
getAffiliation
String getAffiliation()
-
setAffiliation
void setAffiliation(String affiliation)
-
setProducts
void setProducts(List<Product> products)
-
addProduct
void addProduct(Product product)
-
getCommerceJSONObject
JSONObject getCommerceJSONObject()
-
-
-
-