public class Content extends Object
| Constructor and Description |
|---|
Content()
Default Constructor.
|
Content(String id,
Long quantity,
Float price,
Float itemPrice,
String title,
String description,
String brand,
String category,
DeliveryCategory deliveryCategory,
Float tax,
String externalContentId) |
| Modifier and Type | Method and Description |
|---|---|
Content |
brand(String brand)
Sets the Brand of the Product.
|
Content |
category(String category)
Sets the Category of the Product.
|
Content |
deliveryCategory(DeliveryCategory deliveryCategory)
Sets the type of delivery for a purchase event.
|
Content |
description(String description)
Sets the Product Description of the Item.
|
Content |
externalContentId(String externalContentId)
Sets the total tax of the Item.
|
SignalResponse<String,String> |
getbrand()
Gets the Brand of the listed Item.
|
Content |
getBusinessDataContent()
Gets the constructed content for Business Data API
|
SignalResponse<String,String> |
getCategory()
Gets the Category of the listed Item.
|
SignalResponse<DeliveryCategory,DeliveryCategory> |
getDeliveryCategory()
Gets the delivery category.
|
SignalResponse<String,String> |
getDescription()
Gets the Description of the listed Item.
|
SignalResponse<String,String> |
getExternalContentId()
Gets the external id for this order item The external id for the products
that are being involved in the customer interaction.
|
SignalResponse<String,String> |
getId()
Gets the Product Id of the Item.
|
SignalResponse<Float,Float> |
getItemPrice()
Gets the item price for the Product.
|
SignalResponse<Float,Float> |
getPrice()
Gets the total price of the Item.
|
SignalResponse<Long,Long> |
getQuantity()
Gets the quantity of the Item.
|
Content |
getServerSideContent()
Gets the constructed content for Conversion API
|
SignalResponse<Float,Float> |
getTax()
Gets the total tax of the Item.
|
SignalResponse<String,String> |
getTitle()
Gets the Title of the listed Item.
|
Content |
id(String id)
Sets the Product Id of the Item.
|
Content |
itemPrice(Float itemPrice)
Sets the item price for the Content.
|
Content |
price(Float price)
Sets the total price of the Item.
|
Content |
quantity(Long quantity)
Sets the quantity of the Content/Item.
|
void |
setbrand(String brand)
Sets the Brand of the listed Item.
|
void |
setCategory(String category)
Sets the Category of the listed Item.
|
void |
setdeliverycategory(DeliveryCategory deliveryCategory)
Sets the type of delivery for a purchase event.
|
void |
setDescription(String description)
Sets the Description of the listed Item.
|
void |
setExternalcontentid(String externalContentId)
Sets the external id for this order item
|
void |
setId(String id)
Sets the Product Id of the Item.
|
void |
setItemPrice(Float itemPrice)
Sets the item price for the Content.
|
void |
setPrice(Float price)
Sets the total price of the Item.
|
void |
setQuantity(Long quantity)
Sets the quantity of the Item.
|
void |
setTax(Float tax)
Sets the total tax of the Item.
|
void |
setTitle(String title)
Sets the Title of the listed Item.
|
Content |
tax(Float tax)
Sets the total tax of the Item.
|
Content |
title(String title)
Sets the Title of the Item.
|
public Content()
public Content(String id, Long quantity, Float price, Float itemPrice, String title, String description, String brand, String category, DeliveryCategory deliveryCategory, Float tax, String externalContentId)
id - Product Id of the Item.quantity - Quantity of the Item.price - Subtotal for the content/product.itemPrice - Price per unit of the content/product.title - Title of the listed Item.description - Product description used for the item.brand - Brand of the item.category - Category of the Item.deliveryCategory - The type of delivery for a purchase eventtax - Subtotal tax for the content/product.externalContentId - Unique ID for the contents/products that are being
involved in the customer interaction.public SignalResponse<String,String> getId()
public void setId(String id)
id - A string representing the unique Id for the product. Example: XYZ.public Content id(String id)
id - is a string representing the unique id for the product. Example:
XYZ.public SignalResponse<Long,Long> getQuantity()
public void setQuantity(Long quantity)
quantity - The number/quantity of the product that is being involved in
the customer interaction. Example: 5public Content quantity(Long quantity)
quantity - The number/quantity of the product that is being involved in
the customer interaction. Example: 5public SignalResponse<Float,Float> getItemPrice()
public void setItemPrice(Float itemPrice)
itemPrice - The item price or price per unit of the product. Example:
'123.45'public Content itemPrice(Float itemPrice)
itemPrice - The item price or price per unit of the product. Example:
'123.45'public SignalResponse<String,String> getTitle()
public void setTitle(String title)
title - A string representing the Title for the product.public Content title(String title)
title - is a string representing listed title for the product.public SignalResponse<String,String> getDescription()
public void setDescription(String description)
description - A string representing the Description for the product.public Content description(String description)
description - is a string representing the description for the product.public SignalResponse<String,String> getbrand()
public void setbrand(String brand)
brand - A string representing the Brand for the product.public Content brand(String brand)
brand - is a string representing the Brand for the product.public SignalResponse<String,String> getCategory()
public void setCategory(String category)
category - A string representing the Category for the product.public Content category(String category)
category - is a string representing the Category for the product.public SignalResponse<DeliveryCategory,DeliveryCategory> getDeliveryCategory()
public void setdeliverycategory(DeliveryCategory deliveryCategory)
deliveryCategory - The delivery category.public Content deliveryCategory(DeliveryCategory deliveryCategory)
deliveryCategory - The delivery category.public SignalResponse<Float,Float> getTax()
public void setTax(Float tax)
tax - The total tax for the products that are being involved in the
customer interaction. Example: 45.5public Content tax(Float tax)
tax - The total tax for the products that are being involved in the
customer interaction. Example: 45.5public SignalResponse<String,String> getExternalContentId()
public void setExternalcontentid(String externalContentId)
externalContentId - The external id for the products that are being
involved in the customer interaction.public Content externalContentId(String externalContentId)
externalContentId - The total tax for the products that are being
involved in the customer interaction.public SignalResponse<Float,Float> getPrice()
public void setPrice(Float price)
price - The total price for the products that are being involved in the
customer interaction. Example: '123.45'public Content price(Float price)
price - The total price for the products that are being involved in the
customer interaction. Example: '123.45'public Content getBusinessDataContent()
public Content getServerSideContent()
Copyright © 2024. All rights reserved.