Class SavedPaymentMethodNextAction

java.lang.Object
com.broadleafcommerce.paymenttransaction.domain.SavedPaymentMethodNextAction
All Implemented Interfaces:
Serializable

public class SavedPaymentMethodNextAction extends Object implements Serializable
Object describing the next action for the saved payment method to complete its setup.
Author:
Dima Myroniuk (dmyroniuk)
See Also:
  • Constructor Details

    • SavedPaymentMethodNextAction

      public SavedPaymentMethodNextAction()
  • Method Details

    • getActionType

      public String getActionType()
      The type of this action. This can be any value and should be controlled by the client side (UI) to execute some specific actions.

      For example, to verify the ACH payment method for Stripe with micro-deposit, this value can be "MICRO_DEPOSIT_VERIFICATION".

      Returns:
      the action type
      See Also:
    • getStatus

      public String getStatus()
      The status of this action.
      Returns:
      the status of this action
      See Also:
    • getStatusDetails

      @Nullable public String getStatusDetails()
      Any details for the current action status.
      Returns:
      details for the current action status
    • getAttributes

      public Map<String,Object> getAttributes()
      Any additional attributes needed by this action.
      Returns:
      the attributes for this action
    • setActionType

      public void setActionType(String actionType)
      The type of this action. This can be any value and should be controlled by the client side (UI) to execute some specific actions.

      For example, to verify the ACH payment method for Stripe with micro-deposit, this value can be "MICRO_DEPOSIT_VERIFICATION".

      Parameters:
      actionType - the action type
      See Also:
    • setStatus

      public void setStatus(String status)
      The status of this action.
      Parameters:
      status - the status of this action
      See Also:
    • setStatusDetails

      public void setStatusDetails(@Nullable String statusDetails)
      Any details for the current action status.
      Parameters:
      statusDetails - details for the current action status
    • setAttributes

      public void setAttributes(Map<String,Object> attributes)
      Any additional attributes needed by this action.
      Parameters:
      attributes - the attributes for this action
    • 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