|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.checkout.AbstractCheckoutRequest
com.google.checkout.orderprocessing.AbstractOrderProcessingRequest
com.google.checkout.orderprocessing.lineitem.BackorderItemsRequest
public class BackorderItemsRequest
This class contains methods that construct <backorder-items> API requests.
Field Summary |
---|
Fields inherited from class com.google.checkout.AbstractCheckoutRequest |
---|
merchantInfo |
Constructor Summary | |
---|---|
BackorderItemsRequest(MerchantInfo merchantInfo)
Constructor which takes an instance of MerchantInfo. |
|
BackorderItemsRequest(MerchantInfo merchantInfo,
java.lang.String googleOrderNumber)
Constructor which takes an instance of MerchantInfo and the Google order number. |
Method Summary | |
---|---|
void |
addItem(java.lang.String merchantItemId)
Add the merchantItemId which is on back order. |
boolean |
isSendEmail()
True if an email is to be sent to the buyer. |
void |
setSendEmail(boolean sendEmail)
True if an email is to be sent to the buyer. |
Methods inherited from class com.google.checkout.orderprocessing.AbstractOrderProcessingRequest |
---|
getGoogleOrderNo, getGoogleOrderNumber, setGoogleOrderNo, setGoogleOrderNumber |
Methods inherited from class com.google.checkout.AbstractCheckoutRequest |
---|
getDocument, getPostUrl, getRoot, getXml, getXmlPretty, send |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BackorderItemsRequest(MerchantInfo merchantInfo)
merchantInfo
- The merchant's information.public BackorderItemsRequest(MerchantInfo merchantInfo, java.lang.String googleOrderNumber)
merchantInfo
- The merchant's information.googleOrderNumber
- The Google order number.Method Detail |
---|
public boolean isSendEmail()
public void setSendEmail(boolean sendEmail)
sendEmail
- The boolean value.public void addItem(java.lang.String merchantItemId)
merchantItemId
- The merchant's item id.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |