public class AbstractModificationRequest<T extends AbstractModificationRequest<T>> extends Object
| Constructor and Description |
|---|
AbstractModificationRequest() |
| Modifier and Type | Method and Description |
|---|---|
T |
authorisationCode(String authorisationCode) |
boolean |
equals(Object o) |
Map<String,String> |
getAdditionalData() |
String |
getAuthorisationCode()
the authorisation code of the payment (only required for the \"authoriseReferral\" method)
|
String |
getMerchantAccount()
the merchant account which will be used to process the payment
|
Map<String,String> |
getOrCreateAdditionalData()
get additionalData map
Create the map if doesn't exists
|
String |
getOriginalReference()
the pspreference of the payment to modify
|
String |
getReference()
the reference assigned to this modification
|
int |
hashCode() |
T |
merchantAccount(String merchantAccount) |
T |
originalReference(String originalReference) |
T |
reference(String reference) |
void |
setAdditionalData(Map<String,String> additionalData) |
void |
setAuthorisationCode(String authorisationCode) |
T |
setInvoiceLines(List<InvoiceLine> invoiceLines)
Set invoiceLines in addtionalData
|
void |
setMerchantAccount(String merchantAccount) |
void |
setOriginalReference(String originalReference) |
void |
setReference(String reference) |
T |
setSplitPayment(SplitPayment splitPayment) |
String |
toString() |
public String getReference()
public void setReference(String reference)
public String getAuthorisationCode()
public void setAuthorisationCode(String authorisationCode)
public String getOriginalReference()
public void setOriginalReference(String originalReference)
public String getMerchantAccount()
public void setMerchantAccount(String merchantAccount)
public Map<String,String> getOrCreateAdditionalData()
public T setInvoiceLines(List<InvoiceLine> invoiceLines)
public T setSplitPayment(SplitPayment splitPayment)
Copyright © 2018. All rights reserved.