| GET | /PayoutTransactionFee/List |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class PayoutTransactionFeeListRequest
{
}
public static class PayoutTransactionFeeListResult
{
public ArrayList<PayoutTransactionFee> items = null;
public Integer statusCode = null;
public String message = null;
public ArrayList<PayoutTransactionFee> getItems() { return items; }
public PayoutTransactionFeeListResult setItems(ArrayList<PayoutTransactionFee> value) { this.items = value; return this; }
public Integer getStatusCode() { return statusCode; }
public PayoutTransactionFeeListResult setStatusCode(Integer value) { this.statusCode = value; return this; }
public String getMessage() { return message; }
public PayoutTransactionFeeListResult setMessage(String value) { this.message = value; return this; }
}
public static class PayoutTransactionFee
{
public Integer id = null;
public String paymentMethodId = null;
public BigDecimal transactionPercentage = null;
public Date createdAt = null;
public Date validTo = null;
public Date effectiveFrom = null;
public Integer eventOwnerId = null;
public Integer getId() { return id; }
public PayoutTransactionFee setId(Integer value) { this.id = value; return this; }
public String getPaymentMethodId() { return paymentMethodId; }
public PayoutTransactionFee setPaymentMethodId(String value) { this.paymentMethodId = value; return this; }
public BigDecimal getTransactionPercentage() { return transactionPercentage; }
public PayoutTransactionFee setTransactionPercentage(BigDecimal value) { this.transactionPercentage = value; return this; }
public Date getCreatedAt() { return createdAt; }
public PayoutTransactionFee setCreatedAt(Date value) { this.createdAt = value; return this; }
public Date getValidTo() { return validTo; }
public PayoutTransactionFee setValidTo(Date value) { this.validTo = value; return this; }
public Date getEffectiveFrom() { return effectiveFrom; }
public PayoutTransactionFee setEffectiveFrom(Date value) { this.effectiveFrom = value; return this; }
public Integer getEventOwnerId() { return eventOwnerId; }
public PayoutTransactionFee setEventOwnerId(Integer value) { this.eventOwnerId = value; return this; }
}
}
Java PayoutTransactionFeeListRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /PayoutTransactionFee/List HTTP/1.1 Host: stubbur-app.azurewebsites.net Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"items":[{"id":0,"paymentMethodId":"String","transactionPercentage":0,"createdAt":"0001-01-01T00:00:00.0000000","validTo":"0001-01-01T00:00:00.0000000","effectiveFrom":"0001-01-01T00:00:00.0000000","eventOwnerId":0}],"statusCode":0,"message":"String"}