All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.stripe.exception.CardException Maven / Gradle / Ivy

There is a newer version: 28.2.0
Show newest version
package com.stripe.exception;

public class CardException extends StripeException {
  private static final long serialVersionUID = 2L;

  private String param;
  private String declineCode;
  private String charge;

  /**
   * Constructs a new card exception with the specified details.
   */
  public CardException(String message, String requestId, String code, String param,
      String declineCode, String charge, Integer statusCode, Throwable e) {
    super(message, requestId, code, statusCode, e);
    this.param = param;
    this.declineCode = declineCode;
    this.charge = charge;
  }

  public String getParam() {
    return param;
  }

  public String getDeclineCode() {
    return declineCode;
  }

  public String getCharge() {
    return charge;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy