Billhighway Cloud API

<back to all web services

DisableAutoPay

The following routes are available for this service:
POST/payments/autopay/disable
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class DisableAutoPay
    {
        public String ClassName = null;
        public String UniqueId = null;
        public Date CreatedDateTime = null;
        public Integer ClientId = null;
        public String GroupId = null;
        public String UserId = null;
        public Integer BhUserId = null;
        public String Currency = null;
        
        public String getClassName() { return ClassName; }
        public DisableAutoPay setClassName(String value) { this.ClassName = value; return this; }
        public String getUniqueId() { return UniqueId; }
        public DisableAutoPay setUniqueId(String value) { this.UniqueId = value; return this; }
        public Date getCreatedDateTime() { return CreatedDateTime; }
        public DisableAutoPay setCreatedDateTime(Date value) { this.CreatedDateTime = value; return this; }
        public Integer getClientId() { return ClientId; }
        public DisableAutoPay setClientId(Integer value) { this.ClientId = value; return this; }
        public String getGroupId() { return GroupId; }
        public DisableAutoPay setGroupId(String value) { this.GroupId = value; return this; }
        public String getUserId() { return UserId; }
        public DisableAutoPay setUserId(String value) { this.UserId = value; return this; }
        public Integer getBhUserId() { return BhUserId; }
        public DisableAutoPay setBhUserId(Integer value) { this.BhUserId = value; return this; }
        public String getCurrency() { return Currency; }
        public DisableAutoPay setCurrency(String value) { this.Currency = value; return this; }
    }

    public static class DisableAutoPayReply implements IHaveErrorField
    {
        public String ClassName = null;
        public String UniqueId = null;
        public Date CreatedDateTime = null;
        public Integer ClientId = null;
        public Integer ErrorCode = null;
        public String ErrorMessage = null;
        public Boolean IsError = null;
        
        public String getClassName() { return ClassName; }
        public DisableAutoPayReply setClassName(String value) { this.ClassName = value; return this; }
        public String getUniqueId() { return UniqueId; }
        public DisableAutoPayReply setUniqueId(String value) { this.UniqueId = value; return this; }
        public Date getCreatedDateTime() { return CreatedDateTime; }
        public DisableAutoPayReply setCreatedDateTime(Date value) { this.CreatedDateTime = value; return this; }
        public Integer getClientId() { return ClientId; }
        public DisableAutoPayReply setClientId(Integer value) { this.ClientId = value; return this; }
        public Integer getErrorCode() { return ErrorCode; }
        public DisableAutoPayReply setErrorCode(Integer value) { this.ErrorCode = value; return this; }
        public String getErrorMessage() { return ErrorMessage; }
        public DisableAutoPayReply setErrorMessage(String value) { this.ErrorMessage = value; return this; }
        public Boolean getIsError() { return IsError; }
        public DisableAutoPayReply setIsError(Boolean value) { this.IsError = value; return this; }
    }

}

Java DisableAutoPay 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.

POST /payments/autopay/disable HTTP/1.1 
Host: devapi.billhighway.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	ClassName: String,
	UniqueId: String,
	CreatedDateTime: 0001-01-01,
	ClientId: 0,
	GroupId: String,
	UserId: String,
	BhUserId: 0,
	Currency: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ClassName: String,
	UniqueId: String,
	CreatedDateTime: 0001-01-01,
	ClientId: 0,
	ErrorCode: 0,
	ErrorMessage: String,
	IsError: False
}