public class ProfileTransAmountType
extends java.lang.Object
Java class for profileTransAmountType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="profileTransAmountType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="amount">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
<minInclusive value="0.01"/>
<fractionDigits value="4"/>
</restriction>
</simpleType>
</element>
<element name="tax" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}extendedAmountType" minOccurs="0"/>
<element name="shipping" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}extendedAmountType" minOccurs="0"/>
<element name="duty" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}extendedAmountType" minOccurs="0"/>
<element name="lineItems" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}lineItemType" maxOccurs="30" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.math.BigDecimal |
amount |
protected ExtendedAmountType |
duty |
protected java.util.List<LineItemType> |
lineItems |
protected ExtendedAmountType |
shipping |
protected ExtendedAmountType |
tax |
| Constructor and Description |
|---|
ProfileTransAmountType() |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigDecimal |
getAmount()
Gets the value of the amount property.
|
ExtendedAmountType |
getDuty()
Gets the value of the duty property.
|
java.util.List<LineItemType> |
getLineItems()
Gets the value of the lineItems property.
|
ExtendedAmountType |
getShipping()
Gets the value of the shipping property.
|
ExtendedAmountType |
getTax()
Gets the value of the tax property.
|
void |
setAmount(java.math.BigDecimal value)
Sets the value of the amount property.
|
void |
setDuty(ExtendedAmountType value)
Sets the value of the duty property.
|
void |
setShipping(ExtendedAmountType value)
Sets the value of the shipping property.
|
void |
setTax(ExtendedAmountType value)
Sets the value of the tax property.
|
protected java.math.BigDecimal amount
protected ExtendedAmountType tax
protected ExtendedAmountType shipping
protected ExtendedAmountType duty
protected java.util.List<LineItemType> lineItems
public java.math.BigDecimal getAmount()
BigDecimalpublic void setAmount(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic ExtendedAmountType getTax()
ExtendedAmountTypepublic void setTax(ExtendedAmountType value)
value - allowed object is
ExtendedAmountTypepublic ExtendedAmountType getShipping()
ExtendedAmountTypepublic void setShipping(ExtendedAmountType value)
value - allowed object is
ExtendedAmountTypepublic ExtendedAmountType getDuty()
ExtendedAmountTypepublic void setDuty(ExtendedAmountType value)
value - allowed object is
ExtendedAmountTypepublic java.util.List<LineItemType> getLineItems()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the lineItems property.
For example, to add a new item, do as follows:
getLineItems().add(newItem);
Objects of the following type(s) are allowed in the list
LineItemType
Copyright © 2018. All Rights Reserved.