public class PaycodeRequest extends SofortLibRequest
| Constructor and Description |
|---|
PaycodeRequest(java.lang.Integer projectId,
java.lang.Double amount,
java.util.List<java.lang.String> reasons)
Instantiates a new sofort paycode request.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAbortUrl()
Gets the abort url.
|
java.lang.Double |
getAmount()
Gets the amount.
|
java.lang.String |
getCurrencyCode()
Gets the currency code.
|
java.util.Date |
getEndDate()
Gets the end date.
|
java.lang.String |
getInterfaceVersion()
Gets the interface version.
|
java.lang.String |
getLanguageCode()
Gets the language code.
|
java.util.List<Notification> |
getNotificationEmails()
Gets the notification emails.
|
java.util.List<Notification> |
getNotificationUrls()
Gets the notification urls.
|
java.lang.Integer |
getProjectId()
Gets the project id.
|
java.util.List<java.lang.String> |
getReasons()
Gets the reasons.
|
Bank |
getSender()
Gets the sender.
|
java.util.Date |
getStartDate()
Gets the start date.
|
java.lang.Boolean |
getSuccessLinkRedirect()
Gets the success link redirect.
|
java.lang.String |
getSuccessUrl()
Gets the success url.
|
java.util.List<java.lang.String> |
getUserVariables()
Gets the user variables.
|
PaycodeRequest |
setAbortUrl(java.lang.String abortUrl)
Sets the abort url.
|
PaycodeRequest |
setCurrencyCode(java.lang.String currencyCode)
Sets the currency code.
|
PaycodeRequest |
setEndDate(java.util.Date endDate)
Sets the end date.
|
PaycodeRequest |
setInterfaceVersion(java.lang.String interfaceVersion)
Sets the interface version.
|
PaycodeRequest |
setLanguageCode(java.lang.String languageCode)
Sets the language code.
|
PaycodeRequest |
setNotificationEmails(java.util.List<Notification> notificationEmails)
Sets the notification emails.
|
PaycodeRequest |
setNotificationUrls(java.util.List<Notification> notificationUrls)
Sets the notification urls.
|
PaycodeRequest |
setSender(Bank sender)
Sets the sender.
|
PaycodeRequest |
setStartDate(java.util.Date startDate)
Sets the start date.
|
PaycodeRequest |
setSuccessLinkRedirect(boolean successLinkRedirect)
Sets the success link redirect.
|
PaycodeRequest |
setSuccessUrl(java.lang.String successUrl)
Sets the success url.
|
PaycodeRequest |
setUserVariables(java.util.List<java.lang.String> userVariables)
Sets the user variables.
|
public PaycodeRequest(java.lang.Integer projectId,
java.lang.Double amount,
java.util.List<java.lang.String> reasons)
projectId - the project identification numberamount - double valuereasons - transfer reasonspublic java.lang.Integer getProjectId()
public java.lang.String getInterfaceVersion()
public PaycodeRequest setInterfaceVersion(java.lang.String interfaceVersion)
interfaceVersion - the interface versionpublic java.lang.String getLanguageCode()
public PaycodeRequest setLanguageCode(java.lang.String languageCode)
languageCode - the language codepublic java.util.Date getStartDate()
public PaycodeRequest setStartDate(java.util.Date startDate)
startDate - the start datepublic java.util.Date getEndDate()
public PaycodeRequest setEndDate(java.util.Date endDate)
endDate - the end datepublic java.lang.Double getAmount()
public java.lang.String getCurrencyCode()
public PaycodeRequest setCurrencyCode(java.lang.String currencyCode)
currencyCode - the new currency codepublic Bank getSender()
public PaycodeRequest setSender(Bank sender)
sender - the senderpublic java.util.List<java.lang.String> getReasons()
public java.lang.String getSuccessUrl()
public PaycodeRequest setSuccessUrl(java.lang.String successUrl)
successUrl - the success urlpublic java.lang.Boolean getSuccessLinkRedirect()
public PaycodeRequest setSuccessLinkRedirect(boolean successLinkRedirect)
successLinkRedirect - the new success link redirectpublic java.lang.String getAbortUrl()
public PaycodeRequest setAbortUrl(java.lang.String abortUrl)
abortUrl - the abort urlpublic java.util.List<Notification> getNotificationUrls()
public PaycodeRequest setNotificationUrls(java.util.List<Notification> notificationUrls)
notificationUrls - the notification urlspublic java.util.List<Notification> getNotificationEmails()
public PaycodeRequest setNotificationEmails(java.util.List<Notification> notificationEmails)
notificationEmails - the notification emailspublic java.util.List<java.lang.String> getUserVariables()
public PaycodeRequest setUserVariables(java.util.List<java.lang.String> userVariables)
userVariables - the user variables