public static class DefaultBasketController.DefaultCartSummary extends Object implements BasketController.CartSummary
| Constructor and Description |
|---|
DefaultCartSummary() |
| Modifier and Type | Method and Description |
|---|---|
String |
getSubtotal()
Get the subtotal for the goods in the order.
|
String |
getTotalDiscounts()
Get the total discount on the order.
|
String |
getTotalPrice()
Get the final total for the order.
|
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(String subtotal) |
void |
setTotalDiscounts(String totalDiscounts) |
void |
setTotalPrice(String totalPrice) |
void |
setTotalTax(String totalTax) |
public boolean isNet()
BasketController.CartSummaryisNet in interface BasketController.CartSummarypublic void setNet(boolean net)
public String getSubtotal()
BasketController.CartSummarygetSubtotal in interface BasketController.CartSummarypublic void setSubtotal(String subtotal)
public String getTotalTax()
BasketController.CartSummarygetTotalTax in interface BasketController.CartSummaryBasketController.CartSummary.isNet()public void setTotalTax(String totalTax)
public String getTotalPrice()
BasketController.CartSummarygetTotalPrice in interface BasketController.CartSummarypublic void setTotalPrice(String totalPrice)
public String getTotalDiscounts()
BasketController.CartSummarygetTotalDiscounts in interface BasketController.CartSummarypublic void setTotalDiscounts(String totalDiscounts)
Copyright © 2017 SAP SE. All Rights Reserved.