Billhighway Cloud API

<back to all web services

MemberPaymentOption

The following routes are available for this service:
GET/members/PaymentOption
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class MemberPaymentOption
    {
        public Integer ClientId = null;
        public String GroupId = null;
        public String UserId = null;
        public Integer BhUserId = null;
        
        public Integer getClientId() { return ClientId; }
        public MemberPaymentOption setClientId(Integer value) { this.ClientId = value; return this; }
        public String getGroupId() { return GroupId; }
        public MemberPaymentOption setGroupId(String value) { this.GroupId = value; return this; }
        public String getUserId() { return UserId; }
        public MemberPaymentOption setUserId(String value) { this.UserId = value; return this; }
        public Integer getBhUserId() { return BhUserId; }
        public MemberPaymentOption setBhUserId(Integer value) { this.BhUserId = value; return this; }
    }

    public static class MemberPaymentOptionReply implements IHaveErrorField
    {
        public Integer ClientId = null;
        public String GroupId = null;
        public Integer ErrorCode = null;
        public String ErrorMessage = null;
        public ArrayList<PaymentOptions> PaymentOption = null;
        @ApiMember(ExcludeInSchema=true)
        public Boolean IsError = null;
        
        public Integer getClientId() { return ClientId; }
        public MemberPaymentOptionReply setClientId(Integer value) { this.ClientId = value; return this; }
        public String getGroupId() { return GroupId; }
        public MemberPaymentOptionReply setGroupId(String value) { this.GroupId = value; return this; }
        public Integer getErrorCode() { return ErrorCode; }
        public MemberPaymentOptionReply setErrorCode(Integer value) { this.ErrorCode = value; return this; }
        public String getErrorMessage() { return ErrorMessage; }
        public MemberPaymentOptionReply setErrorMessage(String value) { this.ErrorMessage = value; return this; }
        public ArrayList<PaymentOptions> getPaymentOption() { return PaymentOption; }
        public MemberPaymentOptionReply setPaymentOption(ArrayList<PaymentOptions> value) { this.PaymentOption = value; return this; }
        public Boolean getIsError() { return IsError; }
        public MemberPaymentOptionReply setIsError(Boolean value) { this.IsError = value; return this; }
    }

    public static class PaymentOptions
    {
        public Integer BhUserId = null;
        public String UserId = null;
        public String PaymentOption = null;
        
        public Integer getBhUserId() { return BhUserId; }
        public PaymentOptions setBhUserId(Integer value) { this.BhUserId = value; return this; }
        public String getUserId() { return UserId; }
        public PaymentOptions setUserId(String value) { this.UserId = value; return this; }
        public String getPaymentOption() { return PaymentOption; }
        public PaymentOptions setPaymentOption(String value) { this.PaymentOption = value; return this; }
    }

}

Java MemberPaymentOption DTOs

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

HTTP + CSV

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

GET /members/PaymentOption HTTP/1.1 
Host: devapi.billhighway.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ClientId":0,"GroupId":"String","ErrorCode":0,"ErrorMessage":"String","PaymentOption":[{"BhUserId":0,"UserId":"String","PaymentOption":"String"}],"IsError":false}