com.checkout.CheckoutAuthorizationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of checkout-sdk-java Show documentation
Show all versions of checkout-sdk-java Show documentation
Checkout SDK for Java https://checkout.com
package com.checkout;
import static java.lang.String.format;
public class CheckoutAuthorizationException extends CheckoutException {
public CheckoutAuthorizationException(final String message) {
super(message);
}
public static CheckoutAuthorizationException invalidAuthorization(final SdkAuthorizationType authorizationType) {
return new CheckoutAuthorizationException(format("Operation requires %s authorization type", authorizationType));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy