public static class DefaultBasketController.DefaultCartSummary extends java.lang.Object implements BasketController.CartSummary
| Constructor and Description |
|---|
DefaultCartSummary() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSubtotal()
Get the subtotal for the goods in the order.
|
java.lang.String |
getTotalDiscounts()
Get the total discount on the order.
|
java.lang.String |
getTotalPrice()
Get the final total for the order.
|
java.lang.String |
getTotalTax()
Get the total tax for the order.
|
boolean |
isNet()
Is the cart using Net or Gross pricing.
|
void |
setNet(boolean net) |
void |
setSubtotal(java.lang.String subtotal) |
void |
setTotalDiscounts(java.lang.String totalDiscounts) |
void |
setTotalPrice(java.lang.String totalPrice) |
void |
setTotalTax(java.lang.String totalTax) |
public boolean isNet()
BasketController.CartSummaryisNet in interface BasketController.CartSummarypublic void setNet(boolean net)
public java.lang.String getSubtotal()
BasketController.CartSummarygetSubtotal in interface BasketController.CartSummarypublic void setSubtotal(java.lang.String subtotal)
public java.lang.String getTotalTax()
BasketController.CartSummarygetTotalTax in interface BasketController.CartSummaryBasketController.CartSummary.isNet()public void setTotalTax(java.lang.String totalTax)
public java.lang.String getTotalPrice()
BasketController.CartSummarygetTotalPrice in interface BasketController.CartSummarypublic void setTotalPrice(java.lang.String totalPrice)
public java.lang.String getTotalDiscounts()
BasketController.CartSummarygetTotalDiscounts in interface BasketController.CartSummarypublic void setTotalDiscounts(java.lang.String totalDiscounts)
Copyright © 2018 SAP SE. All Rights Reserved.