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.1.0-beta.3
Show newest version
package com.stripe.exception;

import lombok.Getter;

@Getter
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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy