TicketUserServices

<back to all web services

PayoutTransactionFeeUpdateRequest

Requires Authentication
Requires the role:Admin
The following routes are available for this service:
PUT/PayoutTransactionFee
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class PayoutTransactionFeeUpdateRequest
    {
        public PayoutTransactionFee item = null;
        
        public PayoutTransactionFee getItem() { return item; }
        public PayoutTransactionFeeUpdateRequest setItem(PayoutTransactionFee value) { this.item = 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; }
    }

    public static class PayoutTransactionFeeResult
    {
        public PayoutTransactionFee item = null;
        public Integer statusCode = null;
        public String message = null;
        
        public PayoutTransactionFee getItem() { return item; }
        public PayoutTransactionFeeResult setItem(PayoutTransactionFee value) { this.item = value; return this; }
        public Integer getStatusCode() { return statusCode; }
        public PayoutTransactionFeeResult setStatusCode(Integer value) { this.statusCode = value; return this; }
        public String getMessage() { return message; }
        public PayoutTransactionFeeResult setMessage(String value) { this.message = value; return this; }
    }

}

Java PayoutTransactionFeeUpdateRequest 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

HTTP + JSON

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

PUT /PayoutTransactionFee HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"item":{"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}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"item":{"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"}