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 = 1L;

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

	public CardException(String message, String requestId, String code, String param, String declineCode, String charge, Integer statusCode, Throwable e) {
		super(message, requestId, statusCode, e);
		this.code = code;
		this.param = param;
		this.declineCode = declineCode;
		this.charge = charge;
	}

	public String getCode() {
		return code;
	}
	public String getParam() {
		return param;
	}
	public String getDeclineCode() {
		return declineCode;
	}
	public String getCharge() {
		return charge;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy