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 .xml suffix or ?format=xml

HTTP + XML

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: application/xml
Content-Type: application/xml
Content-Length: length

<DisableAutoPay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common4.DTO.SalesForce">
  <BhUserId>0</BhUserId>
  <ClassName>String</ClassName>
  <ClientId>0</ClientId>
  <CreatedDateTime>0001-01-01T00:00:00</CreatedDateTime>
  <Currency>String</Currency>
  <GroupId>String</GroupId>
  <UniqueId>String</UniqueId>
  <UserId>String</UserId>
</DisableAutoPay>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<DisableAutoPayReply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common4.DTO.SalesForce">
  <ClassName>String</ClassName>
  <ClientId>0</ClientId>
  <CreatedDateTime>0001-01-01T00:00:00</CreatedDateTime>
  <ErrorCode>0</ErrorCode>
  <ErrorMessage>String</ErrorMessage>
  <UniqueId>String</UniqueId>
</DisableAutoPayReply>