Product static method

WTChatInput Product(
  1. String productID,
  2. String productName,
  3. String productPrice,
  4. String imagePath,
  5. String caption,
  6. String storeID,
)

Implementation

static WTChatInput Product(String productID, String productName,
    String productPrice, String imagePath,
    String caption, String storeID) {

  WTChatInput chatInput = WTChatInput.init("Product");
  chatInput.productID = productID;
  chatInput.productName = productName;
  chatInput.productPrice = productPrice;
  chatInput.imagePath = imagePath;
  chatInput.caption = caption;
  chatInput.storeID = storeID;
  return chatInput;
}