/* Options: Date: 2026-11-08 11:30:31 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: CreditCardPaymentCollection.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/payments/creditcard", Verbs="POST") public static class CreditCardPaymentCollection implements IReturn { public ArrayList CreditCardPaymentList = null; public ArrayList getCreditCardPaymentList() { return CreditCardPaymentList; } public CreditCardPaymentCollection setCreditCardPaymentList(ArrayList value) { this.CreditCardPaymentList = value; return this; } private static Object responseType = CreditCardPaymentReply.class; public Object getResponseType() { return responseType; } } @Route(Path="/api/CreditCard/Payment", Verbs="POST") public static class CreditCardPayment extends CreditCardPayment implements IReturn { public SubscriptionParameters SubscriptionInfo = null; public SubscriptionParameters getSubscriptionInfo() { return SubscriptionInfo; } public CreditCardPayment setSubscriptionInfo(SubscriptionParameters value) { this.SubscriptionInfo = value; return this; } private static Object responseType = CreditCardPaymentResult.class; public Object getResponseType() { return responseType; } } @Route(Path="/api/CreditCard/Payment", Verbs="POST") public static class CreditCardPayment extends CreditCardPayment implements IReturn { private static Object responseType = CreditCardPaymentResponse.class; public Object getResponseType() { return responseType; } } public static class CreditCardPaymentReply { public String ClassName = null; public String UniqueId = null; public Date CreatedDateTime = null; public Integer ClientId = null; public String TransactionId = null; public Integer ErrorCode = null; public String ErrorMessage = null; public String getClassName() { return ClassName; } public CreditCardPaymentReply setClassName(String value) { this.ClassName = value; return this; } public String getUniqueId() { return UniqueId; } public CreditCardPaymentReply setUniqueId(String value) { this.UniqueId = value; return this; } public Date getCreatedDateTime() { return CreatedDateTime; } public CreditCardPaymentReply setCreatedDateTime(Date value) { this.CreatedDateTime = value; return this; } public Integer getClientId() { return ClientId; } public CreditCardPaymentReply setClientId(Integer value) { this.ClientId = value; return this; } public String getTransactionId() { return TransactionId; } public CreditCardPaymentReply setTransactionId(String value) { this.TransactionId = value; return this; } public Integer getErrorCode() { return ErrorCode; } public CreditCardPaymentReply setErrorCode(Integer value) { this.ErrorCode = value; return this; } public String getErrorMessage() { return ErrorMessage; } public CreditCardPaymentReply setErrorMessage(String value) { this.ErrorMessage = value; return this; } } public static class CreditCardPayment { 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 Amount = null; public Boolean AutoPay = null; public String CurrencyType = null; public String Country = null; public String CardReferenceOrCardNumber = null; public Boolean StoreCardInfo = null; public String Address1 = null; public String Address2 = null; public String BillingCity = null; public String BillingState = null; public String PreferredEmailAddress = null; public String Memo = null; public String OpportunityId = null; public Integer ExpMonth = null; public Integer ExpYear = null; public String Cvv = null; public String PostalCode = null; public String Location = null; public String NameOnCard = null; public String CardType = null; public ArrayList InvoiceList = null; public String getClassName() { return ClassName; } public CreditCardPayment setClassName(String value) { this.ClassName = value; return this; } public String getUniqueId() { return UniqueId; } public CreditCardPayment setUniqueId(String value) { this.UniqueId = value; return this; } public Date getCreatedDateTime() { return CreatedDateTime; } public CreditCardPayment setCreatedDateTime(Date value) { this.CreatedDateTime = value; return this; } public Integer getClientId() { return ClientId; } public CreditCardPayment setClientId(Integer value) { this.ClientId = value; return this; } public String getGroupId() { return GroupId; } public CreditCardPayment setGroupId(String value) { this.GroupId = value; return this; } public String getUserId() { return UserId; } public CreditCardPayment setUserId(String value) { this.UserId = value; return this; } public Integer getBhUserId() { return BhUserId; } public CreditCardPayment setBhUserId(Integer value) { this.BhUserId = value; return this; } public String getAmount() { return Amount; } public CreditCardPayment setAmount(String value) { this.Amount = value; return this; } public Boolean isAutoPay() { return AutoPay; } public CreditCardPayment setAutoPay(Boolean value) { this.AutoPay = value; return this; } public String getCurrencyType() { return CurrencyType; } public CreditCardPayment setCurrencyType(String value) { this.CurrencyType = value; return this; } public String getCountry() { return Country; } public CreditCardPayment setCountry(String value) { this.Country = value; return this; } public String getCardReferenceOrCardNumber() { return CardReferenceOrCardNumber; } public CreditCardPayment setCardReferenceOrCardNumber(String value) { this.CardReferenceOrCardNumber = value; return this; } public Boolean isStoreCardInfo() { return StoreCardInfo; } public CreditCardPayment setStoreCardInfo(Boolean value) { this.StoreCardInfo = value; return this; } public String getAddress1() { return Address1; } public CreditCardPayment setAddress1(String value) { this.Address1 = value; return this; } public String getAddress2() { return Address2; } public CreditCardPayment setAddress2(String value) { this.Address2 = value; return this; } public String getBillingCity() { return BillingCity; } public CreditCardPayment setBillingCity(String value) { this.BillingCity = value; return this; } public String getBillingState() { return BillingState; } public CreditCardPayment setBillingState(String value) { this.BillingState = value; return this; } public String getPreferredEmailAddress() { return PreferredEmailAddress; } public CreditCardPayment setPreferredEmailAddress(String value) { this.PreferredEmailAddress = value; return this; } public String getMemo() { return Memo; } public CreditCardPayment setMemo(String value) { this.Memo = value; return this; } public String getOpportunityId() { return OpportunityId; } public CreditCardPayment setOpportunityId(String value) { this.OpportunityId = value; return this; } public Integer getExpMonth() { return ExpMonth; } public CreditCardPayment setExpMonth(Integer value) { this.ExpMonth = value; return this; } public Integer getExpYear() { return ExpYear; } public CreditCardPayment setExpYear(Integer value) { this.ExpYear = value; return this; } public String getCvv() { return Cvv; } public CreditCardPayment setCvv(String value) { this.Cvv = value; return this; } public String getPostalCode() { return PostalCode; } public CreditCardPayment setPostalCode(String value) { this.PostalCode = value; return this; } public String getLocation() { return Location; } public CreditCardPayment setLocation(String value) { this.Location = value; return this; } public String getNameOnCard() { return NameOnCard; } public CreditCardPayment setNameOnCard(String value) { this.NameOnCard = value; return this; } public String getCardType() { return CardType; } public CreditCardPayment setCardType(String value) { this.CardType = value; return this; } public ArrayList getInvoiceList() { return InvoiceList; } public CreditCardPayment setInvoiceList(ArrayList value) { this.InvoiceList = value; return this; } } public static class CreditCardPayment { public ApiClientHeader Header = null; public AddressInformation BillingAddress = null; public CreditCardInformation CardInfo = null; public PaymentInformation PaymentInfo = null; public ApiClientHeader getHeader() { return Header; } public CreditCardPayment setHeader(ApiClientHeader value) { this.Header = value; return this; } public AddressInformation getBillingAddress() { return BillingAddress; } public CreditCardPayment setBillingAddress(AddressInformation value) { this.BillingAddress = value; return this; } public CreditCardInformation getCardInfo() { return CardInfo; } public CreditCardPayment setCardInfo(CreditCardInformation value) { this.CardInfo = value; return this; } public PaymentInformation getPaymentInfo() { return PaymentInfo; } public CreditCardPayment setPaymentInfo(PaymentInformation value) { this.PaymentInfo = value; return this; } } @DataContract(Namespace="www.billhighway.com/api") public static class CreditCardPayment implements IDTOHasApiKey { @DataMember(Name="apiKey", Order=1) @SerializedName("apiKey") public String APIKey = null; @DataMember(Name="clientId", Order=2) @SerializedName("clientId") public Integer ClientID = null; @DataMember(Name="groupId", Order=3) @SerializedName("groupId") public Integer GroupId = null; @DataMember(Name="amount", Order=4) @SerializedName("amount") public BigDecimal Amount = null; @DataMember(Name="nameOnCard", Order=5) @SerializedName("nameOnCard") public String NameOnCard = null; @DataMember(Name="cardNumber", Order=6) @SerializedName("cardNumber") public String CardNumber = null; @DataMember(Name="cvv", Order=7) @SerializedName("cvv") public String CVV = null; @DataMember(Name="expMonth", Order=8) @SerializedName("expMonth") public Integer ExpMonth = null; @DataMember(Name="expYear", Order=9) @SerializedName("expYear") public Integer ExpYear = null; @DataMember(Name="address", Order=10) @SerializedName("address") public String Address = null; @DataMember(Name="city", Order=11) @SerializedName("city") public String City = null; @DataMember(Name="state", Order=12) @SerializedName("state") public String State = null; @DataMember(Name="postalCode", Order=13) @SerializedName("postalCode") public String PostalCode = null; @DataMember(Name="emailAddress", Order=14) @SerializedName("emailAddress") public String EmailAddress = null; @DataMember(Name="memo", Order=15) @SerializedName("memo") public String Memo = null; @DataMember(Name="occurs", Order=16) @SerializedName("occurs") public String Occurs = null; @DataMember(Name="numberOfOccurences", Order=17) @SerializedName("numberOfOccurences") public String NumberOfOccurences = null; public String getApiKey() { return APIKey; } public CreditCardPayment setApiKey(String value) { this.APIKey = value; return this; } public Integer getClientID() { return ClientID; } public CreditCardPayment setClientID(Integer value) { this.ClientID = value; return this; } public Integer getGroupId() { return GroupId; } public CreditCardPayment setGroupId(Integer value) { this.GroupId = value; return this; } public BigDecimal getAmount() { return Amount; } public CreditCardPayment setAmount(BigDecimal value) { this.Amount = value; return this; } public String getNameOnCard() { return NameOnCard; } public CreditCardPayment setNameOnCard(String value) { this.NameOnCard = value; return this; } public String getCardNumber() { return CardNumber; } public CreditCardPayment setCardNumber(String value) { this.CardNumber = value; return this; } public String getCvv() { return CVV; } public CreditCardPayment setCvv(String value) { this.CVV = value; return this; } public Integer getExpMonth() { return ExpMonth; } public CreditCardPayment setExpMonth(Integer value) { this.ExpMonth = value; return this; } public Integer getExpYear() { return ExpYear; } public CreditCardPayment setExpYear(Integer value) { this.ExpYear = value; return this; } public String getAddress() { return Address; } public CreditCardPayment setAddress(String value) { this.Address = value; return this; } public String getCity() { return City; } public CreditCardPayment setCity(String value) { this.City = value; return this; } public String getState() { return State; } public CreditCardPayment setState(String value) { this.State = value; return this; } public String getPostalCode() { return PostalCode; } public CreditCardPayment setPostalCode(String value) { this.PostalCode = value; return this; } public String getEmailAddress() { return EmailAddress; } public CreditCardPayment setEmailAddress(String value) { this.EmailAddress = value; return this; } public String getMemo() { return Memo; } public CreditCardPayment setMemo(String value) { this.Memo = value; return this; } public String getOccurs() { return Occurs; } public CreditCardPayment setOccurs(String value) { this.Occurs = value; return this; } public String getNumberOfOccurences() { return NumberOfOccurences; } public CreditCardPayment setNumberOfOccurences(String value) { this.NumberOfOccurences = value; return this; } } }