Class RefundPaymentRequest

java.lang.Object
com.clover.remote.client.messages.BaseRequest
com.clover.remote.client.messages.RefundPaymentRequest

public class RefundPaymentRequest extends BaseRequest
Request object to refund a payment, either partially or fully
  • Constructor Details

    • RefundPaymentRequest

      public RefundPaymentRequest()
  • Method Details

    • getOrderId

      public String getOrderId()
      Get the field value
      Returns:
      unique identifier of the order to be refunded
    • setOrderId

      public void setOrderId(String orderId)
      Set the field value
      Parameters:
      orderId - unique identifier of the order to be refunded
    • getPaymentId

      public String getPaymentId()
      Get the field value
      Returns:
      unique identifier of the payment to be refunded
    • setPaymentId

      public void setPaymentId(String paymentId)
      Set the field value
      Parameters:
      paymentId - unique identifier of the payment to be refunded
    • getAmount

      public long getAmount()
      Get the field value
      Returns:
      Amount to be refunded
    • setAmount

      public void setAmount(long amount)
      Set the field value
      Parameters:
      amount - Amount to be refunded
    • isFullRefund

      public boolean isFullRefund()
      Get the field value
      Returns:
      If true, then it is a full refund. The amount will be ignored.
    • setFullRefund

      public void setFullRefund(boolean fullRefund)
      Set the field value
      Parameters:
      fullRefund - If true, then it is a full refund. The amount will be ignored.
    • getDisablePrinting

      public boolean getDisablePrinting()
      Get the field value
      Returns:
      The disablePrinting transaction override value
    • setDisablePrinting

      public void setDisablePrinting(boolean disablePrinting)
      Set the field value
      Parameters:
      disablePrinting - The transaction override to turn off Clover device printing
    • getDisableReceiptSelection

      public boolean getDisableReceiptSelection()
      Get the field value
      Returns:
      The disableReceiptSelection transaction override value
    • setDisableReceiptSelection

      public void setDisableReceiptSelection(boolean disableReceiptSelection)
      Set the field value
      Parameters:
      disableReceiptSelection - The transaction override to turn off the Clover customer print screen
    • 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.