TicketUserServices

<back to all web services

EventPayoutListRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin
The following routes are available for this service:
GET/payouts
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class EventPayoutListRequest
    {
        public String state = null;
        public Integer eventOwnerId = null;
        public Integer eventId = null;
        public Date createdFrom = null;
        public Date createdTo = null;
        public Integer limit = null;
        
        public String getState() { return state; }
        public EventPayoutListRequest setState(String value) { this.state = value; return this; }
        public Integer getEventOwnerId() { return eventOwnerId; }
        public EventPayoutListRequest setEventOwnerId(Integer value) { this.eventOwnerId = value; return this; }
        public Integer getEventId() { return eventId; }
        public EventPayoutListRequest setEventId(Integer value) { this.eventId = value; return this; }
        public Date getCreatedFrom() { return createdFrom; }
        public EventPayoutListRequest setCreatedFrom(Date value) { this.createdFrom = value; return this; }
        public Date getCreatedTo() { return createdTo; }
        public EventPayoutListRequest setCreatedTo(Date value) { this.createdTo = value; return this; }
        public Integer getLimit() { return limit; }
        public EventPayoutListRequest setLimit(Integer value) { this.limit = value; return this; }
    }

    public static class EventPayoutListResult
    {
        public ArrayList<EventPayout> items = null;
        public Integer statusCode = null;
        public String message = null;
        
        public ArrayList<EventPayout> getItems() { return items; }
        public EventPayoutListResult setItems(ArrayList<EventPayout> value) { this.items = value; return this; }
        public Integer getStatusCode() { return statusCode; }
        public EventPayoutListResult setStatusCode(Integer value) { this.statusCode = value; return this; }
        public String getMessage() { return message; }
        public EventPayoutListResult setMessage(String value) { this.message = value; return this; }
    }

    public static class EventPayout
    {
        public Integer id = null;
        @References(Event.class)
        public Integer eventId = null;

        @References(EventOwner.class)
        public Integer eventOwnerId = null;

        public String state = null;
        public Date defaultEligibleAt = null;
        public Long grossAmount = null;
        public Long transactionFee = null;
        public Long platformCut = null;
        public Long freeTicketDeduction = null;
        public Long minimumFeeDeduction = null;
        public Long extraCostDeduction = null;
        public Long fastSettlementFee = null;
        public Long outstandingApplied = null;
        public Long netAmount = null;
        public Boolean fastSettlementRequested = null;
        public Date fastSettlementRequestedAt = null;
        public String approvedBy = null;
        public Date approvedAt = null;
        @References(IsbPayoutBatchRow.class)
        public Integer isbPayoutBatchRowId = null;

        public Date createdAt = null;
        public Date updatedAt = null;
        public String memo = null;
        
        public Integer getId() { return id; }
        public EventPayout setId(Integer value) { this.id = value; return this; }
        public Integer getEventId() { return eventId; }
        public EventPayout setEventId(Integer value) { this.eventId = value; return this; }
        public Integer getEventOwnerId() { return eventOwnerId; }
        public EventPayout setEventOwnerId(Integer value) { this.eventOwnerId = value; return this; }
        public String getState() { return state; }
        public EventPayout setState(String value) { this.state = value; return this; }
        public Date getDefaultEligibleAt() { return defaultEligibleAt; }
        public EventPayout setDefaultEligibleAt(Date value) { this.defaultEligibleAt = value; return this; }
        public Long getGrossAmount() { return grossAmount; }
        public EventPayout setGrossAmount(Long value) { this.grossAmount = value; return this; }
        public Long getTransactionFee() { return transactionFee; }
        public EventPayout setTransactionFee(Long value) { this.transactionFee = value; return this; }
        public Long getPlatformCut() { return platformCut; }
        public EventPayout setPlatformCut(Long value) { this.platformCut = value; return this; }
        public Long getFreeTicketDeduction() { return freeTicketDeduction; }
        public EventPayout setFreeTicketDeduction(Long value) { this.freeTicketDeduction = value; return this; }
        public Long getMinimumFeeDeduction() { return minimumFeeDeduction; }
        public EventPayout setMinimumFeeDeduction(Long value) { this.minimumFeeDeduction = value; return this; }
        public Long getExtraCostDeduction() { return extraCostDeduction; }
        public EventPayout setExtraCostDeduction(Long value) { this.extraCostDeduction = value; return this; }
        public Long getFastSettlementFee() { return fastSettlementFee; }
        public EventPayout setFastSettlementFee(Long value) { this.fastSettlementFee = value; return this; }
        public Long getOutstandingApplied() { return outstandingApplied; }
        public EventPayout setOutstandingApplied(Long value) { this.outstandingApplied = value; return this; }
        public Long getNetAmount() { return netAmount; }
        public EventPayout setNetAmount(Long value) { this.netAmount = value; return this; }
        public Boolean isFastSettlementRequested() { return fastSettlementRequested; }
        public EventPayout setFastSettlementRequested(Boolean value) { this.fastSettlementRequested = value; return this; }
        public Date getFastSettlementRequestedAt() { return fastSettlementRequestedAt; }
        public EventPayout setFastSettlementRequestedAt(Date value) { this.fastSettlementRequestedAt = value; return this; }
        public String getApprovedBy() { return approvedBy; }
        public EventPayout setApprovedBy(String value) { this.approvedBy = value; return this; }
        public Date getApprovedAt() { return approvedAt; }
        public EventPayout setApprovedAt(Date value) { this.approvedAt = value; return this; }
        public Integer getIsbPayoutBatchRowId() { return isbPayoutBatchRowId; }
        public EventPayout setIsbPayoutBatchRowId(Integer value) { this.isbPayoutBatchRowId = value; return this; }
        public Date getCreatedAt() { return createdAt; }
        public EventPayout setCreatedAt(Date value) { this.createdAt = value; return this; }
        public Date getUpdatedAt() { return updatedAt; }
        public EventPayout setUpdatedAt(Date value) { this.updatedAt = value; return this; }
        public String getMemo() { return memo; }
        public EventPayout setMemo(String value) { this.memo = value; return this; }
    }

}

Java EventPayoutListRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /payouts HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	items: 
	[
		{
			id: 0,
			eventId: 0,
			eventOwnerId: 0,
			state: String,
			defaultEligibleAt: 0001-01-01,
			grossAmount: 0,
			transactionFee: 0,
			platformCut: 0,
			freeTicketDeduction: 0,
			minimumFeeDeduction: 0,
			extraCostDeduction: 0,
			fastSettlementFee: 0,
			outstandingApplied: 0,
			netAmount: 0,
			fastSettlementRequested: False,
			fastSettlementRequestedAt: 0001-01-01,
			approvedBy: String,
			approvedAt: 0001-01-01,
			isbPayoutBatchRowId: 0,
			createdAt: 0001-01-01,
			updatedAt: 0001-01-01,
			memo: String
		}
	],
	statusCode: 0,
	message: String
}