|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.authorize.api.contract.v1.ProfileTransAmountType
public class ProfileTransAmountType
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>
| Field Summary | |
|---|---|
protected BigDecimal |
amount
|
protected ExtendedAmountType |
duty
|
protected List<LineItemType> |
lineItems
|
protected ExtendedAmountType |
shipping
|
protected ExtendedAmountType |
tax
|
| Constructor Summary | |
|---|---|
ProfileTransAmountType()
|
|
| Method Summary | |
|---|---|
BigDecimal |
getAmount()
Gets the value of the amount property. |
ExtendedAmountType |
getDuty()
Gets the value of the duty property. |
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(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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected BigDecimal amount
protected ExtendedAmountType tax
protected ExtendedAmountType shipping
protected ExtendedAmountType duty
protected List<LineItemType> lineItems
| Constructor Detail |
|---|
public ProfileTransAmountType()
| Method Detail |
|---|
public BigDecimal getAmount()
BigDecimalpublic void setAmount(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 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||