com.checkout.sessions.completion.HostedCompletionInfo 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.sessions.completion;
import com.google.gson.annotations.SerializedName;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
@Setter
@Getter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public final class HostedCompletionInfo extends CompletionInfo {
@SerializedName("callback_url")
private String callbackUrl;
@SerializedName("success_url")
private String successUrl;
@SerializedName("failure_url")
private String failureUrl;
@Builder
private HostedCompletionInfo(final String callbackUrl,
final String successUrl,
final String failureUrl) {
super(CompletionInfoType.HOSTED);
this.callbackUrl = callbackUrl;
this.successUrl = successUrl;
this.failureUrl = failureUrl;
}
public HostedCompletionInfo() {
super(CompletionInfoType.NON_HOSTED);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy