public class PaymentExecutionDetailItem extends AbstractMwsObject
<complexType name="PaymentExecutionDetailItem">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Payment" type="{https://mws.amazonservices.com/Orders/2013-09-01}Money"/>
<element name="PaymentMethod" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
PaymentExecutionDetailItem()
Default constructor.
|
PaymentExecutionDetailItem(Money payment,
String paymentMethod)
Value constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Money |
getPayment()
Get the value of Payment.
|
String |
getPaymentMethod()
Get the value of PaymentMethod.
|
boolean |
isSetPayment()
Check to see if Payment is set.
|
boolean |
isSetPaymentMethod()
Check to see if PaymentMethod is set.
|
void |
readFragmentFrom(MwsReader r)
Read members from a MwsReader.
|
void |
setPayment(Money payment)
Set the value of Payment.
|
void |
setPaymentMethod(String paymentMethod)
Set the value of PaymentMethod.
|
PaymentExecutionDetailItem |
withPayment(Money payment)
Set the value of Payment, return this.
|
PaymentExecutionDetailItem |
withPaymentMethod(String paymentMethod)
Set the value of PaymentMethod, return this.
|
void |
writeFragmentTo(MwsWriter w)
Write members to a MwsWriter.
|
void |
writeTo(MwsWriter w)
Write tag, xmlns and members to a MwsWriter.
|
toJSON, toJSONFragment, toXML, toXMLFragmentpublic PaymentExecutionDetailItem(Money payment, String paymentMethod)
public PaymentExecutionDetailItem()
public Money getPayment()
public void setPayment(Money payment)
payment - The new value to set.public boolean isSetPayment()
public PaymentExecutionDetailItem withPayment(Money payment)
payment - The new value to set.public String getPaymentMethod()
public void setPaymentMethod(String paymentMethod)
paymentMethod - The new value to set.public boolean isSetPaymentMethod()
public PaymentExecutionDetailItem withPaymentMethod(String paymentMethod)
paymentMethod - The new value to set.public void readFragmentFrom(MwsReader r)
r - The reader to read from.public void writeFragmentTo(MwsWriter w)
w - The writer to write to.public void writeTo(MwsWriter w)
w - The Writer to write to.Copyright © 2014. All Rights Reserved.