Package net.authorize.api.contract.v1
Class ProfileTransAmountType
- java.lang.Object
-
- net.authorize.api.contract.v1.ProfileTransAmountType
-
- Direct Known Subclasses:
ProfileTransOrderType,ProfileTransPriorAuthCaptureType,ProfileTransRefundType
public class ProfileTransAmountType extends 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected BigDecimalamountprotected ExtendedAmountTypedutyprotected List<LineItemType>lineItemsprotected ExtendedAmountTypeshippingprotected ExtendedAmountTypetax
-
Constructor Summary
Constructors Constructor Description ProfileTransAmountType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetAmount()Gets the value of the amount property.ExtendedAmountTypegetDuty()Gets the value of the duty property.List<LineItemType>getLineItems()Gets the value of the lineItems property.ExtendedAmountTypegetShipping()Gets the value of the shipping property.ExtendedAmountTypegetTax()Gets the value of the tax property.voidsetAmount(BigDecimal value)Sets the value of the amount property.voidsetDuty(ExtendedAmountType value)Sets the value of the duty property.voidsetShipping(ExtendedAmountType value)Sets the value of the shipping property.voidsetTax(ExtendedAmountType value)Sets the value of the tax property.
-
-
-
Field Detail
-
amount
protected BigDecimal amount
-
tax
protected ExtendedAmountType tax
-
shipping
protected ExtendedAmountType shipping
-
duty
protected ExtendedAmountType duty
-
lineItems
protected List<LineItemType> lineItems
-
-
Method Detail
-
getAmount
public BigDecimal getAmount()
Gets the value of the amount property.- Returns:
- possible object is
BigDecimal
-
setAmount
public void setAmount(BigDecimal value)
Sets the value of the amount property.- Parameters:
value- allowed object isBigDecimal
-
getTax
public ExtendedAmountType getTax()
Gets the value of the tax property.- Returns:
- possible object is
ExtendedAmountType
-
setTax
public void setTax(ExtendedAmountType value)
Sets the value of the tax property.- Parameters:
value- allowed object isExtendedAmountType
-
getShipping
public ExtendedAmountType getShipping()
Gets the value of the shipping property.- Returns:
- possible object is
ExtendedAmountType
-
setShipping
public void setShipping(ExtendedAmountType value)
Sets the value of the shipping property.- Parameters:
value- allowed object isExtendedAmountType
-
getDuty
public ExtendedAmountType getDuty()
Gets the value of the duty property.- Returns:
- possible object is
ExtendedAmountType
-
setDuty
public void setDuty(ExtendedAmountType value)
Sets the value of the duty property.- Parameters:
value- allowed object isExtendedAmountType
-
getLineItems
public List<LineItemType> getLineItems()
Gets the value of the lineItems property.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
setmethod 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
-
-