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

com.siftscience.model.GetMerchantsResponseBody Maven / Gradle / Ivy

The newest version!
package com.siftscience.model;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.util.List;

public class GetMerchantsResponseBody extends MerchantBaseResponseBody{
    @Expose @SerializedName("data") private final List merchants;
    @Expose @SerializedName("has_more") private final Boolean hasMore;
    @Expose @SerializedName("total_results") private final Long totalResults;
    @Expose @SerializedName("next_ref") private final String nextRef;

    public GetMerchantsResponseBody(List merchants, boolean hasMore, long totalResults, String nextRef) {
        this.merchants = merchants;
        this.hasMore = hasMore;
        this.totalResults = totalResults;
        this.nextRef = nextRef;
    }

    public List getMerchants() {
        return merchants;
    }

    public Boolean getHasMore() {
        return hasMore;
    }

    public Long getTotalResults() {
        return totalResults;
    }

    public String getNextRef() {
        return nextRef;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy