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

com.splittypay.model.response.PaymentResponse Maven / Gradle / Ivy

package com.splittypay.model.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.splittypay.model.BasePayment;
import com.splittypay.model.PaymentStatus;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Getter
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class PaymentResponse extends BasePayment {

    @JsonProperty("id")
    private int id;

    @JsonProperty("timestamp")
    private Timestamp timestamp;

    @JsonProperty("ref")
    private String ref;

    @JsonProperty("status")
    private PaymentStatus status;

    @JsonProperty("redirectUrl")
    private String redirectUrl;

    @JsonProperty("clientSecret")
    private String clientSecret;

    @JsonProperty("publicKey")
    private String publicKey;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy