All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.checkout.payments.ThreeDSRequest Maven / Gradle / Ivy

There is a newer version: 6.4.2
Show newest version
package com.checkout.payments;

import com.checkout.common.ChallengeIndicator;
import com.checkout.common.Exemption;
import com.checkout.common.ThreeDSFlowType;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.Instant;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public final class ThreeDSRequest {

    private Boolean enabled;

    @SerializedName("attempt_n3d")
    private Boolean attemptN3D;

    private String eci;

    private String cryptogram;

    private String xid;

    private String version;

    private Exemption exemption;

    @SerializedName("challenge_indicator")
    private ChallengeIndicator challengeIndicator;

    @SerializedName("allow_upgrade")
    private Boolean allowUpgrade;

    /**
     * Not available on Previous
     */

    @SerializedName("merchant_authentication_info")
    private MerchantAuthenticationInfo merchantAuthenticationInfo;

    @SerializedName("account_info")
    private AccountInfo accountInfo;

    private String status;

    @SerializedName("authentication_date")
    private Instant authenticationDate;

    @SerializedName("authentication_amount")
    private Long authenticationAmount;

    @SerializedName("flow_type")
    private ThreeDSFlowType flowType;

    @SerializedName("status_reason_code")
    private String statusReasonCode;

    @SerializedName("challenge_cancel_reason")
    private String challengeCancelReason;

    private String score;

    @SerializedName("cryptogram_algorithm")
    private String cryptogramAlgorithm;

    @SerializedName("authentication_id")
    private String authenticationId;

    @SerializedName("initial_authentication")
    private InitialAuthentication initialAuthentication;

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy