public class ProductPrice extends AbstractResponse<ProductPrice>
optimisticData, responseData| Constructor and Description |
|---|
ProductPrice() |
ProductPrice(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
ProductDiscount |
getDiscount()
The price discount.
|
Money |
getFinalPrice()
The final price of the product after discounts applied.
|
List<FixedProductTax> |
getFixedProductTaxes()
The multiple FPTs that can be applied to a product price.
|
String |
getGraphQlTypeName() |
Money |
getRegularPrice()
The regular price of the product.
|
ProductPrice |
setDiscount(ProductDiscount arg) |
ProductPrice |
setFinalPrice(Money arg) |
ProductPrice |
setFixedProductTaxes(List<FixedProductTax> arg) |
ProductPrice |
setRegularPrice(Money arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic ProductPrice()
public ProductPrice(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public ProductDiscount getDiscount()
public ProductPrice setDiscount(ProductDiscount arg)
public Money getFinalPrice()
public ProductPrice setFinalPrice(Money arg)
public List<FixedProductTax> getFixedProductTaxes()
public ProductPrice setFixedProductTaxes(List<FixedProductTax> arg)
public Money getRegularPrice()
public ProductPrice setRegularPrice(Money arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<ProductPrice>Copyright © 2022 Adobe. All rights reserved.