java.lang.Object
com.broadleafcommerce.paymenttransaction.web.endpoint.domain.PaymentLockTokens
All Implemented Interfaces:
Serializable

public class PaymentLockTokens extends Object implements Serializable
A request DTO used to authorize updates on a set of locked payments.
Author:
Marie Standeven (marieStandeven)
See Also:
  • Constructor Details

    • PaymentLockTokens

      public PaymentLockTokens()
  • Method Details

    • getLockToken

      @Nullable public String getLockToken(@NonNull @NonNull String paymentId)
    • getLockTokens

      public Map<String,String> getLockTokens()
      Map of tokens keyed by Payment ID that can be used to authorize updates for existing payment locks.
      Returns:
      Map of tokens that can be used to authorize updates for existing payment locks.
    • setLockTokens

      public void setLockTokens(Map<String,String> lockTokens)
      Map of tokens keyed by Payment ID that can be used to authorize updates for existing payment locks.
      Parameters:
      lockTokens - Map of tokens that can be used to authorize updates for existing payment locks.
    • 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