Class RecurringResponse
This class contains response messages specific to the recurring transactions.
Following example shows how to obtain and use the recurring response.
................... // Trans is the recurring transaction. ................... // Submit the transaction. Response resp = trans.SubmitTransaction(); *
if (resp != null) { // Get the Transaction Response parameters. TransactionResponse trxnResponse = resp.getTransactionResponse(); if (trxnResponse!= null) { System.out.println("RESULT = " + trxnResponse.Result); System.out.println("RESPMSG = " + trxnResponse.RespMsg); } *
// Get the Recurring Response parameters. RecurringResponse recurResponse = resp.getRecurringResponse(); if (recurResponse != null) { System.out.println("RPREF = " + recurResponse.getRPRef()); System.out.println("PROFILEID = " + recurResponse.getProfileId()); } } *
...................
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAcct()Gets Acct.Masked credit card number.Gets AggregateAmt.Amount collected so far for scheduled payments.Gets the AggregateOptAmt parameter.Amount collected through sending optional transactions.getAmt()Gets the amt parameter.Base dollar amount to be billed.getCity()Gets the city parameter.Gets the companyName parameter.Gets the Country parameter.Gets the CreationDate parameter.Gets the Currency parameter.getEmail()Gets the email parameter.getEnd()Gets the profileName parameter.Gets the ExpDate parameter.Expiration date of the credit card account.Gets the firstName parameter.Gets the Frequency parameter.Gets the profileName parameter.Gets the LastChanged parameter.Gets the lastname parameter.Gets the maxfailpayments parameter.The number of payment periods (specified by PAYPERIOD) for which the transaction is allowed to fail before PayPal cancels a profile.Gets the middleName parameter.getName()Gets the name parameter.Gets the next payment parameter.Date that the next payment is due.Gets the NextPaymentNumber parameter.Gets the NumFailPayments parameter.Number of payments that failed.Gets the PaymentsLeft parameter.Gets the PayPeriod parameter.Specifies how often the payment occurs.Gets the PhoneNum parameter.Gets the Profile ID of the original profile.Gets the profileName parameter.Gets the retryNumDays parameter.getRpRef()Gets the Reference number to this particular action request.Gets the RPStateparameter.Gets the ShipToCity parameter.Gets the ShipToCountry parameter.Gets the hipToFName parameter.Gets the ShipToLName parameter.Gets the ShipToMName parameter.Gets the profileName parameter.Gets the ShipToStreet parameter.Gets the ShipToZip parameter.getStart()Gets the Beginning date for the recurring billing cycle.getState()Gets the state parameter.Gets the Current status of the profile.Gets the street parameter.Gets the tendertype.getTerm()Gets the Number of payments to be made over the life of the agreement.Gets the PNREF of the optional transaction.Gets the RESPMSG of the optional transaction.Gets the RESULT of the optional transaction.getZip()Gets the Zip parameter.protected voidMethods inherited from class paypal.payflow.BaseResponseDataObject
setParams
-
Constructor Details
-
RecurringResponse
protected RecurringResponse()
-
-
Method Details
-
getProfileId
Gets the Profile ID of the original profile.- Returns:
- - String
Maps to Payflow Parameter: PROFILEID
-
getRpRef
Gets the Reference number to this particular action request.- Returns:
- - String
Maps to Payflow Parameter: RPREF
-
getTrxPNRef
Gets the PNREF of the optional transaction.- Returns:
- - String
Maps to Payflow Parameter: TRXPNREF
-
getTrxResult
Gets the RESULT of the optional transaction.- Returns:
- - String
Maps to Payflow Parameter: TRXRESULT
-
getTrxRespMsg
Gets the RESPMSG of the optional transaction.- Returns:
- - String
Maps to Payflow Parameter: TRXRESPMSG
-
getProfileName
Gets the profileName parameter.- Returns:
- - String
Maps to Payflow Parameter: PROFILENAME
-
getStart
Gets the Beginning date for the recurring billing cycle.- Returns:
- - String
Maps to Payflow Parameter: START
-
getTerm
Gets the Number of payments to be made over the life of the agreement.- Returns:
- - String
Maps to Payflow Parameter: TERM
-
getPayPeriod
Gets the PayPeriod parameter.Specifies how often the payment occurs.- Returns:
- - String
Maps to Payflow Parameter: PAYPERIOD
-
getStatus
Gets the Current status of the profile.- Returns:
- - String
Maps to Payflow Parameter: STATUS
-
getTender
Gets the tendertype.- Returns:
- - String
Maps to Payflow Parameter: TENDER
-
getPaymentsLeft
Gets the PaymentsLeft parameter. Number of payments left to be billed.- Returns:
- - String
Maps to Payflow Parameter: PAYMENTSLEFT
-
getNextPayment
Gets the next payment parameter.Date that the next payment is due.- Returns:
- - String
Maps to Payflow Parameter: NEXTPAYMENT
-
getEnd
Gets the profileName parameter.- Returns:
- - String
Maps to Payflow Parameter: END
-
getAggregateAmt
Gets AggregateAmt.Amount collected so far for scheduled payments.- Returns:
- - String
Maps to Payflow Parameter: AGGREGATEAMT
-
getAggregateOptionalAmt
Gets the AggregateOptAmt parameter.Amount collected through sending optional transactions.- Returns:
- - String
Maps to Payflow Parameter: AGGREGATEOPTIONALAMT
-
getAmt
Gets the amt parameter.Base dollar amount to be billed.- Returns:
- - String
Maps to Payflow Parameter: AMT
-
getAcct
Gets Acct.Masked credit card number.- Returns:
- - String
Maps to Payflow Parameter: ACCT
-
getExpDate
Gets the ExpDate parameter.Expiration date of the credit card account.- Returns:
- - String
Maps to Payflow Parameter: EXPDATE
-
getMaxFailPayments
Gets the maxfailpayments parameter.The number of payment periods (specified by PAYPERIOD) for which the transaction is allowed to fail before PayPal cancels a profile.- Returns:
- - String
Maps to Payflow Parameter: MAXFAILPAYMENTS
-
getNumFailPayments
Gets the NumFailPayments parameter.Number of payments that failed.- Returns:
- - String
Maps to Payflow Parameter: NUMFAILPAYMENTS
-
getRetryNumDays
Gets the retryNumDays parameter.- Returns:
- - String
Maps to Payflow Parameter: RETRYNUMDAYS
-
getEmail
Gets the email parameter.- Returns:
- - String
Maps to Payflow Parameter: EMAIL
-
getCompanyName
Gets the companyName parameter.- Returns:
- - String
Maps to Payflow Parameter: COMPANYNAME
-
getName
Gets the name parameter.- Returns:
- - String
Maps to Payflow Parameter: NAME
-
getFirstName
Gets the firstName parameter.- Returns:
- - String
Maps to Payflow Parameter: FIRSTNAME
-
getMiddleName
Gets the middleName parameter.- Returns:
- - String
Maps to Payflow Parameter: MIDDLENAME
-
getLastname
Gets the lastname parameter.- Returns:
- - String
Maps to Payflow Parameter: LASTNAME
-
getStreet
Gets the street parameter.- Returns:
- - String
Maps to Payflow Parameter: STREET
-
getCity
Gets the city parameter.- Returns:
- - String
Maps to Payflow Parameter: CITY
-
getState
Gets the state parameter.- Returns:
- - String
Maps to Payflow Parameter: STATE
-
getZip
Gets the Zip parameter.- Returns:
- - String
Maps to Payflow Parameter: ZIP
-
getCountry
Gets the Country parameter.- Returns:
- - String
Maps to Payflow Parameter: COUNTRY
-
getPhoneNum
Gets the PhoneNum parameter.- Returns:
- - String
Maps to Payflow Parameter: PHONENUM
-
getShipToFName
Gets the hipToFName parameter.- Returns:
- - String
Maps to Payflow Parameter: SHIPTOFIRSTNAME
-
getShipToMName
Gets the ShipToMName parameter.- Returns:
- - String
Maps to Payflow Parameter: SHIPTOMIDDLENAME
-
getShipToLName
Gets the ShipToLName parameter.- Returns:
- - String
Maps to Payflow Parameter: SHIPTOLASTNAME
-
getShipToStreet
Gets the ShipToStreet parameter.- Returns:
- - String
Maps to Payflow Parameter: SHIPTOSTREET
-
getShipToCity
Gets the ShipToCity parameter.- Returns:
- - String
Maps to Payflow Parameter: SHIPTOCITY
-
getShipToState
Gets the profileName parameter.- Returns:
- - String
Maps to Payflow Parameter: PROFILENAME
-
getShipToZip
Gets the ShipToZip parameter.- Returns:
- - String
Maps to Payflow Parameter: SHIPTOZIP
-
getShipToCountry
Gets the ShipToCountry parameter.- Returns:
- - String
Maps to Payflow Parameter: SHIPTOCOUNTRY
-
getCreationDate
Gets the CreationDate parameter.- Returns:
- - String
Maps to Payflow Parameter: CREATIONDATE
-
getLastChanged
Gets the LastChanged parameter.- Returns:
- - String
Maps to Payflow Parameter: LASTCHANGED
-
getRpState
Gets the RPStateparameter.- Returns:
- - String
Maps to Payflow Parameter: RPSTATE
-
getNextPaymentNumber
Gets the NextPaymentNumber parameter.- Returns:
- - String
Maps to Payflow Parameter: NEXTPAYMENTNUMBER
-
getFrequency
Gets the Frequency parameter.- Returns:
- - String
Maps to Payflow Parameter: FREQUENCY
-
getCurrency
Gets the Currency parameter.- Returns:
- - String
Maps to Payflow Parameter: CURRENCY
-
getInquiryParams
Gets the profileName parameter.- Returns:
- - String
Maps to Payflow Parameter: PROFILENAME
-
setParams
- Overrides:
setParamsin classBaseResponseDataObject
-