com.checkout.risk.precapture.PreCaptureAssessmentRequest 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.risk.precapture;
import com.checkout.common.Currency;
import com.checkout.common.CustomerRequest;
import com.checkout.risk.Device;
import com.checkout.risk.RiskPayment;
import com.checkout.risk.RiskShippingDetails;
import com.checkout.risk.source.RiskPaymentRequestSource;
import com.google.gson.annotations.SerializedName;
import lombok.Builder;
import lombok.Data;
import java.time.Instant;
import java.util.Map;
@Data
@Builder
public final class PreCaptureAssessmentRequest {
@SerializedName("assessment_id")
private String assessmentId;
private Instant date;
private RiskPaymentRequestSource source;
private CustomerRequest customer;
private Long amount;
private Currency currency;
private RiskPayment payment;
private RiskShippingDetails shipping;
private Device device;
private Map metadata;
@SerializedName("authentication_result")
private AuthenticationResult authenticationResult;
@SerializedName("authorization_result")
private AuthorizationResult authorizationResult;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy