public class Gateway extends GenericParcelable implements Validator, JSONifiable
paymentProcessorName
authorizationFrontEnd
acquiringBackEnd
paymentGatewayApi
accountName
altMid
mid
fns
tid
storeId
supportsTipping
frontendMid
backendMid
mcc
tokenType
groupId
debitKeyCode
sredCode
supportsTipAdjust
supportsNakedCredit
supportsMultiPayToken
supportsPreauthOverage
closingTime
newBatchCloseEnabled
production
Modifier and Type | Class and Description |
---|---|
static interface |
Gateway.Constraints |
JSONifiable.Creator<T>
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<Gateway> |
CREATOR |
static JSONifiable.Creator<Gateway> |
JSON_CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier | Constructor and Description |
---|---|
|
Gateway()
Constructs a new empty instance.
|
protected |
Gateway(boolean noInit)
Constructs a new empty instance.
|
|
Gateway(Gateway src)
Constructs a new instance that is a deep copy of the source instance.
|
|
Gateway(JSONObject jsonObject)
Construct a new instance backed by the given JSONObject, the parameter is not copied so changes to it will be
reflected in this instance and vice-versa.
|
|
Gateway(String json)
Constructs a new instance from the given JSON String.
|
Modifier and Type | Method and Description |
---|---|
void |
clearAccountName()
Clears the 'accountName' field, the 'has' method for this field will now return false
|
void |
clearAcquiringBackEnd()
Clears the 'acquiringBackEnd' field, the 'has' method for this field will now return false
|
void |
clearAltMid()
Clears the 'altMid' field, the 'has' method for this field will now return false
|
void |
clearAuthorizationFrontEnd()
Clears the 'authorizationFrontEnd' field, the 'has' method for this field will now return false
|
void |
clearBackendMid()
Clears the 'backendMid' field, the 'has' method for this field will now return false
|
void |
clearClosingTime()
Clears the 'closingTime' field, the 'has' method for this field will now return false
|
void |
clearDebitKeyCode()
Clears the 'debitKeyCode' field, the 'has' method for this field will now return false
|
void |
clearFns()
Clears the 'fns' field, the 'has' method for this field will now return false
|
void |
clearFrontendMid()
Clears the 'frontendMid' field, the 'has' method for this field will now return false
|
void |
clearGroupId()
Clears the 'groupId' field, the 'has' method for this field will now return false
|
void |
clearMcc()
Clears the 'mcc' field, the 'has' method for this field will now return false
|
void |
clearMid()
Clears the 'mid' field, the 'has' method for this field will now return false
|
void |
clearNewBatchCloseEnabled()
Clears the 'newBatchCloseEnabled' field, the 'has' method for this field will now return false
|
void |
clearPaymentGatewayApi()
Clears the 'paymentGatewayApi' field, the 'has' method for this field will now return false
|
void |
clearPaymentProcessorName()
Clears the 'paymentProcessorName' field, the 'has' method for this field will now return false
|
void |
clearProduction()
Clears the 'production' field, the 'has' method for this field will now return false
|
void |
clearSredCode()
Clears the 'sredCode' field, the 'has' method for this field will now return false
|
void |
clearStoreId()
Clears the 'storeId' field, the 'has' method for this field will now return false
|
void |
clearSupportsMultiPayToken()
Clears the 'supportsMultiPayToken' field, the 'has' method for this field will now return false
|
void |
clearSupportsNakedCredit()
Clears the 'supportsNakedCredit' field, the 'has' method for this field will now return false
|
void |
clearSupportsPreauthOverage()
Clears the 'supportsPreauthOverage' field, the 'has' method for this field will now return false
|
void |
clearSupportsTipAdjust()
Clears the 'supportsTipAdjust' field, the 'has' method for this field will now return false
|
void |
clearSupportsTipping()
Clears the 'supportsTipping' field, the 'has' method for this field will now return false
|
void |
clearTid()
Clears the 'tid' field, the 'has' method for this field will now return false
|
void |
clearTokenType()
Clears the 'tokenType' field, the 'has' method for this field will now return false
|
boolean |
containsChanges()
Returns true if this instance has any changes.
|
Gateway |
copyChanges()
Create a copy of this instance that contains only fields that were set after the constructor was called.
|
String |
getAccountName() |
String |
getAcquiringBackEnd() |
String |
getAltMid() |
String |
getAuthorizationFrontEnd() |
String |
getBackendMid() |
String |
getClosingTime() |
String |
getDebitKeyCode() |
String |
getFns() |
String |
getFrontendMid() |
protected GenericClient |
getGenericClient() |
String |
getGroupId() |
JSONObject |
getJSONObject()
Returns the internal JSONObject backing this instance, the return value is not a copy so changes to it will be
reflected in this instance and vice-versa.
|
String |
getMcc()
Merchant Category Code
|
String |
getMid() |
Boolean |
getNewBatchCloseEnabled() |
String |
getPaymentGatewayApi() |
String |
getPaymentProcessorName() |
Boolean |
getProduction()
Field to identify whether the payment processor is real or demo.
|
String |
getSredCode() |
String |
getStoreId() |
Boolean |
getSupportsMultiPayToken() |
Boolean |
getSupportsNakedCredit() |
Boolean |
getSupportsPreauthOverage()
If true the gateway will allow an amount greater than the preauth amount to be captured.
|
Boolean |
getSupportsTipAdjust() |
Boolean |
getSupportsTipping() |
String |
getTid() |
String |
getTokenType() |
boolean |
hasAccountName()
Checks whether the 'accountName' field has been set, however the value could be null
|
boolean |
hasAcquiringBackEnd()
Checks whether the 'acquiringBackEnd' field has been set, however the value could be null
|
boolean |
hasAltMid()
Checks whether the 'altMid' field has been set, however the value could be null
|
boolean |
hasAuthorizationFrontEnd()
Checks whether the 'authorizationFrontEnd' field has been set, however the value could be null
|
boolean |
hasBackendMid()
Checks whether the 'backendMid' field has been set, however the value could be null
|
boolean |
hasClosingTime()
Checks whether the 'closingTime' field has been set, however the value could be null
|
boolean |
hasDebitKeyCode()
Checks whether the 'debitKeyCode' field has been set, however the value could be null
|
boolean |
hasFns()
Checks whether the 'fns' field has been set, however the value could be null
|
boolean |
hasFrontendMid()
Checks whether the 'frontendMid' field has been set, however the value could be null
|
boolean |
hasGroupId()
Checks whether the 'groupId' field has been set, however the value could be null
|
boolean |
hasMcc()
Checks whether the 'mcc' field has been set, however the value could be null
|
boolean |
hasMid()
Checks whether the 'mid' field has been set, however the value could be null
|
boolean |
hasNewBatchCloseEnabled()
Checks whether the 'newBatchCloseEnabled' field has been set, however the value could be null
|
boolean |
hasPaymentGatewayApi()
Checks whether the 'paymentGatewayApi' field has been set, however the value could be null
|
boolean |
hasPaymentProcessorName()
Checks whether the 'paymentProcessorName' field has been set, however the value could be null
|
boolean |
hasProduction()
Checks whether the 'production' field has been set, however the value could be null
|
boolean |
hasSredCode()
Checks whether the 'sredCode' field has been set, however the value could be null
|
boolean |
hasStoreId()
Checks whether the 'storeId' field has been set, however the value could be null
|
boolean |
hasSupportsMultiPayToken()
Checks whether the 'supportsMultiPayToken' field has been set, however the value could be null
|
boolean |
hasSupportsNakedCredit()
Checks whether the 'supportsNakedCredit' field has been set, however the value could be null
|
boolean |
hasSupportsPreauthOverage()
Checks whether the 'supportsPreauthOverage' field has been set, however the value could be null
|
boolean |
hasSupportsTipAdjust()
Checks whether the 'supportsTipAdjust' field has been set, however the value could be null
|
boolean |
hasSupportsTipping()
Checks whether the 'supportsTipping' field has been set, however the value could be null
|
boolean |
hasTid()
Checks whether the 'tid' field has been set, however the value could be null
|
boolean |
hasTokenType()
Checks whether the 'tokenType' field has been set, however the value could be null
|
boolean |
isNotNullAccountName()
Checks whether the 'accountName' field is set and is not null
|
boolean |
isNotNullAcquiringBackEnd()
Checks whether the 'acquiringBackEnd' field is set and is not null
|
boolean |
isNotNullAltMid()
Checks whether the 'altMid' field is set and is not null
|
boolean |
isNotNullAuthorizationFrontEnd()
Checks whether the 'authorizationFrontEnd' field is set and is not null
|
boolean |
isNotNullBackendMid()
Checks whether the 'backendMid' field is set and is not null
|
boolean |
isNotNullClosingTime()
Checks whether the 'closingTime' field is set and is not null
|
boolean |
isNotNullDebitKeyCode()
Checks whether the 'debitKeyCode' field is set and is not null
|
boolean |
isNotNullFns()
Checks whether the 'fns' field is set and is not null
|
boolean |
isNotNullFrontendMid()
Checks whether the 'frontendMid' field is set and is not null
|
boolean |
isNotNullGroupId()
Checks whether the 'groupId' field is set and is not null
|
boolean |
isNotNullMcc()
Checks whether the 'mcc' field is set and is not null
|
boolean |
isNotNullMid()
Checks whether the 'mid' field is set and is not null
|
boolean |
isNotNullNewBatchCloseEnabled()
Checks whether the 'newBatchCloseEnabled' field is set and is not null
|
boolean |
isNotNullPaymentGatewayApi()
Checks whether the 'paymentGatewayApi' field is set and is not null
|
boolean |
isNotNullPaymentProcessorName()
Checks whether the 'paymentProcessorName' field is set and is not null
|
boolean |
isNotNullProduction()
Checks whether the 'production' field is set and is not null
|
boolean |
isNotNullSredCode()
Checks whether the 'sredCode' field is set and is not null
|
boolean |
isNotNullStoreId()
Checks whether the 'storeId' field is set and is not null
|
boolean |
isNotNullSupportsMultiPayToken()
Checks whether the 'supportsMultiPayToken' field is set and is not null
|
boolean |
isNotNullSupportsNakedCredit()
Checks whether the 'supportsNakedCredit' field is set and is not null
|
boolean |
isNotNullSupportsPreauthOverage()
Checks whether the 'supportsPreauthOverage' field is set and is not null
|
boolean |
isNotNullSupportsTipAdjust()
Checks whether the 'supportsTipAdjust' field is set and is not null
|
boolean |
isNotNullSupportsTipping()
Checks whether the 'supportsTipping' field is set and is not null
|
boolean |
isNotNullTid()
Checks whether the 'tid' field is set and is not null
|
boolean |
isNotNullTokenType()
Checks whether the 'tokenType' field is set and is not null
|
void |
mergeChanges(Gateway src)
Copy all the changed fields from the given source to this instance.
|
void |
resetChangeLog()
Reset the log of changes made to this instance, calling copyChanges() after this would return an empty instance.
|
Gateway |
setAccountName(String accountName)
Sets the field 'accountName'.
|
Gateway |
setAcquiringBackEnd(String acquiringBackEnd)
Sets the field 'acquiringBackEnd'.
|
Gateway |
setAltMid(String altMid)
Sets the field 'altMid'.
|
Gateway |
setAuthorizationFrontEnd(String authorizationFrontEnd)
Sets the field 'authorizationFrontEnd'.
|
Gateway |
setBackendMid(String backendMid)
Sets the field 'backendMid'.
|
Gateway |
setClosingTime(String closingTime)
Sets the field 'closingTime'.
|
Gateway |
setDebitKeyCode(String debitKeyCode)
Sets the field 'debitKeyCode'.
|
Gateway |
setFns(String fns)
Sets the field 'fns'.
|
Gateway |
setFrontendMid(String frontendMid)
Sets the field 'frontendMid'.
|
Gateway |
setGroupId(String groupId)
Sets the field 'groupId'.
|
Gateway |
setMcc(String mcc)
Sets the field 'mcc'.
|
Gateway |
setMid(String mid)
Sets the field 'mid'.
|
Gateway |
setNewBatchCloseEnabled(Boolean newBatchCloseEnabled)
Sets the field 'newBatchCloseEnabled'.
|
Gateway |
setPaymentGatewayApi(String paymentGatewayApi)
Sets the field 'paymentGatewayApi'.
|
Gateway |
setPaymentProcessorName(String paymentProcessorName)
Sets the field 'paymentProcessorName'.
|
Gateway |
setProduction(Boolean production)
Sets the field 'production'.
|
Gateway |
setSredCode(String sredCode)
Sets the field 'sredCode'.
|
Gateway |
setStoreId(String storeId)
Sets the field 'storeId'.
|
Gateway |
setSupportsMultiPayToken(Boolean supportsMultiPayToken)
Sets the field 'supportsMultiPayToken'.
|
Gateway |
setSupportsNakedCredit(Boolean supportsNakedCredit)
Sets the field 'supportsNakedCredit'.
|
Gateway |
setSupportsPreauthOverage(Boolean supportsPreauthOverage)
Sets the field 'supportsPreauthOverage'.
|
Gateway |
setSupportsTipAdjust(Boolean supportsTipAdjust)
Sets the field 'supportsTipAdjust'.
|
Gateway |
setSupportsTipping(Boolean supportsTipping)
Sets the field 'supportsTipping'.
|
Gateway |
setTid(String tid)
Sets the field 'tid'.
|
Gateway |
setTokenType(String tokenType)
Sets the field 'tokenType'.
|
void |
validate() |
describeContents, getBundle, toString, writeToParcel
public static final Parcelable.Creator<Gateway> CREATOR
public static final JSONifiable.Creator<Gateway> JSON_CREATOR
public Gateway()
protected Gateway(boolean noInit)
public Gateway(String json) throws IllegalArgumentException
IllegalArgumentException
public Gateway(JSONObject jsonObject)
public Gateway(Gateway src)
public String getPaymentProcessorName()
public String getAuthorizationFrontEnd()
public String getAcquiringBackEnd()
public String getPaymentGatewayApi()
public String getAccountName()
public String getAltMid()
public String getMid()
public String getFns()
public String getTid()
public String getStoreId()
public Boolean getSupportsTipping()
public String getFrontendMid()
public String getBackendMid()
public String getMcc()
public String getTokenType()
public String getGroupId()
public String getDebitKeyCode()
public String getSredCode()
public Boolean getSupportsTipAdjust()
public Boolean getSupportsNakedCredit()
public Boolean getSupportsMultiPayToken()
public Boolean getSupportsPreauthOverage()
public String getClosingTime()
public Boolean getNewBatchCloseEnabled()
public Boolean getProduction()
protected GenericClient getGenericClient()
getGenericClient
in class GenericParcelable
public JSONObject getJSONObject()
getJSONObject
in interface JSONifiable
public boolean isNotNullPaymentProcessorName()
public boolean isNotNullAuthorizationFrontEnd()
public boolean isNotNullAcquiringBackEnd()
public boolean isNotNullPaymentGatewayApi()
public boolean isNotNullAccountName()
public boolean isNotNullAltMid()
public boolean isNotNullMid()
public boolean isNotNullFns()
public boolean isNotNullTid()
public boolean isNotNullStoreId()
public boolean isNotNullSupportsTipping()
public boolean isNotNullFrontendMid()
public boolean isNotNullBackendMid()
public boolean isNotNullMcc()
public boolean isNotNullTokenType()
public boolean isNotNullGroupId()
public boolean isNotNullDebitKeyCode()
public boolean isNotNullSredCode()
public boolean isNotNullSupportsTipAdjust()
public boolean isNotNullSupportsNakedCredit()
public boolean isNotNullSupportsMultiPayToken()
public boolean isNotNullSupportsPreauthOverage()
public boolean isNotNullClosingTime()
public boolean isNotNullNewBatchCloseEnabled()
public boolean isNotNullProduction()
public boolean hasPaymentProcessorName()
public boolean hasAuthorizationFrontEnd()
public boolean hasAcquiringBackEnd()
public boolean hasPaymentGatewayApi()
public boolean hasAccountName()
public boolean hasAltMid()
public boolean hasMid()
public boolean hasFns()
public boolean hasTid()
public boolean hasStoreId()
public boolean hasSupportsTipping()
public boolean hasFrontendMid()
public boolean hasBackendMid()
public boolean hasMcc()
public boolean hasTokenType()
public boolean hasGroupId()
public boolean hasDebitKeyCode()
public boolean hasSredCode()
public boolean hasSupportsTipAdjust()
public boolean hasSupportsNakedCredit()
public boolean hasSupportsMultiPayToken()
public boolean hasSupportsPreauthOverage()
public boolean hasClosingTime()
public boolean hasNewBatchCloseEnabled()
public boolean hasProduction()
public Gateway setPaymentProcessorName(String paymentProcessorName)
public Gateway setAuthorizationFrontEnd(String authorizationFrontEnd)
public Gateway setAcquiringBackEnd(String acquiringBackEnd)
public Gateway setPaymentGatewayApi(String paymentGatewayApi)
public Gateway setSupportsTipping(Boolean supportsTipping)
public Gateway setSupportsTipAdjust(Boolean supportsTipAdjust)
public Gateway setSupportsNakedCredit(Boolean supportsNakedCredit)
public Gateway setSupportsMultiPayToken(Boolean supportsMultiPayToken)
public Gateway setSupportsPreauthOverage(Boolean supportsPreauthOverage)
public Gateway setNewBatchCloseEnabled(Boolean newBatchCloseEnabled)
public void clearPaymentProcessorName()
public void clearAuthorizationFrontEnd()
public void clearAcquiringBackEnd()
public void clearPaymentGatewayApi()
public void clearAccountName()
public void clearAltMid()
public void clearMid()
public void clearFns()
public void clearTid()
public void clearStoreId()
public void clearSupportsTipping()
public void clearFrontendMid()
public void clearBackendMid()
public void clearMcc()
public void clearTokenType()
public void clearGroupId()
public void clearDebitKeyCode()
public void clearSredCode()
public void clearSupportsTipAdjust()
public void clearSupportsNakedCredit()
public void clearSupportsMultiPayToken()
public void clearSupportsPreauthOverage()
public void clearClosingTime()
public void clearNewBatchCloseEnabled()
public void clearProduction()
public boolean containsChanges()
public void resetChangeLog()
public Gateway copyChanges()
public void mergeChanges(Gateway src)