public abstract class AbstractRequest extends Object implements Request
| Modifier and Type | Field and Description |
|---|---|
ArrayList<String> |
allowedLanguages |
protected ArrayList<String> |
ogoneFields |
protected String |
ogoneUri |
protected Map<String,Object> |
parameters |
protected String |
response |
protected ShaComposer |
shaComposer |
| Constructor and Description |
|---|
AbstractRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getOgoneUri() |
String |
getShaSign() |
void |
setCn(String customerName) |
void |
setCustomerName(String customerName) |
void |
setOgoneUri(String ogoneUri) |
void |
setParameter(String parameter,
Object value) |
void |
setPspid(String pspid) |
void |
setShaComposer(ShaComposer shaComposer) |
Map |
toArray() |
boolean |
validate() |
protected void |
validateOgoneUri(String ogoneUri) |
protected void |
validateUri(String uri) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequiredFields, getValidOgoneUrisprotected String ogoneUri
protected String response
protected ShaComposer shaComposer
public void setShaComposer(ShaComposer shaComposer)
public String getOgoneUri()
getOgoneUri in interface Requestpublic String getShaSign() throws ShaComposerException
getShaSign in interface RequestShaComposerExceptionpublic void setPspid(String pspid)
public void setOgoneUri(String ogoneUri)
public void setCustomerName(String customerName)
public void setCn(String customerName)
protected void validateUri(String uri)
protected void validateOgoneUri(String ogoneUri)
public boolean validate()
throws RequiredFieldException
RequiredFieldExceptionpublic Map toArray() throws RequiredFieldException
toArray in interface RequestRequiredFieldExceptionCopyright © 2016. All rights reserved.