public class ArticlePrice extends AbstractValueObject
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE_GROS_LIST |
static String |
TYPE_NET_CUSTOMER |
static String |
TYPE_NET_CUSTOMER_EXP |
static String |
TYPE_NET_LIST |
static String |
TYPE_NRP |
static String |
USER_TYPE_PREFIX |
| Constructor and Description |
|---|
ArticlePrice(String type,
double amount) |
ArticlePrice(String type,
double amount,
double factor,
double lowerBound,
double tax,
String currency,
Collection<String> territories) |
| Modifier and Type | Method and Description |
|---|---|
double |
getAmount()
BMECat: ARTICLE.ARTICLE_PRICE_DETAILS.ARTICLE_PRICE.PRICE_AMOUNT
|
String |
getCurrency()
BMECat: ARTICLE.ARTICLE_PRICE_DETAILS.ARTICLE_PRICE.PRICE_CURRENCY
|
double |
getLowerBound()
BMECat: ARTICLE.ARTICLE_PRICE_DETAILS.ARTICLE_PRICE.LOWER_BOUND
|
double |
getPriceFactor()
BMECat: ARTICLE.ARTICLE_PRICE_DETAILS.ARTICLE_PRICE.PRICE_FACTOR
|
String |
getPriceType()
BMECat: ARTICLE.ARTICLE_PRICE_DETAILS.ARTICLE_PRICE price_type="..."
|
double |
getTax()
BMECat: ARTICLE.ARTICLE_PRICE_DETAILS.ARTICLE_PRICE.TAX
|
Collection<String> |
getTerritories()
BMECat: ARTICLE.ARTICLE_PRICE_DETAILS.ARTICLE_PRICE.TERRITORY
|
getEndLineNumber, getStartLineNumber, getXML, setEndLineNumber, setStartLineNumber, setXML, toStringpublic static final String TYPE_NET_LIST
public static final String TYPE_GROS_LIST
public static final String TYPE_NET_CUSTOMER
public static final String TYPE_NET_CUSTOMER_EXP
public static final String TYPE_NRP
public static final String USER_TYPE_PREFIX
public ArticlePrice(String type, double amount)
type - one of USER_TYPE_PREFIX
amount - the price amountpublic ArticlePrice(String type, double amount, double factor, double lowerBound, double tax, String currency, Collection<String> territories)
type - one of USER_TYPE_PREFIX
amount - the price amountfactor - the price (discount) factorlowerBound - the lower bound of this pricetax - the tax which applies to this pricecurrency - the currency code of this price, may be nullterritories - the territories which this price applies to, may be null or emptypublic double getAmount()
public String getCurrency()
public String getPriceType()
public Collection<String> getTerritories()
public double getLowerBound()
public double getPriceFactor()
public double getTax()
Copyright © 2017 SAP SE. All Rights Reserved.