tech.carpentum.sdk.payment.model.PostAvailableTopUpOptionsError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of payment-client-v2 Show documentation
Show all versions of payment-client-v2 Show documentation
Carpentum Payment system Java SDK
The newest version!
//THE FILE IS GENERATED, DO NOT MODIFY IT MANUALLY!!!
package tech.carpentum.sdk.payment.model;
import com.squareup.moshi.JsonClass;
import java.util.Objects;
import java.util.Optional;
import org.jetbrains.annotations.NotNull;
import tech.carpentum.sdk.payment.internal.generated.model.*;
import tech.carpentum.sdk.payment.model.*;
/** PostAvailableTopUpOptionsError
*
*
*
*
*
* The model class is immutable.
* Use static {@link #builder} method to create a new {@link Builder} instance to build the model class instance.
*
*/
@JsonClass(generateAdapter = false)
public class PostAvailableTopUpOptionsError extends BusinessValidationError {
// tag::codeEnum[]
/** @see #getCode */
public static final String CODE_CURRENCY_NOT_SUPPORTED = "CURRENCY_NOT_SUPPORTED";
/** @see #getCode */
public static final String CODE_CURRENCY_PRECISION_EXCEEDED = "CURRENCY_PRECISION_EXCEEDED";
/** @see #getCode */
public static final String CODE_PAYMENT_CHANNEL_AMOUNT_LIMITS = "PAYMENT_CHANNEL_AMOUNT_LIMITS";
/** @see #getCode */
public static final String CODE_PAYMENT_CHANNEL_DAILY_LIMITS = "PAYMENT_CHANNEL_DAILY_LIMITS";
/** @see #getCode */
public static final String CODE_PAYMENT_CHANNEL_NO_ACTIVE_FOUND = "PAYMENT_CHANNEL_NO_ACTIVE_FOUND";
/** @see #getCode */
public static final String CODE_PAYMENT_CHANNEL_NO_OPENED_FOUND = "PAYMENT_CHANNEL_NO_OPENED_FOUND";
/** @see #getCode */
public static final String CODE_PAYMENT_CHANNEL_NO_SEGMENT_FOUND = "PAYMENT_CHANNEL_NO_SEGMENT_FOUND";
/** @see #getCode */
public static final String CODE_PAYMENT_METHOD_ERROR = "PAYMENT_METHOD_ERROR";
/** @see #getCode */
public static final String CODE_PAYMENT_METHOD_NOT_FOUND = "PAYMENT_METHOD_NOT_FOUND";
// end::codeEnum[]
private PostAvailableTopUpOptionsError(PostAvailableTopUpOptionsError.Builder builder) {
super(builder);
}
@NotNull public static Builder builder() {
return new Builder();
}
/** Builder for {@link PostAvailableTopUpOptionsError} model class. */
public static class Builder extends BusinessValidationError.Builder {
private Builder() {}
/**
* Create new instance of {@link PostAvailableTopUpOptionsError} model class with the builder instance properties.
*
* @throws NullPointerException in case required properties are not specified.
*/
@NotNull public PostAvailableTopUpOptionsError build() {
return new PostAvailableTopUpOptionsError(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy