
com.securionpay.request.PayoutListRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of securionpay-java Show documentation
Show all versions of securionpay-java Show documentation
Java client library for SecurionPay API
The newest version!
package com.securionpay.request;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.securionpay.response.Event;
import java.util.HashMap;
import java.util.Map;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PayoutListRequest {
private Integer limit;
private String startingAfterId;
private String endingBeforeId;
private Boolean includeTotalCount;
private CreatedFilter created;
@JsonIgnore
private Map other = new HashMap<>();
public Integer getLimit() {
return limit;
}
public String getStartingAfterId() {
return startingAfterId;
}
public String getEndingBeforeId() {
return endingBeforeId;
}
public Boolean getIncludeTotalCount() {
return includeTotalCount;
}
public CreatedFilter getCreated() {
return created;
}
public PayoutListRequest limit(Integer limit) {
this.limit = limit;
return this;
}
public PayoutListRequest startingAfterId(String startingAfterId) {
this.startingAfterId = startingAfterId;
return this;
}
public PayoutListRequest startingAfter(Event event) {
return startingAfterId(event.getId());
}
public PayoutListRequest endingBeforeId(String endingBeforeId) {
this.endingBeforeId = endingBeforeId;
return this;
}
public PayoutListRequest endingBefore(Event event) {
return endingBeforeId(event.getId());
}
public PayoutListRequest includeTotalCount(Boolean includeTotalCount) {
this.includeTotalCount = includeTotalCount;
return this;
}
public PayoutListRequest created(CreatedFilter created) {
this.created = created;
return this;
}
@JsonAnyGetter
private Map getOtherMap() {
return other;
}
@JsonAnySetter
public PayoutListRequest set(String name, Object value) {
other.put(name, value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy