Package com.clover.sdk.v3.payments
Class Payment
- java.lang.Object
-
- com.clover.sdk.GenericParcelable
-
- com.clover.sdk.v3.payments.Payment
-
- All Implemented Interfaces:
Parcelable
,JSONifiable
,Validator
public class Payment extends GenericParcelable implements Validator, JSONifiable
This is an auto-generated Clover data object.Fields
id
order
device
tender
amount
tipAmount
taxAmount
cashbackAmount
cashTendered
externalPaymentId
employee
createdTime
clientCreatedTime
gatewayProcessingTime
modifiedTime
offline
result
cardTransaction
serviceCharge
attributes
additionalCharges
taxRates
refunds
note
lineItemPayments
authorization
voidPaymentRef
voidReason
voidReasonDetails
dccInfo
transactionSettings
germanInfo
appTracking
cashAdvanceExtra
transactionInfo
signatureDisclaimer
externalReferenceId
merchant
increments
purchaseCardL2
purchaseCardL3
oceanGatewayInfo
terminalManagementComponents
emiInfo
paymentBatchInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Payment.Constraints
-
Nested classes/interfaces inherited from interface com.clover.sdk.JSONifiable
JSONifiable.Creator<T>
-
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static Parcelable.Creator<Payment>
CREATOR
static JSONifiable.Creator<Payment>
JSON_CREATOR
-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Modifier Constructor Description Payment()
Constructs a new empty instance.protected
Payment(boolean noInit)
Constructs a new empty instance.Payment(Payment src)
Constructs a new instance that is a deep copy of the source instance.Payment(String json)
Constructs a new instance from the given JSON String.Payment(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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearAdditionalCharges()
Clears the 'additionalCharges' field, the 'has' method for this field will now return falsevoid
clearAmount()
Clears the 'amount' field, the 'has' method for this field will now return falsevoid
clearAppTracking()
Clears the 'appTracking' field, the 'has' method for this field will now return falsevoid
clearAttributes()
Clears the 'attributes' field, the 'has' method for this field will now return falsevoid
clearAuthorization()
Clears the 'authorization' field, the 'has' method for this field will now return falsevoid
clearCardTransaction()
Clears the 'cardTransaction' field, the 'has' method for this field will now return falsevoid
clearCashAdvanceExtra()
Clears the 'cashAdvanceExtra' field, the 'has' method for this field will now return falsevoid
clearCashbackAmount()
Clears the 'cashbackAmount' field, the 'has' method for this field will now return falsevoid
clearCashTendered()
Clears the 'cashTendered' field, the 'has' method for this field will now return falsevoid
clearClientCreatedTime()
Clears the 'clientCreatedTime' field, the 'has' method for this field will now return falsevoid
clearCreatedTime()
Clears the 'createdTime' field, the 'has' method for this field will now return falsevoid
clearDccInfo()
Clears the 'dccInfo' field, the 'has' method for this field will now return falsevoid
clearDevice()
Clears the 'device' field, the 'has' method for this field will now return falsevoid
clearEmiInfo()
Clears the 'emiInfo' field, the 'has' method for this field will now return falsevoid
clearEmployee()
Clears the 'employee' field, the 'has' method for this field will now return falsevoid
clearExternalPaymentId()
Clears the 'externalPaymentId' field, the 'has' method for this field will now return falsevoid
clearExternalReferenceId()
Clears the 'externalReferenceId' field, the 'has' method for this field will now return falsevoid
clearGatewayProcessingTime()
Clears the 'gatewayProcessingTime' field, the 'has' method for this field will now return falsevoid
clearGermanInfo()
Clears the 'germanInfo' field, the 'has' method for this field will now return falsevoid
clearId()
Clears the 'id' field, the 'has' method for this field will now return falsevoid
clearIncrements()
Clears the 'increments' field, the 'has' method for this field will now return falsevoid
clearLineItemPayments()
Clears the 'lineItemPayments' field, the 'has' method for this field will now return falsevoid
clearMerchant()
Clears the 'merchant' field, the 'has' method for this field will now return falsevoid
clearModifiedTime()
Clears the 'modifiedTime' field, the 'has' method for this field will now return falsevoid
clearNote()
Clears the 'note' field, the 'has' method for this field will now return falsevoid
clearOceanGatewayInfo()
Clears the 'oceanGatewayInfo' field, the 'has' method for this field will now return falsevoid
clearOffline()
Clears the 'offline' field, the 'has' method for this field will now return falsevoid
clearOrder()
Clears the 'order' field, the 'has' method for this field will now return falsevoid
clearPaymentBatchInfo()
Clears the 'paymentBatchInfo' field, the 'has' method for this field will now return falsevoid
clearPurchaseCardL2()
Clears the 'purchaseCardL2' field, the 'has' method for this field will now return falsevoid
clearPurchaseCardL3()
Clears the 'purchaseCardL3' field, the 'has' method for this field will now return falsevoid
clearRefunds()
Clears the 'refunds' field, the 'has' method for this field will now return falsevoid
clearResult()
Clears the 'result' field, the 'has' method for this field will now return falsevoid
clearServiceCharge()
Clears the 'serviceCharge' field, the 'has' method for this field will now return falsevoid
clearSignatureDisclaimer()
Clears the 'signatureDisclaimer' field, the 'has' method for this field will now return falsevoid
clearTaxAmount()
Clears the 'taxAmount' field, the 'has' method for this field will now return falsevoid
clearTaxRates()
Clears the 'taxRates' field, the 'has' method for this field will now return falsevoid
clearTender()
Clears the 'tender' field, the 'has' method for this field will now return falsevoid
clearTerminalManagementComponents()
Clears the 'terminalManagementComponents' field, the 'has' method for this field will now return falsevoid
clearTipAmount()
Clears the 'tipAmount' field, the 'has' method for this field will now return falsevoid
clearTransactionInfo()
Clears the 'transactionInfo' field, the 'has' method for this field will now return falsevoid
clearTransactionSettings()
Clears the 'transactionSettings' field, the 'has' method for this field will now return falsevoid
clearVoidPaymentRef()
Clears the 'voidPaymentRef' field, the 'has' method for this field will now return falsevoid
clearVoidReason()
Clears the 'voidReason' field, the 'has' method for this field will now return falsevoid
clearVoidReasonDetails()
Clears the 'voidReasonDetails' field, the 'has' method for this field will now return falseboolean
containsChanges()
Returns true if this instance has any changes.Payment
copyChanges()
Create a copy of this instance that contains only fields that were set after the constructor was called.List<AdditionalChargeAmount>
getAdditionalCharges()
Long
getAmount()
Total amount paidAppTracking
getAppTracking()
Tracking information for the app that created this payment.Map<String,String>
getAttributes()
Reference
getAuthorization()
Authorization which this payment is associated to (opening or closing payment) if one existsCardTransaction
getCardTransaction()
Information about the card used for credit/debit card paymentsCashAdvanceExtra
getCashAdvanceExtra()
Information specific to cash advance transactions.Long
getCashbackAmount()
Amount given back in a cash back transactionLong
getCashTendered()
Amount of cash given by the customerLong
getClientCreatedTime()
Long
getCreatedTime()
Time payment was recorded on serverDCCInfo
getDccInfo()
Dynamic Currency Conversion informationReference
getDevice()
Device which processed the transaction for this payment, a 128-bit UUID, not a normal base-13 Clover ID.PaymentEmiInfo
getEmiInfo()
Associated EMI informationReference
getEmployee()
The employee who processed the paymentString
getExternalPaymentId()
String
getExternalReferenceId()
The external reference id if associated with the paymentLong
getGatewayProcessingTime()
The time when the transaction was processed by the gatewayprotected GenericClient
getGenericClient()
GermanInfo
getGermanInfo()
German region-specific informationString
getId()
Unique identifierList<IncrementalAuthorization>
getIncrements()
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.List<LineItemPayment>
getLineItemPayments()
Reference
getMerchant()
Long
getModifiedTime()
Last modified time of the paymentString
getNote()
OceanGatewayInfo
getOceanGatewayInfo()
Ocean Gateway infoBoolean
getOffline()
Reference
getOrder()
The order with which the payment is associatedPaymentBatchInfo
getPaymentBatchInfo()
Information about the Batch used for paymentsPurchaseCardL2
getPurchaseCardL2()
Purchase card level 2 dataPurchaseCardL3
getPurchaseCardL3()
Purchase card level 3 dataList<Refund>
getRefunds()
Result
getResult()
ServiceChargeAmount
getServiceCharge()
Amount record as a service chargeSignatureDisclaimer
getSignatureDisclaimer()
Information displayed to customer for storing electronic signaturesLong
getTaxAmount()
Amount paid in taxList<PaymentTaxRate>
getTaxRates()
Tender
getTender()
The tender type associated with this payment, e.g.List<TerminalManagementComponent>
getTerminalManagementComponents()
Terminal management components as defined by Nexo.Long
getTipAmount()
Amount paid in tipsTransactionInfo
getTransactionInfo()
Transaction informationTransactionSettings
getTransactionSettings()
Per transaction settings for the paymentReference
getVoidPaymentRef()
If voided, the corresponding successful payment, and vice versaVoidReason
getVoidReason()
If voided, the reason why (when available)VoidReasonDetails
getVoidReasonDetails()
Detailed explanation on why the transaction is getting voidedboolean
hasAdditionalCharges()
Checks whether the 'additionalCharges' field has been set, however the value could be nullboolean
hasAmount()
Checks whether the 'amount' field has been set, however the value could be nullboolean
hasAppTracking()
Checks whether the 'appTracking' field has been set, however the value could be nullboolean
hasAttributes()
Checks whether the 'attributes' field has been set, however the value could be nullboolean
hasAuthorization()
Checks whether the 'authorization' field has been set, however the value could be nullboolean
hasCardTransaction()
Checks whether the 'cardTransaction' field has been set, however the value could be nullboolean
hasCashAdvanceExtra()
Checks whether the 'cashAdvanceExtra' field has been set, however the value could be nullboolean
hasCashbackAmount()
Checks whether the 'cashbackAmount' field has been set, however the value could be nullboolean
hasCashTendered()
Checks whether the 'cashTendered' field has been set, however the value could be nullboolean
hasClientCreatedTime()
Checks whether the 'clientCreatedTime' field has been set, however the value could be nullboolean
hasCreatedTime()
Checks whether the 'createdTime' field has been set, however the value could be nullboolean
hasDccInfo()
Checks whether the 'dccInfo' field has been set, however the value could be nullboolean
hasDevice()
Checks whether the 'device' field has been set, however the value could be nullboolean
hasEmiInfo()
Checks whether the 'emiInfo' field has been set, however the value could be nullboolean
hasEmployee()
Checks whether the 'employee' field has been set, however the value could be nullboolean
hasExternalPaymentId()
Checks whether the 'externalPaymentId' field has been set, however the value could be nullboolean
hasExternalReferenceId()
Checks whether the 'externalReferenceId' field has been set, however the value could be nullboolean
hasGatewayProcessingTime()
Checks whether the 'gatewayProcessingTime' field has been set, however the value could be nullboolean
hasGermanInfo()
Checks whether the 'germanInfo' field has been set, however the value could be nullboolean
hasId()
Checks whether the 'id' field has been set, however the value could be nullboolean
hasIncrements()
Checks whether the 'increments' field has been set, however the value could be nullboolean
hasLineItemPayments()
Checks whether the 'lineItemPayments' field has been set, however the value could be nullboolean
hasMerchant()
Checks whether the 'merchant' field has been set, however the value could be nullboolean
hasModifiedTime()
Checks whether the 'modifiedTime' field has been set, however the value could be nullboolean
hasNote()
Checks whether the 'note' field has been set, however the value could be nullboolean
hasOceanGatewayInfo()
Checks whether the 'oceanGatewayInfo' field has been set, however the value could be nullboolean
hasOffline()
Checks whether the 'offline' field has been set, however the value could be nullboolean
hasOrder()
Checks whether the 'order' field has been set, however the value could be nullboolean
hasPaymentBatchInfo()
Checks whether the 'paymentBatchInfo' field has been set, however the value could be nullboolean
hasPurchaseCardL2()
Checks whether the 'purchaseCardL2' field has been set, however the value could be nullboolean
hasPurchaseCardL3()
Checks whether the 'purchaseCardL3' field has been set, however the value could be nullboolean
hasRefunds()
Checks whether the 'refunds' field has been set, however the value could be nullboolean
hasResult()
Checks whether the 'result' field has been set, however the value could be nullboolean
hasServiceCharge()
Checks whether the 'serviceCharge' field has been set, however the value could be nullboolean
hasSignatureDisclaimer()
Checks whether the 'signatureDisclaimer' field has been set, however the value could be nullboolean
hasTaxAmount()
Checks whether the 'taxAmount' field has been set, however the value could be nullboolean
hasTaxRates()
Checks whether the 'taxRates' field has been set, however the value could be nullboolean
hasTender()
Checks whether the 'tender' field has been set, however the value could be nullboolean
hasTerminalManagementComponents()
Checks whether the 'terminalManagementComponents' field has been set, however the value could be nullboolean
hasTipAmount()
Checks whether the 'tipAmount' field has been set, however the value could be nullboolean
hasTransactionInfo()
Checks whether the 'transactionInfo' field has been set, however the value could be nullboolean
hasTransactionSettings()
Checks whether the 'transactionSettings' field has been set, however the value could be nullboolean
hasVoidPaymentRef()
Checks whether the 'voidPaymentRef' field has been set, however the value could be nullboolean
hasVoidReason()
Checks whether the 'voidReason' field has been set, however the value could be nullboolean
hasVoidReasonDetails()
Checks whether the 'voidReasonDetails' field has been set, however the value could be nullboolean
isNotEmptyAdditionalCharges()
Checks whether the 'additionalCharges' field is set and is not null and is not emptyboolean
isNotEmptyAttributes()
Checks whether the 'attributes' field is set and is not null and is not emptyboolean
isNotEmptyIncrements()
Checks whether the 'increments' field is set and is not null and is not emptyboolean
isNotEmptyLineItemPayments()
Checks whether the 'lineItemPayments' field is set and is not null and is not emptyboolean
isNotEmptyRefunds()
Checks whether the 'refunds' field is set and is not null and is not emptyboolean
isNotEmptyTaxRates()
Checks whether the 'taxRates' field is set and is not null and is not emptyboolean
isNotEmptyTerminalManagementComponents()
Checks whether the 'terminalManagementComponents' field is set and is not null and is not emptyboolean
isNotNullAdditionalCharges()
Checks whether the 'additionalCharges' field is set and is not nullboolean
isNotNullAmount()
Checks whether the 'amount' field is set and is not nullboolean
isNotNullAppTracking()
Checks whether the 'appTracking' field is set and is not nullboolean
isNotNullAttributes()
Checks whether the 'attributes' field is set and is not nullboolean
isNotNullAuthorization()
Checks whether the 'authorization' field is set and is not nullboolean
isNotNullCardTransaction()
Checks whether the 'cardTransaction' field is set and is not nullboolean
isNotNullCashAdvanceExtra()
Checks whether the 'cashAdvanceExtra' field is set and is not nullboolean
isNotNullCashbackAmount()
Checks whether the 'cashbackAmount' field is set and is not nullboolean
isNotNullCashTendered()
Checks whether the 'cashTendered' field is set and is not nullboolean
isNotNullClientCreatedTime()
Checks whether the 'clientCreatedTime' field is set and is not nullboolean
isNotNullCreatedTime()
Checks whether the 'createdTime' field is set and is not nullboolean
isNotNullDccInfo()
Checks whether the 'dccInfo' field is set and is not nullboolean
isNotNullDevice()
Checks whether the 'device' field is set and is not nullboolean
isNotNullEmiInfo()
Checks whether the 'emiInfo' field is set and is not nullboolean
isNotNullEmployee()
Checks whether the 'employee' field is set and is not nullboolean
isNotNullExternalPaymentId()
Checks whether the 'externalPaymentId' field is set and is not nullboolean
isNotNullExternalReferenceId()
Checks whether the 'externalReferenceId' field is set and is not nullboolean
isNotNullGatewayProcessingTime()
Checks whether the 'gatewayProcessingTime' field is set and is not nullboolean
isNotNullGermanInfo()
Checks whether the 'germanInfo' field is set and is not nullboolean
isNotNullId()
Checks whether the 'id' field is set and is not nullboolean
isNotNullIncrements()
Checks whether the 'increments' field is set and is not nullboolean
isNotNullLineItemPayments()
Checks whether the 'lineItemPayments' field is set and is not nullboolean
isNotNullMerchant()
Checks whether the 'merchant' field is set and is not nullboolean
isNotNullModifiedTime()
Checks whether the 'modifiedTime' field is set and is not nullboolean
isNotNullNote()
Checks whether the 'note' field is set and is not nullboolean
isNotNullOceanGatewayInfo()
Checks whether the 'oceanGatewayInfo' field is set and is not nullboolean
isNotNullOffline()
Checks whether the 'offline' field is set and is not nullboolean
isNotNullOrder()
Checks whether the 'order' field is set and is not nullboolean
isNotNullPaymentBatchInfo()
Checks whether the 'paymentBatchInfo' field is set and is not nullboolean
isNotNullPurchaseCardL2()
Checks whether the 'purchaseCardL2' field is set and is not nullboolean
isNotNullPurchaseCardL3()
Checks whether the 'purchaseCardL3' field is set and is not nullboolean
isNotNullRefunds()
Checks whether the 'refunds' field is set and is not nullboolean
isNotNullResult()
Checks whether the 'result' field is set and is not nullboolean
isNotNullServiceCharge()
Checks whether the 'serviceCharge' field is set and is not nullboolean
isNotNullSignatureDisclaimer()
Checks whether the 'signatureDisclaimer' field is set and is not nullboolean
isNotNullTaxAmount()
Checks whether the 'taxAmount' field is set and is not nullboolean
isNotNullTaxRates()
Checks whether the 'taxRates' field is set and is not nullboolean
isNotNullTender()
Checks whether the 'tender' field is set and is not nullboolean
isNotNullTerminalManagementComponents()
Checks whether the 'terminalManagementComponents' field is set and is not nullboolean
isNotNullTipAmount()
Checks whether the 'tipAmount' field is set and is not nullboolean
isNotNullTransactionInfo()
Checks whether the 'transactionInfo' field is set and is not nullboolean
isNotNullTransactionSettings()
Checks whether the 'transactionSettings' field is set and is not nullboolean
isNotNullVoidPaymentRef()
Checks whether the 'voidPaymentRef' field is set and is not nullboolean
isNotNullVoidReason()
Checks whether the 'voidReason' field is set and is not nullboolean
isNotNullVoidReasonDetails()
Checks whether the 'voidReasonDetails' field is set and is not nullvoid
mergeChanges(Payment 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.Payment
setAdditionalCharges(List<AdditionalChargeAmount> additionalCharges)
Sets the field 'additionalCharges'.Payment
setAmount(Long amount)
Sets the field 'amount'.Payment
setAppTracking(AppTracking appTracking)
Sets the field 'appTracking'.Payment
setAttributes(Map<String,String> attributes)
Sets the field 'attributes'.Payment
setAuthorization(Reference authorization)
Sets the field 'authorization'.Payment
setCardTransaction(CardTransaction cardTransaction)
Sets the field 'cardTransaction'.Payment
setCashAdvanceExtra(CashAdvanceExtra cashAdvanceExtra)
Sets the field 'cashAdvanceExtra'.Payment
setCashbackAmount(Long cashbackAmount)
Sets the field 'cashbackAmount'.Payment
setCashTendered(Long cashTendered)
Sets the field 'cashTendered'.Payment
setClientCreatedTime(Long clientCreatedTime)
Sets the field 'clientCreatedTime'.Payment
setCreatedTime(Long createdTime)
Sets the field 'createdTime'.Payment
setDccInfo(DCCInfo dccInfo)
Sets the field 'dccInfo'.Payment
setDevice(Reference device)
Sets the field 'device'.Payment
setEmiInfo(PaymentEmiInfo emiInfo)
Sets the field 'emiInfo'.Payment
setEmployee(Reference employee)
Sets the field 'employee'.Payment
setExternalPaymentId(String externalPaymentId)
Sets the field 'externalPaymentId'.Payment
setExternalReferenceId(String externalReferenceId)
Sets the field 'externalReferenceId'.Payment
setGatewayProcessingTime(Long gatewayProcessingTime)
Sets the field 'gatewayProcessingTime'.Payment
setGermanInfo(GermanInfo germanInfo)
Sets the field 'germanInfo'.Payment
setId(String id)
Sets the field 'id'.Payment
setIncrements(List<IncrementalAuthorization> increments)
Sets the field 'increments'.Payment
setLineItemPayments(List<LineItemPayment> lineItemPayments)
Sets the field 'lineItemPayments'.Payment
setMerchant(Reference merchant)
Sets the field 'merchant'.Payment
setModifiedTime(Long modifiedTime)
Sets the field 'modifiedTime'.Payment
setNote(String note)
Sets the field 'note'.Payment
setOceanGatewayInfo(OceanGatewayInfo oceanGatewayInfo)
Sets the field 'oceanGatewayInfo'.Payment
setOffline(Boolean offline)
Sets the field 'offline'.Payment
setOrder(Reference order)
Sets the field 'order'.Payment
setPaymentBatchInfo(PaymentBatchInfo paymentBatchInfo)
Sets the field 'paymentBatchInfo'.Payment
setPurchaseCardL2(PurchaseCardL2 purchaseCardL2)
Sets the field 'purchaseCardL2'.Payment
setPurchaseCardL3(PurchaseCardL3 purchaseCardL3)
Sets the field 'purchaseCardL3'.Payment
setRefunds(List<Refund> refunds)
Sets the field 'refunds'.Payment
setResult(Result result)
Sets the field 'result'.Payment
setServiceCharge(ServiceChargeAmount serviceCharge)
Sets the field 'serviceCharge'.Payment
setSignatureDisclaimer(SignatureDisclaimer signatureDisclaimer)
Sets the field 'signatureDisclaimer'.Payment
setTaxAmount(Long taxAmount)
Sets the field 'taxAmount'.Payment
setTaxRates(List<PaymentTaxRate> taxRates)
Sets the field 'taxRates'.Payment
setTender(Tender tender)
Sets the field 'tender'.Payment
setTerminalManagementComponents(List<TerminalManagementComponent> terminalManagementComponents)
Sets the field 'terminalManagementComponents'.Payment
setTipAmount(Long tipAmount)
Sets the field 'tipAmount'.Payment
setTransactionInfo(TransactionInfo transactionInfo)
Sets the field 'transactionInfo'.Payment
setTransactionSettings(TransactionSettings transactionSettings)
Sets the field 'transactionSettings'.Payment
setVoidPaymentRef(Reference voidPaymentRef)
Sets the field 'voidPaymentRef'.Payment
setVoidReason(VoidReason voidReason)
Sets the field 'voidReason'.Payment
setVoidReasonDetails(VoidReasonDetails voidReasonDetails)
Sets the field 'voidReasonDetails'.void
validate()
-
Methods inherited from class com.clover.sdk.GenericParcelable
describeContents, getBundle, toString, writeToParcel
-
-
-
-
Field Detail
-
CREATOR
public static final Parcelable.Creator<Payment> CREATOR
-
JSON_CREATOR
public static final JSONifiable.Creator<Payment> JSON_CREATOR
-
-
Constructor Detail
-
Payment
public Payment()
Constructs a new empty instance.
-
Payment
protected Payment(boolean noInit)
Constructs a new empty instance.
-
Payment
public Payment(String json) throws IllegalArgumentException
Constructs a new instance from the given JSON String.- Throws:
IllegalArgumentException
-
Payment
public Payment(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.
-
Payment
public Payment(Payment src)
Constructs a new instance that is a deep copy of the source instance. It does not copy the bundle or changelog.
-
-
Method Detail
-
getId
public String getId()
Unique identifier
-
getOrder
public Reference getOrder()
The order with which the payment is associated
-
getDevice
public Reference getDevice()
Device which processed the transaction for this payment, a 128-bit UUID, not a normal base-13 Clover ID.
-
getTender
public Tender getTender()
The tender type associated with this payment, e.g. credit card, cash, etc.
-
getAmount
public Long getAmount()
Total amount paid
-
getTipAmount
public Long getTipAmount()
Amount paid in tips
-
getTaxAmount
public Long getTaxAmount()
Amount paid in tax
-
getCashbackAmount
public Long getCashbackAmount()
Amount given back in a cash back transaction
-
getCashTendered
public Long getCashTendered()
Amount of cash given by the customer
-
getExternalPaymentId
public String getExternalPaymentId()
-
getEmployee
public Reference getEmployee()
The employee who processed the payment
-
getCreatedTime
public Long getCreatedTime()
Time payment was recorded on server
-
getClientCreatedTime
public Long getClientCreatedTime()
-
getGatewayProcessingTime
public Long getGatewayProcessingTime()
The time when the transaction was processed by the gateway
-
getModifiedTime
public Long getModifiedTime()
Last modified time of the payment
-
getOffline
public Boolean getOffline()
-
getResult
public Result getResult()
-
getCardTransaction
public CardTransaction getCardTransaction()
Information about the card used for credit/debit card payments
-
getServiceCharge
public ServiceChargeAmount getServiceCharge()
Amount record as a service charge
-
getAdditionalCharges
public List<AdditionalChargeAmount> getAdditionalCharges()
-
getTaxRates
public List<PaymentTaxRate> getTaxRates()
-
getNote
public String getNote()
-
getLineItemPayments
public List<LineItemPayment> getLineItemPayments()
-
getAuthorization
public Reference getAuthorization()
Authorization which this payment is associated to (opening or closing payment) if one exists
-
getVoidPaymentRef
public Reference getVoidPaymentRef()
If voided, the corresponding successful payment, and vice versa
-
getVoidReason
public VoidReason getVoidReason()
If voided, the reason why (when available)
-
getVoidReasonDetails
public VoidReasonDetails getVoidReasonDetails()
Detailed explanation on why the transaction is getting voided
-
getDccInfo
public DCCInfo getDccInfo()
Dynamic Currency Conversion information
-
getTransactionSettings
public TransactionSettings getTransactionSettings()
Per transaction settings for the payment
-
getGermanInfo
public GermanInfo getGermanInfo()
German region-specific information
-
getAppTracking
public AppTracking getAppTracking()
Tracking information for the app that created this payment.
-
getCashAdvanceExtra
public CashAdvanceExtra getCashAdvanceExtra()
Information specific to cash advance transactions.
-
getTransactionInfo
public TransactionInfo getTransactionInfo()
Transaction information
-
getSignatureDisclaimer
public SignatureDisclaimer getSignatureDisclaimer()
Information displayed to customer for storing electronic signatures
-
getExternalReferenceId
public String getExternalReferenceId()
The external reference id if associated with the payment
-
getMerchant
public Reference getMerchant()
-
getIncrements
public List<IncrementalAuthorization> getIncrements()
-
getPurchaseCardL2
public PurchaseCardL2 getPurchaseCardL2()
Purchase card level 2 data
-
getPurchaseCardL3
public PurchaseCardL3 getPurchaseCardL3()
Purchase card level 3 data
-
getOceanGatewayInfo
public OceanGatewayInfo getOceanGatewayInfo()
Ocean Gateway info
-
getTerminalManagementComponents
public List<TerminalManagementComponent> getTerminalManagementComponents()
Terminal management components as defined by Nexo. They contain general information on the terminal, the installed payment app, etc.
-
getEmiInfo
public PaymentEmiInfo getEmiInfo()
Associated EMI information
-
getPaymentBatchInfo
public PaymentBatchInfo getPaymentBatchInfo()
Information about the Batch used for payments
-
getGenericClient
protected GenericClient getGenericClient()
- Specified by:
getGenericClient
in classGenericParcelable
-
getJSONObject
public 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.- Specified by:
getJSONObject
in interfaceJSONifiable
-
isNotNullId
public boolean isNotNullId()
Checks whether the 'id' field is set and is not null
-
isNotNullOrder
public boolean isNotNullOrder()
Checks whether the 'order' field is set and is not null
-
isNotNullDevice
public boolean isNotNullDevice()
Checks whether the 'device' field is set and is not null
-
isNotNullTender
public boolean isNotNullTender()
Checks whether the 'tender' field is set and is not null
-
isNotNullAmount
public boolean isNotNullAmount()
Checks whether the 'amount' field is set and is not null
-
isNotNullTipAmount
public boolean isNotNullTipAmount()
Checks whether the 'tipAmount' field is set and is not null
-
isNotNullTaxAmount
public boolean isNotNullTaxAmount()
Checks whether the 'taxAmount' field is set and is not null
-
isNotNullCashbackAmount
public boolean isNotNullCashbackAmount()
Checks whether the 'cashbackAmount' field is set and is not null
-
isNotNullCashTendered
public boolean isNotNullCashTendered()
Checks whether the 'cashTendered' field is set and is not null
-
isNotNullExternalPaymentId
public boolean isNotNullExternalPaymentId()
Checks whether the 'externalPaymentId' field is set and is not null
-
isNotNullEmployee
public boolean isNotNullEmployee()
Checks whether the 'employee' field is set and is not null
-
isNotNullCreatedTime
public boolean isNotNullCreatedTime()
Checks whether the 'createdTime' field is set and is not null
-
isNotNullClientCreatedTime
public boolean isNotNullClientCreatedTime()
Checks whether the 'clientCreatedTime' field is set and is not null
-
isNotNullGatewayProcessingTime
public boolean isNotNullGatewayProcessingTime()
Checks whether the 'gatewayProcessingTime' field is set and is not null
-
isNotNullModifiedTime
public boolean isNotNullModifiedTime()
Checks whether the 'modifiedTime' field is set and is not null
-
isNotNullOffline
public boolean isNotNullOffline()
Checks whether the 'offline' field is set and is not null
-
isNotNullResult
public boolean isNotNullResult()
Checks whether the 'result' field is set and is not null
-
isNotNullCardTransaction
public boolean isNotNullCardTransaction()
Checks whether the 'cardTransaction' field is set and is not null
-
isNotNullServiceCharge
public boolean isNotNullServiceCharge()
Checks whether the 'serviceCharge' field is set and is not null
-
isNotNullAttributes
public boolean isNotNullAttributes()
Checks whether the 'attributes' field is set and is not null
-
isNotEmptyAttributes
public boolean isNotEmptyAttributes()
Checks whether the 'attributes' field is set and is not null and is not empty
-
isNotNullAdditionalCharges
public boolean isNotNullAdditionalCharges()
Checks whether the 'additionalCharges' field is set and is not null
-
isNotEmptyAdditionalCharges
public boolean isNotEmptyAdditionalCharges()
Checks whether the 'additionalCharges' field is set and is not null and is not empty
-
isNotNullTaxRates
public boolean isNotNullTaxRates()
Checks whether the 'taxRates' field is set and is not null
-
isNotEmptyTaxRates
public boolean isNotEmptyTaxRates()
Checks whether the 'taxRates' field is set and is not null and is not empty
-
isNotNullRefunds
public boolean isNotNullRefunds()
Checks whether the 'refunds' field is set and is not null
-
isNotEmptyRefunds
public boolean isNotEmptyRefunds()
Checks whether the 'refunds' field is set and is not null and is not empty
-
isNotNullNote
public boolean isNotNullNote()
Checks whether the 'note' field is set and is not null
-
isNotNullLineItemPayments
public boolean isNotNullLineItemPayments()
Checks whether the 'lineItemPayments' field is set and is not null
-
isNotEmptyLineItemPayments
public boolean isNotEmptyLineItemPayments()
Checks whether the 'lineItemPayments' field is set and is not null and is not empty
-
isNotNullAuthorization
public boolean isNotNullAuthorization()
Checks whether the 'authorization' field is set and is not null
-
isNotNullVoidPaymentRef
public boolean isNotNullVoidPaymentRef()
Checks whether the 'voidPaymentRef' field is set and is not null
-
isNotNullVoidReason
public boolean isNotNullVoidReason()
Checks whether the 'voidReason' field is set and is not null
-
isNotNullVoidReasonDetails
public boolean isNotNullVoidReasonDetails()
Checks whether the 'voidReasonDetails' field is set and is not null
-
isNotNullDccInfo
public boolean isNotNullDccInfo()
Checks whether the 'dccInfo' field is set and is not null
-
isNotNullTransactionSettings
public boolean isNotNullTransactionSettings()
Checks whether the 'transactionSettings' field is set and is not null
-
isNotNullGermanInfo
public boolean isNotNullGermanInfo()
Checks whether the 'germanInfo' field is set and is not null
-
isNotNullAppTracking
public boolean isNotNullAppTracking()
Checks whether the 'appTracking' field is set and is not null
-
isNotNullCashAdvanceExtra
public boolean isNotNullCashAdvanceExtra()
Checks whether the 'cashAdvanceExtra' field is set and is not null
-
isNotNullTransactionInfo
public boolean isNotNullTransactionInfo()
Checks whether the 'transactionInfo' field is set and is not null
-
isNotNullSignatureDisclaimer
public boolean isNotNullSignatureDisclaimer()
Checks whether the 'signatureDisclaimer' field is set and is not null
-
isNotNullExternalReferenceId
public boolean isNotNullExternalReferenceId()
Checks whether the 'externalReferenceId' field is set and is not null
-
isNotNullMerchant
public boolean isNotNullMerchant()
Checks whether the 'merchant' field is set and is not null
-
isNotNullIncrements
public boolean isNotNullIncrements()
Checks whether the 'increments' field is set and is not null
-
isNotEmptyIncrements
public boolean isNotEmptyIncrements()
Checks whether the 'increments' field is set and is not null and is not empty
-
isNotNullPurchaseCardL2
public boolean isNotNullPurchaseCardL2()
Checks whether the 'purchaseCardL2' field is set and is not null
-
isNotNullPurchaseCardL3
public boolean isNotNullPurchaseCardL3()
Checks whether the 'purchaseCardL3' field is set and is not null
-
isNotNullOceanGatewayInfo
public boolean isNotNullOceanGatewayInfo()
Checks whether the 'oceanGatewayInfo' field is set and is not null
-
isNotNullTerminalManagementComponents
public boolean isNotNullTerminalManagementComponents()
Checks whether the 'terminalManagementComponents' field is set and is not null
-
isNotEmptyTerminalManagementComponents
public boolean isNotEmptyTerminalManagementComponents()
Checks whether the 'terminalManagementComponents' field is set and is not null and is not empty
-
isNotNullEmiInfo
public boolean isNotNullEmiInfo()
Checks whether the 'emiInfo' field is set and is not null
-
isNotNullPaymentBatchInfo
public boolean isNotNullPaymentBatchInfo()
Checks whether the 'paymentBatchInfo' field is set and is not null
-
hasId
public boolean hasId()
Checks whether the 'id' field has been set, however the value could be null
-
hasOrder
public boolean hasOrder()
Checks whether the 'order' field has been set, however the value could be null
-
hasDevice
public boolean hasDevice()
Checks whether the 'device' field has been set, however the value could be null
-
hasTender
public boolean hasTender()
Checks whether the 'tender' field has been set, however the value could be null
-
hasAmount
public boolean hasAmount()
Checks whether the 'amount' field has been set, however the value could be null
-
hasTipAmount
public boolean hasTipAmount()
Checks whether the 'tipAmount' field has been set, however the value could be null
-
hasTaxAmount
public boolean hasTaxAmount()
Checks whether the 'taxAmount' field has been set, however the value could be null
-
hasCashbackAmount
public boolean hasCashbackAmount()
Checks whether the 'cashbackAmount' field has been set, however the value could be null
-
hasCashTendered
public boolean hasCashTendered()
Checks whether the 'cashTendered' field has been set, however the value could be null
-
hasExternalPaymentId
public boolean hasExternalPaymentId()
Checks whether the 'externalPaymentId' field has been set, however the value could be null
-
hasEmployee
public boolean hasEmployee()
Checks whether the 'employee' field has been set, however the value could be null
-
hasCreatedTime
public boolean hasCreatedTime()
Checks whether the 'createdTime' field has been set, however the value could be null
-
hasClientCreatedTime
public boolean hasClientCreatedTime()
Checks whether the 'clientCreatedTime' field has been set, however the value could be null
-
hasGatewayProcessingTime
public boolean hasGatewayProcessingTime()
Checks whether the 'gatewayProcessingTime' field has been set, however the value could be null
-
hasModifiedTime
public boolean hasModifiedTime()
Checks whether the 'modifiedTime' field has been set, however the value could be null
-
hasOffline
public boolean hasOffline()
Checks whether the 'offline' field has been set, however the value could be null
-
hasResult
public boolean hasResult()
Checks whether the 'result' field has been set, however the value could be null
-
hasCardTransaction
public boolean hasCardTransaction()
Checks whether the 'cardTransaction' field has been set, however the value could be null
-
hasServiceCharge
public boolean hasServiceCharge()
Checks whether the 'serviceCharge' field has been set, however the value could be null
-
hasAttributes
public boolean hasAttributes()
Checks whether the 'attributes' field has been set, however the value could be null
-
hasAdditionalCharges
public boolean hasAdditionalCharges()
Checks whether the 'additionalCharges' field has been set, however the value could be null
-
hasTaxRates
public boolean hasTaxRates()
Checks whether the 'taxRates' field has been set, however the value could be null
-
hasRefunds
public boolean hasRefunds()
Checks whether the 'refunds' field has been set, however the value could be null
-
hasNote
public boolean hasNote()
Checks whether the 'note' field has been set, however the value could be null
-
hasLineItemPayments
public boolean hasLineItemPayments()
Checks whether the 'lineItemPayments' field has been set, however the value could be null
-
hasAuthorization
public boolean hasAuthorization()
Checks whether the 'authorization' field has been set, however the value could be null
-
hasVoidPaymentRef
public boolean hasVoidPaymentRef()
Checks whether the 'voidPaymentRef' field has been set, however the value could be null
-
hasVoidReason
public boolean hasVoidReason()
Checks whether the 'voidReason' field has been set, however the value could be null
-
hasVoidReasonDetails
public boolean hasVoidReasonDetails()
Checks whether the 'voidReasonDetails' field has been set, however the value could be null
-
hasDccInfo
public boolean hasDccInfo()
Checks whether the 'dccInfo' field has been set, however the value could be null
-
hasTransactionSettings
public boolean hasTransactionSettings()
Checks whether the 'transactionSettings' field has been set, however the value could be null
-
hasGermanInfo
public boolean hasGermanInfo()
Checks whether the 'germanInfo' field has been set, however the value could be null
-
hasAppTracking
public boolean hasAppTracking()
Checks whether the 'appTracking' field has been set, however the value could be null
-
hasCashAdvanceExtra
public boolean hasCashAdvanceExtra()
Checks whether the 'cashAdvanceExtra' field has been set, however the value could be null
-
hasTransactionInfo
public boolean hasTransactionInfo()
Checks whether the 'transactionInfo' field has been set, however the value could be null
-
hasSignatureDisclaimer
public boolean hasSignatureDisclaimer()
Checks whether the 'signatureDisclaimer' field has been set, however the value could be null
-
hasExternalReferenceId
public boolean hasExternalReferenceId()
Checks whether the 'externalReferenceId' field has been set, however the value could be null
-
hasMerchant
public boolean hasMerchant()
Checks whether the 'merchant' field has been set, however the value could be null
-
hasIncrements
public boolean hasIncrements()
Checks whether the 'increments' field has been set, however the value could be null
-
hasPurchaseCardL2
public boolean hasPurchaseCardL2()
Checks whether the 'purchaseCardL2' field has been set, however the value could be null
-
hasPurchaseCardL3
public boolean hasPurchaseCardL3()
Checks whether the 'purchaseCardL3' field has been set, however the value could be null
-
hasOceanGatewayInfo
public boolean hasOceanGatewayInfo()
Checks whether the 'oceanGatewayInfo' field has been set, however the value could be null
-
hasTerminalManagementComponents
public boolean hasTerminalManagementComponents()
Checks whether the 'terminalManagementComponents' field has been set, however the value could be null
-
hasEmiInfo
public boolean hasEmiInfo()
Checks whether the 'emiInfo' field has been set, however the value could be null
-
hasPaymentBatchInfo
public boolean hasPaymentBatchInfo()
Checks whether the 'paymentBatchInfo' field has been set, however the value could be null
-
setOrder
public Payment setOrder(Reference order)
Sets the field 'order'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setDevice
public Payment setDevice(Reference device)
Sets the field 'device'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setTender
public Payment setTender(Tender tender)
Sets the field 'tender'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setCashbackAmount
public Payment setCashbackAmount(Long cashbackAmount)
Sets the field 'cashbackAmount'.
-
setExternalPaymentId
public Payment setExternalPaymentId(String externalPaymentId)
Sets the field 'externalPaymentId'.
-
setEmployee
public Payment setEmployee(Reference employee)
Sets the field 'employee'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setClientCreatedTime
public Payment setClientCreatedTime(Long clientCreatedTime)
Sets the field 'clientCreatedTime'.
-
setGatewayProcessingTime
public Payment setGatewayProcessingTime(Long gatewayProcessingTime)
Sets the field 'gatewayProcessingTime'.
-
setCardTransaction
public Payment setCardTransaction(CardTransaction cardTransaction)
Sets the field 'cardTransaction'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setServiceCharge
public Payment setServiceCharge(ServiceChargeAmount serviceCharge)
Sets the field 'serviceCharge'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setAttributes
public Payment setAttributes(Map<String,String> attributes)
Sets the field 'attributes'.
-
setAdditionalCharges
public Payment setAdditionalCharges(List<AdditionalChargeAmount> additionalCharges)
Sets the field 'additionalCharges'. Nulls in the given List are skipped. List parameter is copied, so it will not reflect any changes, but objects inside it will.
-
setTaxRates
public Payment setTaxRates(List<PaymentTaxRate> taxRates)
Sets the field 'taxRates'. Nulls in the given List are skipped. List parameter is copied, so it will not reflect any changes, but objects inside it will.
-
setRefunds
public Payment setRefunds(List<Refund> refunds)
Sets the field 'refunds'. Nulls in the given List are skipped. List parameter is copied, so it will not reflect any changes, but objects inside it will.
-
setLineItemPayments
public Payment setLineItemPayments(List<LineItemPayment> lineItemPayments)
Sets the field 'lineItemPayments'. Nulls in the given List are skipped. List parameter is copied, so it will not reflect any changes, but objects inside it will.
-
setAuthorization
public Payment setAuthorization(Reference authorization)
Sets the field 'authorization'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setVoidPaymentRef
public Payment setVoidPaymentRef(Reference voidPaymentRef)
Sets the field 'voidPaymentRef'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setVoidReason
public Payment setVoidReason(VoidReason voidReason)
Sets the field 'voidReason'.
-
setVoidReasonDetails
public Payment setVoidReasonDetails(VoidReasonDetails voidReasonDetails)
Sets the field 'voidReasonDetails'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setDccInfo
public Payment setDccInfo(DCCInfo dccInfo)
Sets the field 'dccInfo'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setTransactionSettings
public Payment setTransactionSettings(TransactionSettings transactionSettings)
Sets the field 'transactionSettings'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setGermanInfo
public Payment setGermanInfo(GermanInfo germanInfo)
Sets the field 'germanInfo'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setAppTracking
public Payment setAppTracking(AppTracking appTracking)
Sets the field 'appTracking'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setCashAdvanceExtra
public Payment setCashAdvanceExtra(CashAdvanceExtra cashAdvanceExtra)
Sets the field 'cashAdvanceExtra'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setTransactionInfo
public Payment setTransactionInfo(TransactionInfo transactionInfo)
Sets the field 'transactionInfo'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setSignatureDisclaimer
public Payment setSignatureDisclaimer(SignatureDisclaimer signatureDisclaimer)
Sets the field 'signatureDisclaimer'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setExternalReferenceId
public Payment setExternalReferenceId(String externalReferenceId)
Sets the field 'externalReferenceId'.
-
setMerchant
public Payment setMerchant(Reference merchant)
Sets the field 'merchant'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setIncrements
public Payment setIncrements(List<IncrementalAuthorization> increments)
Sets the field 'increments'. Nulls in the given List are skipped. List parameter is copied, so it will not reflect any changes, but objects inside it will.
-
setPurchaseCardL2
public Payment setPurchaseCardL2(PurchaseCardL2 purchaseCardL2)
Sets the field 'purchaseCardL2'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setPurchaseCardL3
public Payment setPurchaseCardL3(PurchaseCardL3 purchaseCardL3)
Sets the field 'purchaseCardL3'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setOceanGatewayInfo
public Payment setOceanGatewayInfo(OceanGatewayInfo oceanGatewayInfo)
Sets the field 'oceanGatewayInfo'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setTerminalManagementComponents
public Payment setTerminalManagementComponents(List<TerminalManagementComponent> terminalManagementComponents)
Sets the field 'terminalManagementComponents'. Nulls in the given List are skipped. List parameter is copied, so it will not reflect any changes, but objects inside it will.
-
setEmiInfo
public Payment setEmiInfo(PaymentEmiInfo emiInfo)
Sets the field 'emiInfo'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
setPaymentBatchInfo
public Payment setPaymentBatchInfo(PaymentBatchInfo paymentBatchInfo)
Sets the field 'paymentBatchInfo'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
-
clearId
public void clearId()
Clears the 'id' field, the 'has' method for this field will now return false
-
clearOrder
public void clearOrder()
Clears the 'order' field, the 'has' method for this field will now return false
-
clearDevice
public void clearDevice()
Clears the 'device' field, the 'has' method for this field will now return false
-
clearTender
public void clearTender()
Clears the 'tender' field, the 'has' method for this field will now return false
-
clearAmount
public void clearAmount()
Clears the 'amount' field, the 'has' method for this field will now return false
-
clearTipAmount
public void clearTipAmount()
Clears the 'tipAmount' field, the 'has' method for this field will now return false
-
clearTaxAmount
public void clearTaxAmount()
Clears the 'taxAmount' field, the 'has' method for this field will now return false
-
clearCashbackAmount
public void clearCashbackAmount()
Clears the 'cashbackAmount' field, the 'has' method for this field will now return false
-
clearCashTendered
public void clearCashTendered()
Clears the 'cashTendered' field, the 'has' method for this field will now return false
-
clearExternalPaymentId
public void clearExternalPaymentId()
Clears the 'externalPaymentId' field, the 'has' method for this field will now return false
-
clearEmployee
public void clearEmployee()
Clears the 'employee' field, the 'has' method for this field will now return false
-
clearCreatedTime
public void clearCreatedTime()
Clears the 'createdTime' field, the 'has' method for this field will now return false
-
clearClientCreatedTime
public void clearClientCreatedTime()
Clears the 'clientCreatedTime' field, the 'has' method for this field will now return false
-
clearGatewayProcessingTime
public void clearGatewayProcessingTime()
Clears the 'gatewayProcessingTime' field, the 'has' method for this field will now return false
-
clearModifiedTime
public void clearModifiedTime()
Clears the 'modifiedTime' field, the 'has' method for this field will now return false
-
clearOffline
public void clearOffline()
Clears the 'offline' field, the 'has' method for this field will now return false
-
clearResult
public void clearResult()
Clears the 'result' field, the 'has' method for this field will now return false
-
clearCardTransaction
public void clearCardTransaction()
Clears the 'cardTransaction' field, the 'has' method for this field will now return false
-
clearServiceCharge
public void clearServiceCharge()
Clears the 'serviceCharge' field, the 'has' method for this field will now return false
-
clearAttributes
public void clearAttributes()
Clears the 'attributes' field, the 'has' method for this field will now return false
-
clearAdditionalCharges
public void clearAdditionalCharges()
Clears the 'additionalCharges' field, the 'has' method for this field will now return false
-
clearTaxRates
public void clearTaxRates()
Clears the 'taxRates' field, the 'has' method for this field will now return false
-
clearRefunds
public void clearRefunds()
Clears the 'refunds' field, the 'has' method for this field will now return false
-
clearNote
public void clearNote()
Clears the 'note' field, the 'has' method for this field will now return false
-
clearLineItemPayments
public void clearLineItemPayments()
Clears the 'lineItemPayments' field, the 'has' method for this field will now return false
-
clearAuthorization
public void clearAuthorization()
Clears the 'authorization' field, the 'has' method for this field will now return false
-
clearVoidPaymentRef
public void clearVoidPaymentRef()
Clears the 'voidPaymentRef' field, the 'has' method for this field will now return false
-
clearVoidReason
public void clearVoidReason()
Clears the 'voidReason' field, the 'has' method for this field will now return false
-
clearVoidReasonDetails
public void clearVoidReasonDetails()
Clears the 'voidReasonDetails' field, the 'has' method for this field will now return false
-
clearDccInfo
public void clearDccInfo()
Clears the 'dccInfo' field, the 'has' method for this field will now return false
-
clearTransactionSettings
public void clearTransactionSettings()
Clears the 'transactionSettings' field, the 'has' method for this field will now return false
-
clearGermanInfo
public void clearGermanInfo()
Clears the 'germanInfo' field, the 'has' method for this field will now return false
-
clearAppTracking
public void clearAppTracking()
Clears the 'appTracking' field, the 'has' method for this field will now return false
-
clearCashAdvanceExtra
public void clearCashAdvanceExtra()
Clears the 'cashAdvanceExtra' field, the 'has' method for this field will now return false
-
clearTransactionInfo
public void clearTransactionInfo()
Clears the 'transactionInfo' field, the 'has' method for this field will now return false
-
clearSignatureDisclaimer
public void clearSignatureDisclaimer()
Clears the 'signatureDisclaimer' field, the 'has' method for this field will now return false
-
clearExternalReferenceId
public void clearExternalReferenceId()
Clears the 'externalReferenceId' field, the 'has' method for this field will now return false
-
clearMerchant
public void clearMerchant()
Clears the 'merchant' field, the 'has' method for this field will now return false
-
clearIncrements
public void clearIncrements()
Clears the 'increments' field, the 'has' method for this field will now return false
-
clearPurchaseCardL2
public void clearPurchaseCardL2()
Clears the 'purchaseCardL2' field, the 'has' method for this field will now return false
-
clearPurchaseCardL3
public void clearPurchaseCardL3()
Clears the 'purchaseCardL3' field, the 'has' method for this field will now return false
-
clearOceanGatewayInfo
public void clearOceanGatewayInfo()
Clears the 'oceanGatewayInfo' field, the 'has' method for this field will now return false
-
clearTerminalManagementComponents
public void clearTerminalManagementComponents()
Clears the 'terminalManagementComponents' field, the 'has' method for this field will now return false
-
clearEmiInfo
public void clearEmiInfo()
Clears the 'emiInfo' field, the 'has' method for this field will now return false
-
clearPaymentBatchInfo
public void clearPaymentBatchInfo()
Clears the 'paymentBatchInfo' field, the 'has' method for this field will now return false
-
containsChanges
public boolean containsChanges()
Returns true if this instance has any changes.
-
resetChangeLog
public void resetChangeLog()
Reset the log of changes made to this instance, calling copyChanges() after this would return an empty instance.
-
copyChanges
public Payment copyChanges()
Create a copy of this instance that contains only fields that were set after the constructor was called.
-
mergeChanges
public void mergeChanges(Payment src)
Copy all the changed fields from the given source to this instance.
-
-