Class TabbyRefundPaymentRequest

java.lang.Object
com.broadleafcommerce.tabby.domain.TabbyRefundPaymentRequest
All Implemented Interfaces:
Serializable

public class TabbyRefundPaymentRequest extends Object implements Serializable
The request data to capture the Tabby payment.
Author:
Dima Myroniuk (dmyroniuk)
See Also:
  • Constructor Details

    • TabbyRefundPaymentRequest

      public TabbyRefundPaymentRequest()
  • Method Details

    • getAmount

      public String getAmount()
      Amount refunded. Allows to send up to 2 decimals for AED, SAR, QAR and up to 3 decimals for KWD and BHD. Defaults to "0.00".
    • getReferenceId

      public String getReferenceId()
      Idempotency key. Used to avoid similar refund requests.
    • getReason

      public String getReason()
      Reason for the refund.
    • getCreatedAt

      public String getCreatedAt()
      Date and time the refund was created, in UTC, and displayed in ISO 8601 datetime format, assigned by Tabby.
    • getItems

      public List<TabbyOrderItem> getItems()
      Array of objects representing the order items being refunded.
    • setAmount

      public void setAmount(String amount)
      Amount refunded. Allows to send up to 2 decimals for AED, SAR, QAR and up to 3 decimals for KWD and BHD. Defaults to "0.00".
    • setReferenceId

      public void setReferenceId(String referenceId)
      Idempotency key. Used to avoid similar refund requests.
    • setReason

      public void setReason(String reason)
      Reason for the refund.
    • setCreatedAt

      public void setCreatedAt(String createdAt)
      Date and time the refund was created, in UTC, and displayed in ISO 8601 datetime format, assigned by Tabby.
    • setItems

      public void setItems(List<TabbyOrderItem> items)
      Array of objects representing the order items being refunded.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object