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

com.checkout.payments.previous.PaymentAction Maven / Gradle / Ivy

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

import com.checkout.common.Resource;
import com.checkout.payments.ActionType;
import com.checkout.payments.Processing;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.time.Instant;
import java.util.HashMap;
import java.util.Map;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public final class PaymentAction extends Resource {

    private String id;

    private ActionType type;

    @SerializedName("processed_on")
    private Instant processedOn;

    private Long amount;

    private Boolean approved;

    @SerializedName("auth_code")
    private String authCode;

    @SerializedName("response_code")
    private String responseCode;

    @SerializedName("response_summary")
    private String responseSummary;

    private Processing processing;

    private String reference;

    private Map metadata = new HashMap<>();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy