public static class OffersPack.Offers.Offer extends Product
Product.Accessories, Product.Analogs, Product.CategoryIds, Product.Excises, Product.Products, Product.TaxRates, Product.Unit| Modifier and Type | Field and Description |
|---|---|
protected java.math.BigDecimal |
amount
Количество предлагаемого товара.
|
protected Price.Prices |
prices
Цены
|
protected java.util.List<StorageRemains> |
storages
Идентификатор склада (из перечня складов организации в пакете предложений) и
остаток товара на складе
|
accessories, analogs, barcode, baseUnit, categories, code, counterpartyProductId, country, description, excises, id, manufacturer, name, pictures, productFeatures, propertiesValues, requisiteValues, status, taxRates, trademark, trademarkOwner| Constructor and Description |
|---|
Offer() |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigDecimal |
getAmount()
Количество предлагаемого товара.
|
Price.Prices |
getPrices()
Цены
|
java.util.List<StorageRemains> |
getStorages()
Идентификатор склада (из перечня складов организации в пакете предложений) и
остаток товара на складе
Этот метод доступа возвращает ссылку на текущий список, а не снимок.
|
void |
setAmount(java.math.BigDecimal amount)
Количество предлагаемого товара.
|
void |
setPrices(Price.Prices prices)
Цены
|
getAccessories, getAnalogs, getBarcode, getBaseUnit, getCategoryIds, getCode, getCounterpartyProductId, getCountry, getDescription, getExcises, getId, getManufacturer, getName, getPictures, getProductFeatures, getPropertiesValues, getRequisiteValues, getStatus, getTaxRates, getTrademark, getTrademarkOwner, setAccessories, setAnalogs, setBarcode, setBaseUnit, setCategoryIds, setCode, setCounterpartyProductId, setCountry, setDescription, setExcises, setId, setManufacturer, setName, setProductFeatures, setPropertiesValues, setRequisiteValues, setStatus, setTaxRates, setTrademark, setTrademarkOwnerprotected Price.Prices prices
protected java.math.BigDecimal amount
protected java.util.List<StorageRemains> storages
public Price.Prices getPrices()
public void setPrices(Price.Prices prices)
prices - public java.math.BigDecimal getAmount()
public void setAmount(java.math.BigDecimal amount)
amount - public java.util.List<StorageRemains> getStorages()
Этот метод доступа возвращает ссылку на текущий список, а не снимок. Поэтому
любые изменения, которые вы вносите в возвращаемый список, будут
присутствовать внутри объекта JAXB. Вот почему нет метода set
для свойства storages.
Например, чтобы добавить новый элемент, сделайте следующее:
getStorages().add(newItem);
StorageRemains