Class BaseTransactionRequest

java.lang.Object
com.clover.remote.client.messages.BaseRequest
com.clover.remote.client.messages.BaseTransactionRequest
Direct Known Subclasses:
ManualRefundRequest, PreAuthRequest, TransactionRequest

public abstract class BaseTransactionRequest extends BaseRequest
  • Constructor Details

    • BaseTransactionRequest

      public BaseTransactionRequest(long amount, String externalId)
  • Method Details

    • getDisablePrinting

      public Boolean getDisablePrinting()
      Get the field value
      Returns:
      Do not print
    • setDisablePrinting

      public void setDisablePrinting(Boolean disablePrinting)
      Set the field value
      Parameters:
      disablePrinting - Do not print
    • getCardNotPresent

      public Boolean getCardNotPresent()
      Get the field value
      Returns:
      If true then card not present is accepted
    • setCardNotPresent

      public void setCardNotPresent(Boolean cardNotPresent)
      Set the field value
      Parameters:
      cardNotPresent - If true then card not present is accepted
    • getDisableRestartTransactionOnFail

      public Boolean getDisableRestartTransactionOnFail()
      Get the field value
      Returns:
      If the transaction times out or fails because of decline, do not restart it
    • setDisableRestartTransactionOnFail

      public void setDisableRestartTransactionOnFail(Boolean disableRestartTransactionOnFail)
      Set the field value
      Parameters:
      disableRestartTransactionOnFail - If the transaction times out or fails because of decline, do not restart it
    • getAmount

      public long getAmount()
      Get the field value
      Returns:
      Total amount paid
    • setAmount

      public void setAmount(long amount)
      Set the field value
      Parameters:
      amount - Total amount paid
    • getCardEntryMethods

      public Integer getCardEntryMethods()
      Get the field value
      Returns:
      Allowed entry methods
    • setCardEntryMethods

      public void setCardEntryMethods(Integer cardEntryMethods)
      Set the field value
      Parameters:
      cardEntryMethods - Allowed entry methods
    • getVaultedCard

      public com.clover.sdk.v3.payments.VaultedCard getVaultedCard()
      Get the field value
      Returns:
      A saved card
    • setVaultedCard

      public void setVaultedCard(com.clover.sdk.v3.payments.VaultedCard vaultedCard)
      Set the field value
      Parameters:
      vaultedCard - A saved card
    • getExternalId

      public String getExternalId()
      Get the field value
      Returns:
      An id that will be persisted with transactions.
    • setExternalId

      public void setExternalId(String externalId)
      Set the field value
      Parameters:
      externalId - An id that will be persisted with transactions.
    • getType

      public abstract com.clover.common2.payments.PayIntent.TransactionType getType()
      Get the field value
      Returns:
      The type of the transaction.
    • getDisableDuplicateChecking

      public Boolean getDisableDuplicateChecking()
      Get the field value
      Returns:
      The disable duplicate transaction validation settings overrides
    • setDisableDuplicateChecking

      public void setDisableDuplicateChecking(Boolean disableDuplicateChecking)
      Set the field value
      Parameters:
      disableDuplicateChecking - The disable duplicate transaction validation settings overrides
    • setDisableReceiptSelection

      public void setDisableReceiptSelection(Boolean disableReceiptSelection)
      Set the field value
      Parameters:
      disableReceiptSelection - The disable receipt options screen settings overrides
    • getDisableReceiptSelection

      public Boolean getDisableReceiptSelection()
      Get the field value
      Returns:
      The disable receipt options screen settings overrides
    • setAutoAcceptPaymentConfirmations

      public void setAutoAcceptPaymentConfirmations(Boolean autoAcceptPaymentConfirmations)
      Set the field value
      Parameters:
      autoAcceptPaymentConfirmations - The automatically accept payment confirmations settings override
    • getAutoAcceptPaymentConfirmations

      public Boolean getAutoAcceptPaymentConfirmations()
      Get the field value
      Returns:
      The automatically accept payment confirmations settings override
    • getExtras

      public Map<String,String> getExtras()
      Get the field value
      Returns:
      Extra pass-through data used by external systems.
    • setExtras

      public void setExtras(Map<String,String> extras)
      Set the field value
      Parameters:
      extras - Extra pass-through data used by external systems.
    • getRegionalExtras

      public Map<String,String> getRegionalExtras()
      Get the field value
      Returns:
      A map of all the regionalExtras that have been provided
    • setRegionalExtras

      public void setRegionalExtras(Map<String,String> regionalExtras)
      Set the field value
      Parameters:
      regionalExtras - any extra region specific data. Keys are referenced in RegionalExtras.java
    • getExternalReferenceId

      public String getExternalReferenceId()
      Get the field value
      Returns:
      An id that can be passed to the merchant's gateway, and ultimately appear in settlement records.
    • setExternalReferenceId

      public void setExternalReferenceId(String externalReferenceId)
      Set the field value
      Parameters:
      externalReferenceId - An id that can be passed to the merchant's gateway, and ultimately appear in settlement records.
    • getPresentQrcOnly

      public Boolean getPresentQrcOnly()
      Get the field value
      Returns:
      If the QR Code entry method should be the only method presented
    • setPresentQrcOnly

      public void setPresentQrcOnly(Boolean presentQrcOnly)
      Set the field value
      Parameters:
      presentQrcOnly - If the QR Code entry method should be the only method presented