|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.mikeblanton.paypal.PayPalData
PayPalData is the base class for all IPN and PDT data responses. It can be extended to allow for other response types in the future. See the PayPal Integration Manual for a detailed description of these fields.
| Field Summary | |
static java.lang.String |
FAIL
|
static java.lang.String |
SUCCESS
|
static java.lang.String |
UNVERIFIED
|
static java.lang.String |
VERIFIED
|
| Constructor Summary | |
PayPalData()
|
|
PayPalData(java.io.InputStream _dataStream)
|
|
| Method Summary | |
java.lang.String |
getAddressCity()
Returns the value of the PayPal field address_city |
java.lang.String |
getAddressCountry()
Returns the value of the PayPal field address_country |
java.lang.String |
getAddressName()
Returns the value of the PayPal field address_name |
java.lang.String |
getAddressState()
Returns the value of the PayPal field address_state |
java.lang.String |
getAddressStatus()
Returns the value of the PayPal field address_status |
java.lang.String |
getAddressStreet()
Returns the value of the PayPal field address_street |
java.lang.String |
getAddressZip()
Returns the value of the PayPal field address_zip |
java.lang.String |
getAuctionBuyerId()
Returns the value of the PayPal field auction_buyer_id |
java.lang.String |
getAuctionClosingDate()
Returns the value of the PayPal field auction_closing_date |
java.lang.String |
getAuctionMultiItem()
Returns the value of the PayPal field auction_multi_item |
java.lang.String |
getBusiness()
Returns the value of the PayPal field business |
java.lang.String |
getCustom()
Returns the value of the PayPal field custom |
java.lang.String |
getExchangeRate()
Returns the value of the PayPal field exchange_rate |
java.lang.String |
getFirstName()
Returns the value of the PayPal field first_name |
java.lang.String |
getForAuction()
Returns the value of the PayPal field for_auction |
java.lang.String |
getInvoice()
Returns the value of the PayPal field invoice |
java.lang.String |
getItemName()
Returns the value of the PayPal field item_name |
java.lang.String |
getItemName(int i)
Returns the value of the PayPal field item_name{x} |
java.lang.String |
getItemNumber()
Returns the value of the PayPal field item_number |
java.lang.String |
getItemNumber(int i)
Returns the value of the PayPal field item_number{x} |
java.lang.String |
getLastName()
Returns the value of the PayPal field last_name |
java.lang.String |
getMassPayTxnId(int i)
Returns the value of the PayPal field masspay_txn_id_{x} |
java.lang.String |
getMcCurrency()
Returns the value of the PayPal field mc_currency |
java.lang.String |
getMcFee()
Returns the value of the PayPal field mc_fee |
java.lang.String |
getMcGross()
Returns the value of the PayPal field mc_gross |
java.lang.String |
getMcGross(int i)
Returns the value of the PayPal field mc_gross_{x} |
java.lang.String |
getMcHandling()
Returns the value of the PayPal field mc_handling |
java.lang.String |
getMcHandling(int i)
Returns the value of the PayPal field mc_handling{x} |
java.lang.String |
getMcShipping()
Returns the value of the PayPal field mc_shipping |
java.lang.String |
getMcShipping(int i)
Returns the value of the PayPal field mc_shipping{x} |
java.lang.String |
getMcTax(int i)
Returns the value of the PayPal field mc_tax{x} |
java.lang.String |
getMemo()
Returns the value of the PayPal field memo |
java.lang.String |
getNote()
Returns the value of the PayPal field note |
java.lang.String |
getNumCartItems()
Returns the value of the PayPal field num_cart_items |
java.lang.String |
getOptionName(int i)
Returns the value of the PayPal field option_name{x} |
java.lang.String |
getOptionSelection(int i)
Returns the value of the PayPal field option_selection{x} |
java.lang.String |
getParentTxnId()
Returns the value of the PayPal field parent_txn_id |
java.lang.String |
getPayerBusinessName()
Returns the value of the PayPal field payer_business_name |
java.lang.String |
getPayerEmail()
Returns the value of the PayPal field payer_email |
java.lang.String |
getPayerId()
Returns the value of the PayPal field payer_id |
java.lang.String |
getPayerStatus()
Returns the value of the PayPal field payer_status |
java.lang.String |
getPaymentDate()
Returns the value of the PayPal field payment_date |
java.lang.String |
getPaymentFee()
Returns the value of the PayPal field payment_fee |
java.lang.String |
getPaymentFee(int i)
Returns the value of the PayPal field payment_fee_{x} |
java.lang.String |
getPaymentGoss(int i)
Returns the value of the PayPal field payment_gross_{x} |
java.lang.String |
getPaymentGross()
Returns the value of the PayPal field payment_gross |
java.lang.String |
getPaymentStatus()
Returns the value of the PayPal field payment_status |
java.lang.String |
getPaymentType()
Returns the value of the PayPal field payment_type |
java.lang.String |
getPaymnetGross(int i)
Returns the value of the PayPal field payment_gross_{x} |
java.lang.String |
getPendingReason()
Returns the value of the PayPal field pending_reason |
java.lang.String |
getQuantity()
Returns the value of the PayPal field quantity |
java.lang.String |
getQuantity(int i)
Returns the value of the PayPal field quantity{x} |
java.lang.String |
getReasonCode()
Returns the value of the PayPal field reason_code |
java.lang.String |
getReceiverEmail()
Returns the value of the PayPal field receiver_email |
java.lang.String |
getReceiverEmail(int i)
Returns the value of the PayPal field receiver_email_{x} |
java.lang.String |
getReceiverId()
Returns the value of the PayPal field receiver_id |
java.lang.String |
getSettleAmount()
Returns the value of the PayPal field settle_amount |
java.lang.String |
getSettleCurrency()
Returns the value of the PayPal field settle_currency |
java.lang.String |
getStatus(int i)
Returns the value of the PayPal field status_{x} |
java.lang.String |
getTax()
Returns the value of the PayPal field tax |
java.lang.String |
getTax(int i)
Returns the value of the PayPal field tax{x} |
java.lang.String |
getTransactionId()
|
java.lang.String |
getTxnId()
Returns the value of the PayPal field txn_id |
java.lang.String |
getTxnType()
Returns the value of the PayPal field txn_type |
java.lang.String |
getUniqueId(int i)
Returns the value of the PayPal field unique_id_{x} |
java.lang.String |
getValue(java.lang.String _name)
|
java.lang.String |
getVerifySign()
Returns the value of the PayPal field verify_sign |
boolean |
isValid()
|
protected void |
setValid(boolean valid)
|
protected void |
setValue(java.lang.String _name,
java.lang.String _value)
|
java.lang.String |
toDetailedString()
Outputs the Data as a String, the first line being a Formatted Date/Time Stamp ( ----- MMM DD, YYYY hh:mm:ss {AM/PM} -----), followed
by each Name/Value Pair on a new line, followed by ----- END -----. |
java.lang.String |
toString()
Outputs the Data as a String with each Name/Value Pair on a new line. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String VERIFIED
public static final java.lang.String UNVERIFIED
public static final java.lang.String SUCCESS
public static final java.lang.String FAIL
| Constructor Detail |
public PayPalData()
public PayPalData(java.io.InputStream _dataStream)
throws java.io.IOException,
PayPalException
| Method Detail |
public java.lang.String getValue(java.lang.String _name)
protected void setValue(java.lang.String _name,
java.lang.String _value)
public boolean isValid()
protected void setValid(boolean valid)
valid - The valid to set.public java.lang.String getTransactionId()
public java.lang.String getBusiness()
businesspublic java.lang.String getReceiverEmail()
receiver_emailpublic java.lang.String getReceiverId()
receiver_idpublic java.lang.String getItemName()
item_namepublic java.lang.String getItemNumber()
item_numberpublic java.lang.String getItemNumber(int i)
item_number{x}i - public java.lang.String getQuantity()
quantitypublic java.lang.String getQuantity(int i)
quantity{x}i - public java.lang.String getInvoice()
invoicepublic java.lang.String getCustom()
custompublic java.lang.String getMemo()
memopublic java.lang.String getNote()
notepublic java.lang.String getTax()
taxpublic java.lang.String getTax(int i)
tax{x}i - public java.lang.String getOptionName(int i)
option_name{x}i - public java.lang.String getOptionSelection(int i)
option_selection{x}i - public java.lang.String getNumCartItems()
num_cart_itemspublic java.lang.String getMcGross(int i)
mc_gross_{x}i - public java.lang.String getMcHandling(int i)
mc_handling{x}i - public java.lang.String getMcShipping(int i)
mc_shipping{x}i - public java.lang.String getPaymentStatus()
payment_statuspublic java.lang.String getPendingReason()
pending_reasonpublic java.lang.String getReasonCode()
reason_codepublic java.lang.String getPaymentDate()
payment_datepublic java.lang.String getPaymnetGross(int i)
payment_gross_{x}i - public java.lang.String getTxnId()
txn_idpublic java.lang.String getParentTxnId()
parent_txn_idpublic java.lang.String getTxnType()
txn_typepublic java.lang.String getPaymentType()
payment_typepublic java.lang.String getMcGross()
mc_grosspublic java.lang.String getMcFee()
mc_feepublic java.lang.String getMcCurrency()
mc_currencypublic java.lang.String getMcHandling()
mc_handlingpublic java.lang.String getMcShipping()
mc_shippingpublic java.lang.String getSettleAmount()
settle_amountpublic java.lang.String getSettleCurrency()
settle_currencypublic java.lang.String getExchangeRate()
exchange_ratepublic java.lang.String getPaymentGross()
payment_grosspublic java.lang.String getPaymentFee()
payment_feepublic java.lang.String getForAuction()
for_auctionpublic java.lang.String getAuctionBuyerId()
auction_buyer_idpublic java.lang.String getAuctionClosingDate()
auction_closing_datepublic java.lang.String getAuctionMultiItem()
auction_multi_itempublic java.lang.String getFirstName()
first_namepublic java.lang.String getLastName()
last_namepublic java.lang.String getPayerBusinessName()
payer_business_namepublic java.lang.String getAddressName()
address_namepublic java.lang.String getAddressStreet()
address_streetpublic java.lang.String getAddressCity()
address_citypublic java.lang.String getAddressState()
address_statepublic java.lang.String getAddressZip()
address_zippublic java.lang.String getAddressCountry()
address_countrypublic java.lang.String getAddressStatus()
address_statuspublic java.lang.String getPayerEmail()
payer_emailpublic java.lang.String getPayerId()
payer_idpublic java.lang.String getPayerStatus()
payer_statuspublic java.lang.String getMassPayTxnId(int i)
masspay_txn_id_{x}i - public java.lang.String getReceiverEmail(int i)
receiver_email_{x}i - public java.lang.String getPaymentGoss(int i)
payment_gross_{x}i - public java.lang.String getStatus(int i)
status_{x}i - public java.lang.String getPaymentFee(int i)
payment_fee_{x}i - public java.lang.String getUniqueId(int i)
unique_id_{x}i - public java.lang.String getItemName(int i)
item_name{x}i - public java.lang.String getMcTax(int i)
mc_tax{x}i - public java.lang.String getVerifySign()
verify_signpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toDetailedString()
----- MMM DD, YYYY hh:mm:ss {AM/PM} -----), followed
by each Name/Value Pair on a new line, followed by ----- END -----.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||