Package software.xdev.brevo.model
Class OrderProductsInner
java.lang.Object
software.xdev.brevo.model.OrderProductsInner
Details for the Products in an order.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetPrice()The price of a unit of productID of the product.How many pieces of the product the visitor has added to the cart.Product ID of the red color shirts.inthashCode()price(BigDecimal price) quantity(BigDecimal quantity) voidsetPrice(BigDecimal price) voidsetProductId(String productId) voidsetQuantity(BigDecimal quantity) voidsetVariantId(String variantId) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_PRODUCT_ID
- See Also:
-
JSON_PROPERTY_QUANTITY
- See Also:
-
JSON_PROPERTY_VARIANT_ID
- See Also:
-
JSON_PROPERTY_PRICE
- See Also:
-
-
Constructor Details
-
OrderProductsInner
public OrderProductsInner()
-
-
Method Details
-
productId
-
getProductId
ID of the product.- Returns:
- productId
-
setProductId
-
quantity
-
getQuantity
How many pieces of the product the visitor has added to the cart.- Returns:
- quantity
-
setQuantity
-
variantId
-
getVariantId
Product ID of the red color shirts.- Returns:
- variantId
-
setVariantId
-
price
-
getPrice
The price of a unit of product- Returns:
- price
-
setPrice
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-