public class Payment extends GenericParcelable implements Validator, JSONifiable
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
Modifier and Type | Class and Description |
---|---|
static interface |
Payment.Constraints |
JSONifiable.Creator<T>
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<Payment> |
CREATOR |
static JSONifiable.Creator<Payment> |
JSON_CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier | Constructor and Description |
---|---|
|
Payment()
Constructs a new empty instance.
|
protected |
Payment(boolean noInit)
Constructs a new empty instance.
|
|
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(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.
|
Modifier and Type | Method and Description |
---|---|
void |
clearAdditionalCharges()
Clears the 'additionalCharges' field, the 'has' method for this field will now return false
|
void |
clearAmount()
Clears the 'amount' field, the 'has' method for this field will now return false
|
void |
clearAppTracking()
Clears the 'appTracking' field, the 'has' method for this field will now return false
|
void |
clearAttributes()
Clears the 'attributes' field, the 'has' method for this field will now return false
|
void |
clearAuthorization()
Clears the 'authorization' field, the 'has' method for this field will now return false
|
void |
clearCardTransaction()
Clears the 'cardTransaction' field, the 'has' method for this field will now return false
|
void |
clearCashAdvanceExtra()
Clears the 'cashAdvanceExtra' field, the 'has' method for this field will now return false
|
void |
clearCashbackAmount()
Clears the 'cashbackAmount' field, the 'has' method for this field will now return false
|
void |
clearCashTendered()
Clears the 'cashTendered' field, the 'has' method for this field will now return false
|
void |
clearClientCreatedTime()
Clears the 'clientCreatedTime' field, the 'has' method for this field will now return false
|
void |
clearCreatedTime()
Clears the 'createdTime' field, the 'has' method for this field will now return false
|
void |
clearDccInfo()
Clears the 'dccInfo' field, the 'has' method for this field will now return false
|
void |
clearDevice()
Clears the 'device' field, the 'has' method for this field will now return false
|
void |
clearEmiInfo()
Clears the 'emiInfo' field, the 'has' method for this field will now return false
|
void |
clearEmployee()
Clears the 'employee' field, the 'has' method for this field will now return false
|
void |
clearExternalPaymentId()
Clears the 'externalPaymentId' field, the 'has' method for this field will now return false
|
void |
clearExternalReferenceId()
Clears the 'externalReferenceId' field, the 'has' method for this field will now return false
|
void |
clearGatewayProcessingTime()
Clears the 'gatewayProcessingTime' field, the 'has' method for this field will now return false
|
void |
clearGermanInfo()
Clears the 'germanInfo' field, the 'has' method for this field will now return false
|
void |
clearId()
Clears the 'id' field, the 'has' method for this field will now return false
|
void |
clearIncrements()
Clears the 'increments' field, the 'has' method for this field will now return false
|
void |
clearLineItemPayments()
Clears the 'lineItemPayments' field, the 'has' method for this field will now return false
|
void |
clearMerchant()
Clears the 'merchant' field, the 'has' method for this field will now return false
|
void |
clearModifiedTime()
Clears the 'modifiedTime' field, the 'has' method for this field will now return false
|
void |
clearNote()
Clears the 'note' field, the 'has' method for this field will now return false
|
void |
clearOceanGatewayInfo()
Clears the 'oceanGatewayInfo' field, the 'has' method for this field will now return false
|
void |
clearOffline()
Clears the 'offline' field, the 'has' method for this field will now return false
|
void |
clearOrder()
Clears the 'order' field, the 'has' method for this field will now return false
|
void |
clearPurchaseCardL2()
Clears the 'purchaseCardL2' field, the 'has' method for this field will now return false
|
void |
clearPurchaseCardL3()
Clears the 'purchaseCardL3' field, the 'has' method for this field will now return false
|
void |
clearRefunds()
Clears the 'refunds' field, the 'has' method for this field will now return false
|
void |
clearResult()
Clears the 'result' field, the 'has' method for this field will now return false
|
void |
clearServiceCharge()
Clears the 'serviceCharge' field, the 'has' method for this field will now return false
|
void |
clearSignatureDisclaimer()
Clears the 'signatureDisclaimer' field, the 'has' method for this field will now return false
|
void |
clearTaxAmount()
Clears the 'taxAmount' field, the 'has' method for this field will now return false
|
void |
clearTaxRates()
Clears the 'taxRates' field, the 'has' method for this field will now return false
|
void |
clearTender()
Clears the 'tender' field, the 'has' method for this field will now return false
|
void |
clearTerminalManagementComponents()
Clears the 'terminalManagementComponents' field, the 'has' method for this field will now return false
|
void |
clearTipAmount()
Clears the 'tipAmount' field, the 'has' method for this field will now return false
|
void |
clearTransactionInfo()
Clears the 'transactionInfo' field, the 'has' method for this field will now return false
|
void |
clearTransactionSettings()
Clears the 'transactionSettings' field, the 'has' method for this field will now return false
|
void |
clearVoidPaymentRef()
Clears the 'voidPaymentRef' field, the 'has' method for this field will now return false
|
void |
clearVoidReason()
Clears the 'voidReason' field, the 'has' method for this field will now return false
|
void |
clearVoidReasonDetails()
Clears the 'voidReasonDetails' field, the 'has' method for this field will now return false
|
boolean |
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 paid
|
AppTracking |
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 exists
|
CardTransaction |
getCardTransaction()
Information about the card used for credit/debit card payments
|
CashAdvanceExtra |
getCashAdvanceExtra()
Information specific to cash advance transactions.
|
Long |
getCashbackAmount()
Amount given back in a cash back transaction
|
Long |
getCashTendered()
Amount of cash given by the customer
|
Long |
getClientCreatedTime() |
Long |
getCreatedTime()
Time payment was recorded on server
|
DCCInfo |
getDccInfo()
Dynamic Currency Conversion information
|
Reference |
getDevice()
Device which processed the transaction for this payment, a 128-bit UUID, not a normal base-13 Clover ID.
|
PaymentEmiInfo |
getEmiInfo()
Associated EMI information
|
Reference |
getEmployee()
The employee who processed the payment
|
String |
getExternalPaymentId() |
String |
getExternalReferenceId()
The external reference id if associated with the payment
|
Long |
getGatewayProcessingTime()
The time when the transaction was processed by the gateway
|
protected GenericClient |
getGenericClient() |
GermanInfo |
getGermanInfo()
German region-specific information
|
String |
getId()
Unique identifier
|
List<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 payment
|
String |
getNote() |
OceanGatewayInfo |
getOceanGatewayInfo()
Ocean Gateway info
|
Boolean |
getOffline() |
Reference |
getOrder()
The order with which the payment is associated
|
PurchaseCardL2 |
getPurchaseCardL2()
Purchase card level 2 data
|
PurchaseCardL3 |
getPurchaseCardL3()
Purchase card level 3 data
|
List<Refund> |
getRefunds() |
Result |
getResult() |
ServiceChargeAmount |
getServiceCharge()
Amount record as a service charge
|
SignatureDisclaimer |
getSignatureDisclaimer()
Information displayed to customer for storing electronic signatures
|
Long |
getTaxAmount()
Amount paid in tax
|
List<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 tips
|
TransactionInfo |
getTransactionInfo()
Transaction information
|
TransactionSettings |
getTransactionSettings()
Per transaction settings for the payment
|
Reference |
getVoidPaymentRef()
If voided, the corresponding successful payment, and vice versa
|
VoidReason |
getVoidReason()
If voided, the reason why (when available)
|
VoidReasonDetails |
getVoidReasonDetails()
Detailed explanation on why the transaction is getting voided
|
boolean |
hasAdditionalCharges()
Checks whether the 'additionalCharges' field has been set, however the value could be null
|
boolean |
hasAmount()
Checks whether the 'amount' field has been set, however the value could be null
|
boolean |
hasAppTracking()
Checks whether the 'appTracking' field has been set, however the value could be null
|
boolean |
hasAttributes()
Checks whether the 'attributes' field has been set, however the value could be null
|
boolean |
hasAuthorization()
Checks whether the 'authorization' field has been set, however the value could be null
|
boolean |
hasCardTransaction()
Checks whether the 'cardTransaction' field has been set, however the value could be null
|
boolean |
hasCashAdvanceExtra()
Checks whether the 'cashAdvanceExtra' field has been set, however the value could be null
|
boolean |
hasCashbackAmount()
Checks whether the 'cashbackAmount' field has been set, however the value could be null
|
boolean |
hasCashTendered()
Checks whether the 'cashTendered' field has been set, however the value could be null
|
boolean |
hasClientCreatedTime()
Checks whether the 'clientCreatedTime' field has been set, however the value could be null
|
boolean |
hasCreatedTime()
Checks whether the 'createdTime' field has been set, however the value could be null
|
boolean |
hasDccInfo()
Checks whether the 'dccInfo' field has been set, however the value could be null
|
boolean |
hasDevice()
Checks whether the 'device' field has been set, however the value could be null
|
boolean |
hasEmiInfo()
Checks whether the 'emiInfo' field has been set, however the value could be null
|
boolean |
hasEmployee()
Checks whether the 'employee' field has been set, however the value could be null
|
boolean |
hasExternalPaymentId()
Checks whether the 'externalPaymentId' field has been set, however the value could be null
|
boolean |
hasExternalReferenceId()
Checks whether the 'externalReferenceId' field has been set, however the value could be null
|
boolean |
hasGatewayProcessingTime()
Checks whether the 'gatewayProcessingTime' field has been set, however the value could be null
|
boolean |
hasGermanInfo()
Checks whether the 'germanInfo' field has been set, however the value could be null
|
boolean |
hasId()
Checks whether the 'id' field has been set, however the value could be null
|
boolean |
hasIncrements()
Checks whether the 'increments' field has been set, however the value could be null
|
boolean |
hasLineItemPayments()
Checks whether the 'lineItemPayments' field has been set, however the value could be null
|
boolean |
hasMerchant()
Checks whether the 'merchant' field has been set, however the value could be null
|
boolean |
hasModifiedTime()
Checks whether the 'modifiedTime' field has been set, however the value could be null
|
boolean |
hasNote()
Checks whether the 'note' field has been set, however the value could be null
|
boolean |
hasOceanGatewayInfo()
Checks whether the 'oceanGatewayInfo' field has been set, however the value could be null
|
boolean |
hasOffline()
Checks whether the 'offline' field has been set, however the value could be null
|
boolean |
hasOrder()
Checks whether the 'order' field has been set, however the value could be null
|
boolean |
hasPurchaseCardL2()
Checks whether the 'purchaseCardL2' field has been set, however the value could be null
|
boolean |
hasPurchaseCardL3()
Checks whether the 'purchaseCardL3' field has been set, however the value could be null
|
boolean |
hasRefunds()
Checks whether the 'refunds' field has been set, however the value could be null
|
boolean |
hasResult()
Checks whether the 'result' field has been set, however the value could be null
|
boolean |
hasServiceCharge()
Checks whether the 'serviceCharge' field has been set, however the value could be null
|
boolean |
hasSignatureDisclaimer()
Checks whether the 'signatureDisclaimer' field has been set, however the value could be null
|
boolean |
hasTaxAmount()
Checks whether the 'taxAmount' field has been set, however the value could be null
|
boolean |
hasTaxRates()
Checks whether the 'taxRates' field has been set, however the value could be null
|
boolean |
hasTender()
Checks whether the 'tender' field has been set, however the value could be null
|
boolean |
hasTerminalManagementComponents()
Checks whether the 'terminalManagementComponents' field has been set, however the value could be null
|
boolean |
hasTipAmount()
Checks whether the 'tipAmount' field has been set, however the value could be null
|
boolean |
hasTransactionInfo()
Checks whether the 'transactionInfo' field has been set, however the value could be null
|
boolean |
hasTransactionSettings()
Checks whether the 'transactionSettings' field has been set, however the value could be null
|
boolean |
hasVoidPaymentRef()
Checks whether the 'voidPaymentRef' field has been set, however the value could be null
|
boolean |
hasVoidReason()
Checks whether the 'voidReason' field has been set, however the value could be null
|
boolean |
hasVoidReasonDetails()
Checks whether the 'voidReasonDetails' field has been set, however the value could be null
|
boolean |
isNotEmptyAdditionalCharges()
Checks whether the 'additionalCharges' field is set and is not null and is not empty
|
boolean |
isNotEmptyAttributes()
Checks whether the 'attributes' field is set and is not null and is not empty
|
boolean |
isNotEmptyIncrements()
Checks whether the 'increments' field is set and is not null and is not empty
|
boolean |
isNotEmptyLineItemPayments()
Checks whether the 'lineItemPayments' field is set and is not null and is not empty
|
boolean |
isNotEmptyRefunds()
Checks whether the 'refunds' field is set and is not null and is not empty
|
boolean |
isNotEmptyTaxRates()
Checks whether the 'taxRates' field is set and is not null and is not empty
|
boolean |
isNotEmptyTerminalManagementComponents()
Checks whether the 'terminalManagementComponents' field is set and is not null and is not empty
|
boolean |
isNotNullAdditionalCharges()
Checks whether the 'additionalCharges' field is set and is not null
|
boolean |
isNotNullAmount()
Checks whether the 'amount' field is set and is not null
|
boolean |
isNotNullAppTracking()
Checks whether the 'appTracking' field is set and is not null
|
boolean |
isNotNullAttributes()
Checks whether the 'attributes' field is set and is not null
|
boolean |
isNotNullAuthorization()
Checks whether the 'authorization' field is set and is not null
|
boolean |
isNotNullCardTransaction()
Checks whether the 'cardTransaction' field is set and is not null
|
boolean |
isNotNullCashAdvanceExtra()
Checks whether the 'cashAdvanceExtra' field is set and is not null
|
boolean |
isNotNullCashbackAmount()
Checks whether the 'cashbackAmount' field is set and is not null
|
boolean |
isNotNullCashTendered()
Checks whether the 'cashTendered' field is set and is not null
|
boolean |
isNotNullClientCreatedTime()
Checks whether the 'clientCreatedTime' field is set and is not null
|
boolean |
isNotNullCreatedTime()
Checks whether the 'createdTime' field is set and is not null
|
boolean |
isNotNullDccInfo()
Checks whether the 'dccInfo' field is set and is not null
|
boolean |
isNotNullDevice()
Checks whether the 'device' field is set and is not null
|
boolean |
isNotNullEmiInfo()
Checks whether the 'emiInfo' field is set and is not null
|
boolean |
isNotNullEmployee()
Checks whether the 'employee' field is set and is not null
|
boolean |
isNotNullExternalPaymentId()
Checks whether the 'externalPaymentId' field is set and is not null
|
boolean |
isNotNullExternalReferenceId()
Checks whether the 'externalReferenceId' field is set and is not null
|
boolean |
isNotNullGatewayProcessingTime()
Checks whether the 'gatewayProcessingTime' field is set and is not null
|
boolean |
isNotNullGermanInfo()
Checks whether the 'germanInfo' field is set and is not null
|
boolean |
isNotNullId()
Checks whether the 'id' field is set and is not null
|
boolean |
isNotNullIncrements()
Checks whether the 'increments' field is set and is not null
|
boolean |
isNotNullLineItemPayments()
Checks whether the 'lineItemPayments' field is set and is not null
|
boolean |
isNotNullMerchant()
Checks whether the 'merchant' field is set and is not null
|
boolean |
isNotNullModifiedTime()
Checks whether the 'modifiedTime' field is set and is not null
|
boolean |
isNotNullNote()
Checks whether the 'note' field is set and is not null
|
boolean |
isNotNullOceanGatewayInfo()
Checks whether the 'oceanGatewayInfo' field is set and is not null
|
boolean |
isNotNullOffline()
Checks whether the 'offline' field is set and is not null
|
boolean |
isNotNullOrder()
Checks whether the 'order' field is set and is not null
|
boolean |
isNotNullPurchaseCardL2()
Checks whether the 'purchaseCardL2' field is set and is not null
|
boolean |
isNotNullPurchaseCardL3()
Checks whether the 'purchaseCardL3' field is set and is not null
|
boolean |
isNotNullRefunds()
Checks whether the 'refunds' field is set and is not null
|
boolean |
isNotNullResult()
Checks whether the 'result' field is set and is not null
|
boolean |
isNotNullServiceCharge()
Checks whether the 'serviceCharge' field is set and is not null
|
boolean |
isNotNullSignatureDisclaimer()
Checks whether the 'signatureDisclaimer' field is set and is not null
|
boolean |
isNotNullTaxAmount()
Checks whether the 'taxAmount' field is set and is not null
|
boolean |
isNotNullTaxRates()
Checks whether the 'taxRates' field is set and is not null
|
boolean |
isNotNullTender()
Checks whether the 'tender' field is set and is not null
|
boolean |
isNotNullTerminalManagementComponents()
Checks whether the 'terminalManagementComponents' field is set and is not null
|
boolean |
isNotNullTipAmount()
Checks whether the 'tipAmount' field is set and is not null
|
boolean |
isNotNullTransactionInfo()
Checks whether the 'transactionInfo' field is set and is not null
|
boolean |
isNotNullTransactionSettings()
Checks whether the 'transactionSettings' field is set and is not null
|
boolean |
isNotNullVoidPaymentRef()
Checks whether the 'voidPaymentRef' field is set and is not null
|
boolean |
isNotNullVoidReason()
Checks whether the 'voidReason' field is set and is not null
|
boolean |
isNotNullVoidReasonDetails()
Checks whether the 'voidReasonDetails' field is set and is not null
|
void |
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 |
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() |
describeContents, getBundle, toString, writeToParcel
public static final Parcelable.Creator<Payment> CREATOR
public static final JSONifiable.Creator<Payment> JSON_CREATOR
public Payment()
protected Payment(boolean noInit)
public Payment(String json) throws IllegalArgumentException
IllegalArgumentException
public Payment(JSONObject jsonObject)
public Payment(Payment src)
public String getId()
public Reference getOrder()
public Reference getDevice()
public Tender getTender()
public Long getAmount()
public Long getTipAmount()
public Long getTaxAmount()
public Long getCashbackAmount()
public Long getCashTendered()
public String getExternalPaymentId()
public Reference getEmployee()
public Long getCreatedTime()
public Long getClientCreatedTime()
public Long getGatewayProcessingTime()
public Long getModifiedTime()
public Boolean getOffline()
public Result getResult()
public CardTransaction getCardTransaction()
public ServiceChargeAmount getServiceCharge()
public List<AdditionalChargeAmount> getAdditionalCharges()
public List<PaymentTaxRate> getTaxRates()
public String getNote()
public List<LineItemPayment> getLineItemPayments()
public Reference getAuthorization()
public Reference getVoidPaymentRef()
public VoidReason getVoidReason()
public VoidReasonDetails getVoidReasonDetails()
public DCCInfo getDccInfo()
public TransactionSettings getTransactionSettings()
public GermanInfo getGermanInfo()
public AppTracking getAppTracking()
public CashAdvanceExtra getCashAdvanceExtra()
public TransactionInfo getTransactionInfo()
public SignatureDisclaimer getSignatureDisclaimer()
public String getExternalReferenceId()
public Reference getMerchant()
public List<IncrementalAuthorization> getIncrements()
public PurchaseCardL2 getPurchaseCardL2()
public PurchaseCardL3 getPurchaseCardL3()
public OceanGatewayInfo getOceanGatewayInfo()
public List<TerminalManagementComponent> getTerminalManagementComponents()
public PaymentEmiInfo getEmiInfo()
protected GenericClient getGenericClient()
getGenericClient
in class GenericParcelable
public JSONObject getJSONObject()
getJSONObject
in interface JSONifiable
public boolean isNotNullId()
public boolean isNotNullOrder()
public boolean isNotNullDevice()
public boolean isNotNullTender()
public boolean isNotNullAmount()
public boolean isNotNullTipAmount()
public boolean isNotNullTaxAmount()
public boolean isNotNullCashbackAmount()
public boolean isNotNullCashTendered()
public boolean isNotNullExternalPaymentId()
public boolean isNotNullEmployee()
public boolean isNotNullCreatedTime()
public boolean isNotNullClientCreatedTime()
public boolean isNotNullGatewayProcessingTime()
public boolean isNotNullModifiedTime()
public boolean isNotNullOffline()
public boolean isNotNullResult()
public boolean isNotNullCardTransaction()
public boolean isNotNullServiceCharge()
public boolean isNotNullAttributes()
public boolean isNotEmptyAttributes()
public boolean isNotNullAdditionalCharges()
public boolean isNotEmptyAdditionalCharges()
public boolean isNotNullTaxRates()
public boolean isNotEmptyTaxRates()
public boolean isNotNullRefunds()
public boolean isNotEmptyRefunds()
public boolean isNotNullNote()
public boolean isNotNullLineItemPayments()
public boolean isNotEmptyLineItemPayments()
public boolean isNotNullAuthorization()
public boolean isNotNullVoidPaymentRef()
public boolean isNotNullVoidReason()
public boolean isNotNullVoidReasonDetails()
public boolean isNotNullDccInfo()
public boolean isNotNullTransactionSettings()
public boolean isNotNullGermanInfo()
public boolean isNotNullAppTracking()
public boolean isNotNullCashAdvanceExtra()
public boolean isNotNullTransactionInfo()
public boolean isNotNullSignatureDisclaimer()
public boolean isNotNullExternalReferenceId()
public boolean isNotNullMerchant()
public boolean isNotNullIncrements()
public boolean isNotEmptyIncrements()
public boolean isNotNullPurchaseCardL2()
public boolean isNotNullPurchaseCardL3()
public boolean isNotNullOceanGatewayInfo()
public boolean isNotNullTerminalManagementComponents()
public boolean isNotEmptyTerminalManagementComponents()
public boolean isNotNullEmiInfo()
public boolean hasId()
public boolean hasOrder()
public boolean hasDevice()
public boolean hasTender()
public boolean hasAmount()
public boolean hasTipAmount()
public boolean hasTaxAmount()
public boolean hasCashbackAmount()
public boolean hasCashTendered()
public boolean hasExternalPaymentId()
public boolean hasEmployee()
public boolean hasCreatedTime()
public boolean hasClientCreatedTime()
public boolean hasGatewayProcessingTime()
public boolean hasModifiedTime()
public boolean hasOffline()
public boolean hasResult()
public boolean hasCardTransaction()
public boolean hasServiceCharge()
public boolean hasAttributes()
public boolean hasAdditionalCharges()
public boolean hasTaxRates()
public boolean hasRefunds()
public boolean hasNote()
public boolean hasLineItemPayments()
public boolean hasAuthorization()
public boolean hasVoidPaymentRef()
public boolean hasVoidReason()
public boolean hasVoidReasonDetails()
public boolean hasDccInfo()
public boolean hasTransactionSettings()
public boolean hasGermanInfo()
public boolean hasAppTracking()
public boolean hasCashAdvanceExtra()
public boolean hasTransactionInfo()
public boolean hasSignatureDisclaimer()
public boolean hasExternalReferenceId()
public boolean hasMerchant()
public boolean hasIncrements()
public boolean hasPurchaseCardL2()
public boolean hasPurchaseCardL3()
public boolean hasOceanGatewayInfo()
public boolean hasTerminalManagementComponents()
public boolean hasEmiInfo()
public Payment setOrder(Reference order)
public Payment setDevice(Reference device)
public Payment setTender(Tender tender)
public Payment setCashbackAmount(Long cashbackAmount)
public Payment setExternalPaymentId(String externalPaymentId)
public Payment setEmployee(Reference employee)
public Payment setClientCreatedTime(Long clientCreatedTime)
public Payment setGatewayProcessingTime(Long gatewayProcessingTime)
public Payment setCardTransaction(CardTransaction cardTransaction)
public Payment setServiceCharge(ServiceChargeAmount serviceCharge)
public Payment setAttributes(Map<String,String> attributes)
public Payment setAdditionalCharges(List<AdditionalChargeAmount> additionalCharges)
public Payment setTaxRates(List<PaymentTaxRate> taxRates)
public Payment setRefunds(List<Refund> refunds)
public Payment setLineItemPayments(List<LineItemPayment> lineItemPayments)
public Payment setAuthorization(Reference authorization)
public Payment setVoidPaymentRef(Reference voidPaymentRef)
public Payment setVoidReason(VoidReason voidReason)
public Payment setVoidReasonDetails(VoidReasonDetails voidReasonDetails)
public Payment setDccInfo(DCCInfo dccInfo)
public Payment setTransactionSettings(TransactionSettings transactionSettings)
public Payment setGermanInfo(GermanInfo germanInfo)
public Payment setAppTracking(AppTracking appTracking)
public Payment setCashAdvanceExtra(CashAdvanceExtra cashAdvanceExtra)
public Payment setTransactionInfo(TransactionInfo transactionInfo)
public Payment setSignatureDisclaimer(SignatureDisclaimer signatureDisclaimer)
public Payment setExternalReferenceId(String externalReferenceId)
public Payment setMerchant(Reference merchant)
public Payment setIncrements(List<IncrementalAuthorization> increments)
public Payment setPurchaseCardL2(PurchaseCardL2 purchaseCardL2)
public Payment setPurchaseCardL3(PurchaseCardL3 purchaseCardL3)
public Payment setOceanGatewayInfo(OceanGatewayInfo oceanGatewayInfo)
public Payment setTerminalManagementComponents(List<TerminalManagementComponent> terminalManagementComponents)
public Payment setEmiInfo(PaymentEmiInfo emiInfo)
public void clearId()
public void clearOrder()
public void clearDevice()
public void clearTender()
public void clearAmount()
public void clearTipAmount()
public void clearTaxAmount()
public void clearCashbackAmount()
public void clearCashTendered()
public void clearExternalPaymentId()
public void clearEmployee()
public void clearCreatedTime()
public void clearClientCreatedTime()
public void clearGatewayProcessingTime()
public void clearModifiedTime()
public void clearOffline()
public void clearResult()
public void clearCardTransaction()
public void clearServiceCharge()
public void clearAttributes()
public void clearAdditionalCharges()
public void clearTaxRates()
public void clearRefunds()
public void clearNote()
public void clearLineItemPayments()
public void clearAuthorization()
public void clearVoidPaymentRef()
public void clearVoidReason()
public void clearVoidReasonDetails()
public void clearDccInfo()
public void clearTransactionSettings()
public void clearGermanInfo()
public void clearAppTracking()
public void clearCashAdvanceExtra()
public void clearTransactionInfo()
public void clearSignatureDisclaimer()
public void clearExternalReferenceId()
public void clearMerchant()
public void clearIncrements()
public void clearPurchaseCardL2()
public void clearPurchaseCardL3()
public void clearOceanGatewayInfo()
public void clearTerminalManagementComponents()
public void clearEmiInfo()
public boolean containsChanges()
public void resetChangeLog()
public Payment copyChanges()
public void mergeChanges(Payment src)