| GET | /members/StatusValues |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class MemberStatusValues
{
public Integer ClientId = null;
public String GroupId = null;
public String UserId = null;
public Integer BhUserId = null;
public Integer getClientId() { return ClientId; }
public MemberStatusValues setClientId(Integer value) { this.ClientId = value; return this; }
public String getGroupId() { return GroupId; }
public MemberStatusValues setGroupId(String value) { this.GroupId = value; return this; }
public String getUserId() { return UserId; }
public MemberStatusValues setUserId(String value) { this.UserId = value; return this; }
public Integer getBhUserId() { return BhUserId; }
public MemberStatusValues setBhUserId(Integer value) { this.BhUserId = value; return this; }
}
public static class MemberStatusValuesReply implements IHaveErrorField
{
public Integer ClientId = null;
public String GroupId = null;
public Integer ErrorCode = null;
public String ErrorMessage = null;
public String UserId = null;
public Integer BhUserId = null;
public Integer BillingTypeId = null;
public Integer MemberStatusId = null;
public String MemberStatusCode = null;
public String MemberStatusDesc = null;
public Integer MemberTypeId = null;
public String MemberTypeCode = null;
public String MemberTypeDesc = null;
public String CurrentBalance = null;
public String AutoPayStatus = null;
public AutoPayInfo AutoPayInfo = null;
@ApiMember(ExcludeInSchema=true)
public Boolean IsError = null;
public Integer getClientId() { return ClientId; }
public MemberStatusValuesReply setClientId(Integer value) { this.ClientId = value; return this; }
public String getGroupId() { return GroupId; }
public MemberStatusValuesReply setGroupId(String value) { this.GroupId = value; return this; }
public Integer getErrorCode() { return ErrorCode; }
public MemberStatusValuesReply setErrorCode(Integer value) { this.ErrorCode = value; return this; }
public String getErrorMessage() { return ErrorMessage; }
public MemberStatusValuesReply setErrorMessage(String value) { this.ErrorMessage = value; return this; }
public String getUserId() { return UserId; }
public MemberStatusValuesReply setUserId(String value) { this.UserId = value; return this; }
public Integer getBhUserId() { return BhUserId; }
public MemberStatusValuesReply setBhUserId(Integer value) { this.BhUserId = value; return this; }
public Integer getBillingTypeId() { return BillingTypeId; }
public MemberStatusValuesReply setBillingTypeId(Integer value) { this.BillingTypeId = value; return this; }
public Integer getMemberStatusId() { return MemberStatusId; }
public MemberStatusValuesReply setMemberStatusId(Integer value) { this.MemberStatusId = value; return this; }
public String getMemberStatusCode() { return MemberStatusCode; }
public MemberStatusValuesReply setMemberStatusCode(String value) { this.MemberStatusCode = value; return this; }
public String getMemberStatusDesc() { return MemberStatusDesc; }
public MemberStatusValuesReply setMemberStatusDesc(String value) { this.MemberStatusDesc = value; return this; }
public Integer getMemberTypeId() { return MemberTypeId; }
public MemberStatusValuesReply setMemberTypeId(Integer value) { this.MemberTypeId = value; return this; }
public String getMemberTypeCode() { return MemberTypeCode; }
public MemberStatusValuesReply setMemberTypeCode(String value) { this.MemberTypeCode = value; return this; }
public String getMemberTypeDesc() { return MemberTypeDesc; }
public MemberStatusValuesReply setMemberTypeDesc(String value) { this.MemberTypeDesc = value; return this; }
public String getCurrentBalance() { return CurrentBalance; }
public MemberStatusValuesReply setCurrentBalance(String value) { this.CurrentBalance = value; return this; }
public String getAutoPayStatus() { return AutoPayStatus; }
public MemberStatusValuesReply setAutoPayStatus(String value) { this.AutoPayStatus = value; return this; }
public AutoPayInfo getAutoPayInfo() { return AutoPayInfo; }
public MemberStatusValuesReply setAutoPayInfo(AutoPayInfo value) { this.AutoPayInfo = value; return this; }
public Boolean getIsError() { return IsError; }
public MemberStatusValuesReply setIsError(Boolean value) { this.IsError = value; return this; }
}
public static class AutoPayInfo
{
public String PaymentMethod = null;
public String CardType = null;
public String CardReference = null;
public String CardNumberLastFour = null;
public Integer ExpMonth = null;
public Integer ExpYear = null;
public String AchReference = null;
public String PayerName = null;
public String Address1 = null;
public String Address2 = null;
public String BillingCity = null;
public String BillingState = null;
public String PostalCode = null;
public String Country = null;
public String AccountNumberLastFour = null;
public String RoutingNumberLastFour = null;
public String AccountType = null;
public String LastAutoPayAmount = null;
public String LastAutoPayDate = null;
public String getPaymentMethod() { return PaymentMethod; }
public AutoPayInfo setPaymentMethod(String value) { this.PaymentMethod = value; return this; }
public String getCardType() { return CardType; }
public AutoPayInfo setCardType(String value) { this.CardType = value; return this; }
public String getCardReference() { return CardReference; }
public AutoPayInfo setCardReference(String value) { this.CardReference = value; return this; }
public String getCardNumberLastFour() { return CardNumberLastFour; }
public AutoPayInfo setCardNumberLastFour(String value) { this.CardNumberLastFour = value; return this; }
public Integer getExpMonth() { return ExpMonth; }
public AutoPayInfo setExpMonth(Integer value) { this.ExpMonth = value; return this; }
public Integer getExpYear() { return ExpYear; }
public AutoPayInfo setExpYear(Integer value) { this.ExpYear = value; return this; }
public String getAchReference() { return AchReference; }
public AutoPayInfo setAchReference(String value) { this.AchReference = value; return this; }
public String getPayerName() { return PayerName; }
public AutoPayInfo setPayerName(String value) { this.PayerName = value; return this; }
public String getAddress1() { return Address1; }
public AutoPayInfo setAddress1(String value) { this.Address1 = value; return this; }
public String getAddress2() { return Address2; }
public AutoPayInfo setAddress2(String value) { this.Address2 = value; return this; }
public String getBillingCity() { return BillingCity; }
public AutoPayInfo setBillingCity(String value) { this.BillingCity = value; return this; }
public String getBillingState() { return BillingState; }
public AutoPayInfo setBillingState(String value) { this.BillingState = value; return this; }
public String getPostalCode() { return PostalCode; }
public AutoPayInfo setPostalCode(String value) { this.PostalCode = value; return this; }
public String getCountry() { return Country; }
public AutoPayInfo setCountry(String value) { this.Country = value; return this; }
public String getAccountNumberLastFour() { return AccountNumberLastFour; }
public AutoPayInfo setAccountNumberLastFour(String value) { this.AccountNumberLastFour = value; return this; }
public String getRoutingNumberLastFour() { return RoutingNumberLastFour; }
public AutoPayInfo setRoutingNumberLastFour(String value) { this.RoutingNumberLastFour = value; return this; }
public String getAccountType() { return AccountType; }
public AutoPayInfo setAccountType(String value) { this.AccountType = value; return this; }
public String getLastAutoPayAmount() { return LastAutoPayAmount; }
public AutoPayInfo setLastAutoPayAmount(String value) { this.LastAutoPayAmount = value; return this; }
public String getLastAutoPayDate() { return LastAutoPayDate; }
public AutoPayInfo setLastAutoPayDate(String value) { this.LastAutoPayDate = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /members/StatusValues HTTP/1.1 Host: devapi.billhighway.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ClientId: 0,
GroupId: String,
ErrorCode: 0,
ErrorMessage: String,
UserId: String,
BhUserId: 0,
BillingTypeId: 0,
MemberStatusId: 0,
MemberStatusCode: String,
MemberStatusDesc: String,
MemberTypeId: 0,
MemberTypeCode: String,
MemberTypeDesc: String,
CurrentBalance: String,
AutoPayStatus: String,
AutoPayInfo:
{
PaymentMethod: String,
CardType: String,
CardReference: String,
CardNumberLastFour: String,
ExpMonth: 0,
ExpYear: 0,
AchReference: String,
PayerName: String,
Address1: String,
Address2: String,
BillingCity: String,
BillingState: String,
PostalCode: String,
Country: String,
AccountNumberLastFour: String,
RoutingNumberLastFour: String,
AccountType: String,
LastAutoPayAmount: String,
LastAutoPayDate: String
},
IsError: False
}