| POST | /api/SalesForce/PMI |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class SalesForcePmi
{
public String ClassName = null;
public String UniqueId = null;
public Date CreatedDateTime = null;
public Integer ClientId = null;
public Integer GroupId = null;
public SalesForceMember MemberInfo = null;
public ArrayList<SalesForceInvoice> InvoiceCollection = null;
public SalesForceCreditCardPayment CcPaymentInfo = null;
public SalesForceCreateApplyCredit CreditInfo = null;
public AchPayment AchPaymentInfo = null;
public Long LockboxId = null;
public String getClassName() { return ClassName; }
public SalesForcePmi setClassName(String value) { this.ClassName = value; return this; }
public String getUniqueId() { return UniqueId; }
public SalesForcePmi setUniqueId(String value) { this.UniqueId = value; return this; }
public Date getCreatedDateTime() { return CreatedDateTime; }
public SalesForcePmi setCreatedDateTime(Date value) { this.CreatedDateTime = value; return this; }
public Integer getClientId() { return ClientId; }
public SalesForcePmi setClientId(Integer value) { this.ClientId = value; return this; }
public Integer getGroupId() { return GroupId; }
public SalesForcePmi setGroupId(Integer value) { this.GroupId = value; return this; }
public SalesForceMember getMemberInfo() { return MemberInfo; }
public SalesForcePmi setMemberInfo(SalesForceMember value) { this.MemberInfo = value; return this; }
public ArrayList<SalesForceInvoice> getInvoiceCollection() { return InvoiceCollection; }
public SalesForcePmi setInvoiceCollection(ArrayList<SalesForceInvoice> value) { this.InvoiceCollection = value; return this; }
public SalesForceCreditCardPayment getCcPaymentInfo() { return CcPaymentInfo; }
public SalesForcePmi setCcPaymentInfo(SalesForceCreditCardPayment value) { this.CcPaymentInfo = value; return this; }
public SalesForceCreateApplyCredit getCreditInfo() { return CreditInfo; }
public SalesForcePmi setCreditInfo(SalesForceCreateApplyCredit value) { this.CreditInfo = value; return this; }
public AchPayment getAchPaymentInfo() { return AchPaymentInfo; }
public SalesForcePmi setAchPaymentInfo(AchPayment value) { this.AchPaymentInfo = value; return this; }
public Long getLockboxId() { return LockboxId; }
public SalesForcePmi setLockboxId(Long value) { this.LockboxId = value; return this; }
}
public static class SalesForceMember
{
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 String AlternateUserId = null;
public Integer BhUserId = null;
public String FirstName = null;
public String LastName = null;
public String MiddleName = null;
public String PreferredEmailAddress = null;
public String OtherEmailAddress = null;
public String PreferredPhoneNumber = null;
public String PreferredAddress1 = null;
public String PreferredAddress2 = null;
public String PreferredCity = null;
public String PreferredState = null;
public String PreferredZip = null;
public String PreferredCountry = null;
public String AccessLevel = null;
public String MemberStatus = null;
public String MemberTypeClient = null;
public String BillingType = null;
public Integer FiscalYear = null;
public String WorkLocation = null;
public Date DOB = null;
public String Paperless = null;
public String DisplayName = null;
public String DisableLogin = null;
public RecurringInvoiceSettings RecurringInvoiceSettings = null;
public ArrayList<SubscriberFormField> FormFields = null;
public ArrayList<AttributeItem> Attributes = null;
public ArrayList<Chapter> GroupList = null;
public String getClassName() { return ClassName; }
public SalesForceMember setClassName(String value) { this.ClassName = value; return this; }
public String getUniqueId() { return UniqueId; }
public SalesForceMember setUniqueId(String value) { this.UniqueId = value; return this; }
public Date getCreatedDateTime() { return CreatedDateTime; }
public SalesForceMember setCreatedDateTime(Date value) { this.CreatedDateTime = value; return this; }
public Integer getClientId() { return ClientId; }
public SalesForceMember setClientId(Integer value) { this.ClientId = value; return this; }
public String getGroupId() { return GroupId; }
public SalesForceMember setGroupId(String value) { this.GroupId = value; return this; }
public String getUserId() { return UserId; }
public SalesForceMember setUserId(String value) { this.UserId = value; return this; }
public String getAlternateUserId() { return AlternateUserId; }
public SalesForceMember setAlternateUserId(String value) { this.AlternateUserId = value; return this; }
public Integer getBhUserId() { return BhUserId; }
public SalesForceMember setBhUserId(Integer value) { this.BhUserId = value; return this; }
public String getFirstName() { return FirstName; }
public SalesForceMember setFirstName(String value) { this.FirstName = value; return this; }
public String getLastName() { return LastName; }
public SalesForceMember setLastName(String value) { this.LastName = value; return this; }
public String getMiddleName() { return MiddleName; }
public SalesForceMember setMiddleName(String value) { this.MiddleName = value; return this; }
public String getPreferredEmailAddress() { return PreferredEmailAddress; }
public SalesForceMember setPreferredEmailAddress(String value) { this.PreferredEmailAddress = value; return this; }
public String getOtherEmailAddress() { return OtherEmailAddress; }
public SalesForceMember setOtherEmailAddress(String value) { this.OtherEmailAddress = value; return this; }
public String getPreferredPhoneNumber() { return PreferredPhoneNumber; }
public SalesForceMember setPreferredPhoneNumber(String value) { this.PreferredPhoneNumber = value; return this; }
public String getPreferredAddress1() { return PreferredAddress1; }
public SalesForceMember setPreferredAddress1(String value) { this.PreferredAddress1 = value; return this; }
public String getPreferredAddress2() { return PreferredAddress2; }
public SalesForceMember setPreferredAddress2(String value) { this.PreferredAddress2 = value; return this; }
public String getPreferredCity() { return PreferredCity; }
public SalesForceMember setPreferredCity(String value) { this.PreferredCity = value; return this; }
public String getPreferredState() { return PreferredState; }
public SalesForceMember setPreferredState(String value) { this.PreferredState = value; return this; }
public String getPreferredZip() { return PreferredZip; }
public SalesForceMember setPreferredZip(String value) { this.PreferredZip = value; return this; }
public String getPreferredCountry() { return PreferredCountry; }
public SalesForceMember setPreferredCountry(String value) { this.PreferredCountry = value; return this; }
public String getAccessLevel() { return AccessLevel; }
public SalesForceMember setAccessLevel(String value) { this.AccessLevel = value; return this; }
public String getMemberStatus() { return MemberStatus; }
public SalesForceMember setMemberStatus(String value) { this.MemberStatus = value; return this; }
public String getMemberTypeClient() { return MemberTypeClient; }
public SalesForceMember setMemberTypeClient(String value) { this.MemberTypeClient = value; return this; }
public String getBillingType() { return BillingType; }
public SalesForceMember setBillingType(String value) { this.BillingType = value; return this; }
public Integer getFiscalYear() { return FiscalYear; }
public SalesForceMember setFiscalYear(Integer value) { this.FiscalYear = value; return this; }
public String getWorkLocation() { return WorkLocation; }
public SalesForceMember setWorkLocation(String value) { this.WorkLocation = value; return this; }
public Date getDob() { return DOB; }
public SalesForceMember setDob(Date value) { this.DOB = value; return this; }
public String getPaperless() { return Paperless; }
public SalesForceMember setPaperless(String value) { this.Paperless = value; return this; }
public String getDisplayName() { return DisplayName; }
public SalesForceMember setDisplayName(String value) { this.DisplayName = value; return this; }
public String getDisableLogin() { return DisableLogin; }
public SalesForceMember setDisableLogin(String value) { this.DisableLogin = value; return this; }
public RecurringInvoiceSettings getRecurringInvoiceSettings() { return RecurringInvoiceSettings; }
public SalesForceMember setRecurringInvoiceSettings(RecurringInvoiceSettings value) { this.RecurringInvoiceSettings = value; return this; }
public ArrayList<SubscriberFormField> getFormFields() { return FormFields; }
public SalesForceMember setFormFields(ArrayList<SubscriberFormField> value) { this.FormFields = value; return this; }
public ArrayList<AttributeItem> getAttributes() { return Attributes; }
public SalesForceMember setAttributes(ArrayList<AttributeItem> value) { this.Attributes = value; return this; }
public ArrayList<Chapter> getGroupList() { return GroupList; }
public SalesForceMember setGroupList(ArrayList<Chapter> value) { this.GroupList = value; return this; }
}
public static class RecurringInvoiceSettings
{
public String DonationAmount = null;
public String getDonationAmount() { return DonationAmount; }
public RecurringInvoiceSettings setDonationAmount(String value) { this.DonationAmount = value; return this; }
}
public static class SubscriberFormField
{
public String Name = null;
public String Value = null;
public String getName() { return Name; }
public SubscriberFormField setName(String value) { this.Name = value; return this; }
public String getValue() { return Value; }
public SubscriberFormField setValue(String value) { this.Value = value; return this; }
}
public static class AttributeItem
{
public String Name = null;
public String Value = null;
public String getName() { return Name; }
public AttributeItem setName(String value) { this.Name = value; return this; }
public String getValue() { return Value; }
public AttributeItem setValue(String value) { this.Value = value; return this; }
}
public static class Chapter
{
public String GroupId = null;
public String getGroupId() { return GroupId; }
public Chapter setGroupId(String value) { this.GroupId = value; return this; }
}
public static class SalesForceInvoice
{
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 String OpportunityId = null;
public Date InvoiceDueDate = null;
public Integer Installments = null;
public Integer Frequency = null;
public Integer BhUserId = null;
public String Description = null;
public Boolean Deliver = null;
public String CurrencyType = null;
public ArrayList<SalesForceInvoiceItem> InvoiceItems = null;
public Integer InvoiceNo = null;
public BigDecimal InvoiceAmt = null;
public String ExternalInvBatchNo = null;
public Boolean ExemptFromLateFee = null;
public String getClassName() { return ClassName; }
public SalesForceInvoice setClassName(String value) { this.ClassName = value; return this; }
public String getUniqueId() { return UniqueId; }
public SalesForceInvoice setUniqueId(String value) { this.UniqueId = value; return this; }
public Date getCreatedDateTime() { return CreatedDateTime; }
public SalesForceInvoice setCreatedDateTime(Date value) { this.CreatedDateTime = value; return this; }
public Integer getClientId() { return ClientId; }
public SalesForceInvoice setClientId(Integer value) { this.ClientId = value; return this; }
public String getGroupId() { return GroupId; }
public SalesForceInvoice setGroupId(String value) { this.GroupId = value; return this; }
public String getUserId() { return UserId; }
public SalesForceInvoice setUserId(String value) { this.UserId = value; return this; }
public String getOpportunityId() { return OpportunityId; }
public SalesForceInvoice setOpportunityId(String value) { this.OpportunityId = value; return this; }
public Date getInvoiceDueDate() { return InvoiceDueDate; }
public SalesForceInvoice setInvoiceDueDate(Date value) { this.InvoiceDueDate = value; return this; }
public Integer getInstallments() { return Installments; }
public SalesForceInvoice setInstallments(Integer value) { this.Installments = value; return this; }
public Integer getFrequency() { return Frequency; }
public SalesForceInvoice setFrequency(Integer value) { this.Frequency = value; return this; }
public Integer getBhUserId() { return BhUserId; }
public SalesForceInvoice setBhUserId(Integer value) { this.BhUserId = value; return this; }
public String getDescription() { return Description; }
public SalesForceInvoice setDescription(String value) { this.Description = value; return this; }
public Boolean isDeliver() { return Deliver; }
public SalesForceInvoice setDeliver(Boolean value) { this.Deliver = value; return this; }
public String getCurrencyType() { return CurrencyType; }
public SalesForceInvoice setCurrencyType(String value) { this.CurrencyType = value; return this; }
public ArrayList<SalesForceInvoiceItem> getInvoiceItems() { return InvoiceItems; }
public SalesForceInvoice setInvoiceItems(ArrayList<SalesForceInvoiceItem> value) { this.InvoiceItems = value; return this; }
public Integer getInvoiceNo() { return InvoiceNo; }
public SalesForceInvoice setInvoiceNo(Integer value) { this.InvoiceNo = value; return this; }
public BigDecimal getInvoiceAmt() { return InvoiceAmt; }
public SalesForceInvoice setInvoiceAmt(BigDecimal value) { this.InvoiceAmt = value; return this; }
public String getExternalInvBatchNo() { return ExternalInvBatchNo; }
public SalesForceInvoice setExternalInvBatchNo(String value) { this.ExternalInvBatchNo = value; return this; }
public Boolean isExemptFromLateFee() { return ExemptFromLateFee; }
public SalesForceInvoice setExemptFromLateFee(Boolean value) { this.ExemptFromLateFee = value; return this; }
}
public static class SalesForceInvoiceItem
{
public String ClassName = null;
public String UniqueId = null;
public Date CreatedDateTime = null;
public Integer ClientId = null;
public String ProductName = null;
public String AmountDue = null;
public String ProductType = null;
public Integer ActPatternTypeId = null;
public Date TermStartDate = null;
public Date TermEndDate = null;
public Integer RecognitionPeriod = null;
public String RevenueAccount = null;
public String AccountsReceivableAccount = null;
public String LiabilityAccount = null;
public String CreditExpenseAccount = null;
public String InvoiceClearingAccount = null;
public String CostCenter = null;
public String Region = null;
public String getClassName() { return ClassName; }
public SalesForceInvoiceItem setClassName(String value) { this.ClassName = value; return this; }
public String getUniqueId() { return UniqueId; }
public SalesForceInvoiceItem setUniqueId(String value) { this.UniqueId = value; return this; }
public Date getCreatedDateTime() { return CreatedDateTime; }
public SalesForceInvoiceItem setCreatedDateTime(Date value) { this.CreatedDateTime = value; return this; }
public Integer getClientId() { return ClientId; }
public SalesForceInvoiceItem setClientId(Integer value) { this.ClientId = value; return this; }
public String getProductName() { return ProductName; }
public SalesForceInvoiceItem setProductName(String value) { this.ProductName = value; return this; }
public String getAmountDue() { return AmountDue; }
public SalesForceInvoiceItem setAmountDue(String value) { this.AmountDue = value; return this; }
public String getProductType() { return ProductType; }
public SalesForceInvoiceItem setProductType(String value) { this.ProductType = value; return this; }
public Integer getActPatternTypeId() { return ActPatternTypeId; }
public SalesForceInvoiceItem setActPatternTypeId(Integer value) { this.ActPatternTypeId = value; return this; }
public Date getTermStartDate() { return TermStartDate; }
public SalesForceInvoiceItem setTermStartDate(Date value) { this.TermStartDate = value; return this; }
public Date getTermEndDate() { return TermEndDate; }
public SalesForceInvoiceItem setTermEndDate(Date value) { this.TermEndDate = value; return this; }
public Integer getRecognitionPeriod() { return RecognitionPeriod; }
public SalesForceInvoiceItem setRecognitionPeriod(Integer value) { this.RecognitionPeriod = value; return this; }
public String getRevenueAccount() { return RevenueAccount; }
public SalesForceInvoiceItem setRevenueAccount(String value) { this.RevenueAccount = value; return this; }
public String getAccountsReceivableAccount() { return AccountsReceivableAccount; }
public SalesForceInvoiceItem setAccountsReceivableAccount(String value) { this.AccountsReceivableAccount = value; return this; }
public String getLiabilityAccount() { return LiabilityAccount; }
public SalesForceInvoiceItem setLiabilityAccount(String value) { this.LiabilityAccount = value; return this; }
public String getCreditExpenseAccount() { return CreditExpenseAccount; }
public SalesForceInvoiceItem setCreditExpenseAccount(String value) { this.CreditExpenseAccount = value; return this; }
public String getInvoiceClearingAccount() { return InvoiceClearingAccount; }
public SalesForceInvoiceItem setInvoiceClearingAccount(String value) { this.InvoiceClearingAccount = value; return this; }
public String getCostCenter() { return CostCenter; }
public SalesForceInvoiceItem setCostCenter(String value) { this.CostCenter = value; return this; }
public String getRegion() { return Region; }
public SalesForceInvoiceItem setRegion(String value) { this.Region = value; return this; }
}
public static class SalesForceCreditCardPayment
{
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<SalesForceMemberPaymentInvoiceDetail> InvoiceList = null;
public String getClassName() { return ClassName; }
public SalesForceCreditCardPayment setClassName(String value) { this.ClassName = value; return this; }
public String getUniqueId() { return UniqueId; }
public SalesForceCreditCardPayment setUniqueId(String value) { this.UniqueId = value; return this; }
public Date getCreatedDateTime() { return CreatedDateTime; }
public SalesForceCreditCardPayment setCreatedDateTime(Date value) { this.CreatedDateTime = value; return this; }
public Integer getClientId() { return ClientId; }
public SalesForceCreditCardPayment setClientId(Integer value) { this.ClientId = value; return this; }
public String getGroupId() { return GroupId; }
public SalesForceCreditCardPayment setGroupId(String value) { this.GroupId = value; return this; }
public String getUserId() { return UserId; }
public SalesForceCreditCardPayment setUserId(String value) { this.UserId = value; return this; }
public Integer getBhUserId() { return BhUserId; }
public SalesForceCreditCardPayment setBhUserId(Integer value) { this.BhUserId = value; return this; }
public String getAmount() { return Amount; }
public SalesForceCreditCardPayment setAmount(String value) { this.Amount = value; return this; }
public Boolean isAutoPay() { return AutoPay; }
public SalesForceCreditCardPayment setAutoPay(Boolean value) { this.AutoPay = value; return this; }
public String getCurrencyType() { return CurrencyType; }
public SalesForceCreditCardPayment setCurrencyType(String value) { this.CurrencyType = value; return this; }
public String getCountry() { return Country; }
public SalesForceCreditCardPayment setCountry(String value) { this.Country = value; return this; }
public String getCardReferenceOrCardNumber() { return CardReferenceOrCardNumber; }
public SalesForceCreditCardPayment setCardReferenceOrCardNumber(String value) { this.CardReferenceOrCardNumber = value; return this; }
public Boolean isStoreCardInfo() { return StoreCardInfo; }
public SalesForceCreditCardPayment setStoreCardInfo(Boolean value) { this.StoreCardInfo = value; return this; }
public String getAddress1() { return Address1; }
public SalesForceCreditCardPayment setAddress1(String value) { this.Address1 = value; return this; }
public String getAddress2() { return Address2; }
public SalesForceCreditCardPayment setAddress2(String value) { this.Address2 = value; return this; }
public String getBillingCity() { return BillingCity; }
public SalesForceCreditCardPayment setBillingCity(String value) { this.BillingCity = value; return this; }
public String getBillingState() { return BillingState; }
public SalesForceCreditCardPayment setBillingState(String value) { this.BillingState = value; return this; }
public String getPreferredEmailAddress() { return PreferredEmailAddress; }
public SalesForceCreditCardPayment setPreferredEmailAddress(String value) { this.PreferredEmailAddress = value; return this; }
public String getMemo() { return Memo; }
public SalesForceCreditCardPayment setMemo(String value) { this.Memo = value; return this; }
public String getOpportunityId() { return OpportunityId; }
public SalesForceCreditCardPayment setOpportunityId(String value) { this.OpportunityId = value; return this; }
public Integer getExpMonth() { return ExpMonth; }
public SalesForceCreditCardPayment setExpMonth(Integer value) { this.ExpMonth = value; return this; }
public Integer getExpYear() { return ExpYear; }
public SalesForceCreditCardPayment setExpYear(Integer value) { this.ExpYear = value; return this; }
public String getCvv() { return Cvv; }
public SalesForceCreditCardPayment setCvv(String value) { this.Cvv = value; return this; }
public String getPostalCode() { return PostalCode; }
public SalesForceCreditCardPayment setPostalCode(String value) { this.PostalCode = value; return this; }
public String getLocation() { return Location; }
public SalesForceCreditCardPayment setLocation(String value) { this.Location = value; return this; }
public String getNameOnCard() { return NameOnCard; }
public SalesForceCreditCardPayment setNameOnCard(String value) { this.NameOnCard = value; return this; }
public String getCardType() { return CardType; }
public SalesForceCreditCardPayment setCardType(String value) { this.CardType = value; return this; }
public ArrayList<SalesForceMemberPaymentInvoiceDetail> getInvoiceList() { return InvoiceList; }
public SalesForceCreditCardPayment setInvoiceList(ArrayList<SalesForceMemberPaymentInvoiceDetail> value) { this.InvoiceList = value; return this; }
}
public static class SalesForceMemberPaymentInvoiceDetail
{
public String ClassName = null;
public String UniqueId = null;
public Date CreatedDateTime = null;
public Integer ClientId = null;
public Integer Invoice = null;
public String AmountPaid = null;
public String getClassName() { return ClassName; }
public SalesForceMemberPaymentInvoiceDetail setClassName(String value) { this.ClassName = value; return this; }
public String getUniqueId() { return UniqueId; }
public SalesForceMemberPaymentInvoiceDetail setUniqueId(String value) { this.UniqueId = value; return this; }
public Date getCreatedDateTime() { return CreatedDateTime; }
public SalesForceMemberPaymentInvoiceDetail setCreatedDateTime(Date value) { this.CreatedDateTime = value; return this; }
public Integer getClientId() { return ClientId; }
public SalesForceMemberPaymentInvoiceDetail setClientId(Integer value) { this.ClientId = value; return this; }
public Integer getInvoice() { return Invoice; }
public SalesForceMemberPaymentInvoiceDetail setInvoice(Integer value) { this.Invoice = value; return this; }
public String getAmountPaid() { return AmountPaid; }
public SalesForceMemberPaymentInvoiceDetail setAmountPaid(String value) { this.AmountPaid = value; return this; }
}
public static class SalesForceCreateApplyCredit
{
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 Integer CreditId = null;
public String CurrencyType = null;
public String CreditType = null;
public String Notes = null;
public ArrayList<SalesForceCreditInvoiceDetails> InvoiceDetails = null;
public String getClassName() { return ClassName; }
public SalesForceCreateApplyCredit setClassName(String value) { this.ClassName = value; return this; }
public String getUniqueId() { return UniqueId; }
public SalesForceCreateApplyCredit setUniqueId(String value) { this.UniqueId = value; return this; }
public Date getCreatedDateTime() { return CreatedDateTime; }
public SalesForceCreateApplyCredit setCreatedDateTime(Date value) { this.CreatedDateTime = value; return this; }
public Integer getClientId() { return ClientId; }
public SalesForceCreateApplyCredit setClientId(Integer value) { this.ClientId = value; return this; }
public String getGroupId() { return GroupId; }
public SalesForceCreateApplyCredit setGroupId(String value) { this.GroupId = value; return this; }
public String getUserId() { return UserId; }
public SalesForceCreateApplyCredit setUserId(String value) { this.UserId = value; return this; }
public Integer getBhUserId() { return BhUserId; }
public SalesForceCreateApplyCredit setBhUserId(Integer value) { this.BhUserId = value; return this; }
public Integer getCreditId() { return CreditId; }
public SalesForceCreateApplyCredit setCreditId(Integer value) { this.CreditId = value; return this; }
public String getCurrencyType() { return CurrencyType; }
public SalesForceCreateApplyCredit setCurrencyType(String value) { this.CurrencyType = value; return this; }
public String getCreditType() { return CreditType; }
public SalesForceCreateApplyCredit setCreditType(String value) { this.CreditType = value; return this; }
public String getNotes() { return Notes; }
public SalesForceCreateApplyCredit setNotes(String value) { this.Notes = value; return this; }
public ArrayList<SalesForceCreditInvoiceDetails> getInvoiceDetails() { return InvoiceDetails; }
public SalesForceCreateApplyCredit setInvoiceDetails(ArrayList<SalesForceCreditInvoiceDetails> value) { this.InvoiceDetails = value; return this; }
}
public static class SalesForceCreditInvoiceDetails
{
public Long Invoice = null;
public BigDecimal AmountPaid = null;
public String Region = null;
public String CostCenter = null;
public Long getInvoice() { return Invoice; }
public SalesForceCreditInvoiceDetails setInvoice(Long value) { this.Invoice = value; return this; }
public BigDecimal getAmountPaid() { return AmountPaid; }
public SalesForceCreditInvoiceDetails setAmountPaid(BigDecimal value) { this.AmountPaid = value; return this; }
public String getRegion() { return Region; }
public SalesForceCreditInvoiceDetails setRegion(String value) { this.Region = value; return this; }
public String getCostCenter() { return CostCenter; }
public SalesForceCreditInvoiceDetails setCostCenter(String value) { this.CostCenter = value; return this; }
}
public static class AchPayment
{
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 BigDecimal Amount = null;
public String CurrencyType = null;
public String Country = null;
public String RoutingNumber = null;
public String AccountNumber = null;
public String AchReference = null;
public String AccountType = null;
public Boolean IsSavingsAccount = null;
public String PayerName = null;
public String CheckNumber = null;
public String PreferredEmailAddress = null;
public String Memo = null;
public ArrayList<SalesForceMemberPaymentInvoiceDetail> InvoiceList = null;
public Boolean AutoPay = null;
public Boolean StoreAchInfo = null;
public Integer EncryptionTypeId = null;
public String getClassName() { return ClassName; }
public AchPayment setClassName(String value) { this.ClassName = value; return this; }
public String getUniqueId() { return UniqueId; }
public AchPayment setUniqueId(String value) { this.UniqueId = value; return this; }
public Date getCreatedDateTime() { return CreatedDateTime; }
public AchPayment setCreatedDateTime(Date value) { this.CreatedDateTime = value; return this; }
public Integer getClientId() { return ClientId; }
public AchPayment setClientId(Integer value) { this.ClientId = value; return this; }
public String getGroupId() { return GroupId; }
public AchPayment setGroupId(String value) { this.GroupId = value; return this; }
public String getUserId() { return UserId; }
public AchPayment setUserId(String value) { this.UserId = value; return this; }
public Integer getBhUserId() { return BhUserId; }
public AchPayment setBhUserId(Integer value) { this.BhUserId = value; return this; }
public BigDecimal getAmount() { return Amount; }
public AchPayment setAmount(BigDecimal value) { this.Amount = value; return this; }
public String getCurrencyType() { return CurrencyType; }
public AchPayment setCurrencyType(String value) { this.CurrencyType = value; return this; }
public String getCountry() { return Country; }
public AchPayment setCountry(String value) { this.Country = value; return this; }
public String getRoutingNumber() { return RoutingNumber; }
public AchPayment setRoutingNumber(String value) { this.RoutingNumber = value; return this; }
public String getAccountNumber() { return AccountNumber; }
public AchPayment setAccountNumber(String value) { this.AccountNumber = value; return this; }
public String getAchReference() { return AchReference; }
public AchPayment setAchReference(String value) { this.AchReference = value; return this; }
public String getAccountType() { return AccountType; }
public AchPayment setAccountType(String value) { this.AccountType = value; return this; }
public Boolean getIsSavingsAccount() { return IsSavingsAccount; }
public AchPayment setIsSavingsAccount(Boolean value) { this.IsSavingsAccount = value; return this; }
public String getPayerName() { return PayerName; }
public AchPayment setPayerName(String value) { this.PayerName = value; return this; }
public String getCheckNumber() { return CheckNumber; }
public AchPayment setCheckNumber(String value) { this.CheckNumber = value; return this; }
public String getPreferredEmailAddress() { return PreferredEmailAddress; }
public AchPayment setPreferredEmailAddress(String value) { this.PreferredEmailAddress = value; return this; }
public String getMemo() { return Memo; }
public AchPayment setMemo(String value) { this.Memo = value; return this; }
public ArrayList<SalesForceMemberPaymentInvoiceDetail> getInvoiceList() { return InvoiceList; }
public AchPayment setInvoiceList(ArrayList<SalesForceMemberPaymentInvoiceDetail> value) { this.InvoiceList = value; return this; }
public Boolean isAutoPay() { return AutoPay; }
public AchPayment setAutoPay(Boolean value) { this.AutoPay = value; return this; }
public Boolean isStoreAchInfo() { return StoreAchInfo; }
public AchPayment setStoreAchInfo(Boolean value) { this.StoreAchInfo = value; return this; }
public Integer getEncryptionTypeId() { return EncryptionTypeId; }
public AchPayment setEncryptionTypeId(Integer value) { this.EncryptionTypeId = value; return this; }
}
public static class SalesForcePmiReply implements IHaveErrorField
{
public String ClassName = null;
public String UniqueId = null;
public Date CreatedDateTime = null;
public Integer ClientId = null;
public String BillhighwayPaymentConfirmationNumber = null;
public Integer BillhighwayUserId = null;
public ArrayList<Integer> BhInvoiceBatchId = null;
public Long ChapMemPayid = null;
public Integer ErrorCode = null;
public String ErrorMessage = null;
public Boolean IsError = null;
public String getClassName() { return ClassName; }
public SalesForcePmiReply setClassName(String value) { this.ClassName = value; return this; }
public String getUniqueId() { return UniqueId; }
public SalesForcePmiReply setUniqueId(String value) { this.UniqueId = value; return this; }
public Date getCreatedDateTime() { return CreatedDateTime; }
public SalesForcePmiReply setCreatedDateTime(Date value) { this.CreatedDateTime = value; return this; }
public Integer getClientId() { return ClientId; }
public SalesForcePmiReply setClientId(Integer value) { this.ClientId = value; return this; }
public String getBillhighwayPaymentConfirmationNumber() { return BillhighwayPaymentConfirmationNumber; }
public SalesForcePmiReply setBillhighwayPaymentConfirmationNumber(String value) { this.BillhighwayPaymentConfirmationNumber = value; return this; }
public Integer getBillhighwayUserId() { return BillhighwayUserId; }
public SalesForcePmiReply setBillhighwayUserId(Integer value) { this.BillhighwayUserId = value; return this; }
public ArrayList<Integer> getBhInvoiceBatchId() { return BhInvoiceBatchId; }
public SalesForcePmiReply setBhInvoiceBatchId(ArrayList<Integer> value) { this.BhInvoiceBatchId = value; return this; }
public Long getChapMemPayid() { return ChapMemPayid; }
public SalesForcePmiReply setChapMemPayid(Long value) { this.ChapMemPayid = value; return this; }
public Integer getErrorCode() { return ErrorCode; }
public SalesForcePmiReply setErrorCode(Integer value) { this.ErrorCode = value; return this; }
public String getErrorMessage() { return ErrorMessage; }
public SalesForcePmiReply setErrorMessage(String value) { this.ErrorMessage = value; return this; }
public Boolean getIsError() { return IsError; }
public SalesForcePmiReply setIsError(Boolean value) { this.IsError = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/SalesForce/PMI HTTP/1.1
Host: devapi.billhighway.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"ClassName":"String","UniqueId":"String","CreatedDateTime":"0001-01-01T00:00:00.0000000","ClientId":0,"GroupId":0,"MemberInfo":{"ClassName":"String","UniqueId":"String","CreatedDateTime":"0001-01-01T00:00:00.0000000","ClientId":0,"GroupId":"String","UserId":"String","AlternateUserId":"String","BhUserId":0,"FirstName":"String","LastName":"String","MiddleName":"String","PreferredEmailAddress":"String","OtherEmailAddress":"String","PreferredPhoneNumber":"String","PreferredAddress1":"String","PreferredAddress2":"String","PreferredCity":"String","PreferredState":"String","PreferredZip":"String","PreferredCountry":"String","AccessLevel":"String","MemberStatus":"String","MemberTypeClient":"String","BillingType":"String","FiscalYear":0,"WorkLocation":"String","DOB":"0001-01-01T00:00:00.0000000","Paperless":"String","DisplayName":"String","DisableLogin":"String","RecurringInvoiceSettings":{"DonationAmount":"String"},"FormFields":[{"Name":"String","Value":"String"}],"Attributes":[{"Name":"String","Value":"String"}],"GroupList":[{"GroupId":"String"}]},"InvoiceCollection":[{"ClassName":"String","UniqueId":"String","CreatedDateTime":"0001-01-01T00:00:00.0000000","ClientId":0,"GroupId":"String","UserId":"String","OpportunityId":"String","InvoiceDueDate":"0001-01-01T00:00:00.0000000","Installments":0,"Frequency":0,"BhUserId":0,"Description":"String","Deliver":false,"CurrencyType":"String","InvoiceItems":[{"ClassName":"String","UniqueId":"String","CreatedDateTime":"0001-01-01T00:00:00.0000000","ClientId":0,"ProductName":"String","AmountDue":"String","ProductType":"String","ActPatternTypeId":0,"TermStartDate":"0001-01-01T00:00:00.0000000","TermEndDate":"0001-01-01T00:00:00.0000000","RecognitionPeriod":0,"RevenueAccount":"String","AccountsReceivableAccount":"String","LiabilityAccount":"String","CreditExpenseAccount":"String","InvoiceClearingAccount":"String","CostCenter":"String","Region":"String"}],"InvoiceNo":0,"InvoiceAmt":0,"ExternalInvBatchNo":"String","ExemptFromLateFee":false}],"CcPaymentInfo":{"ClassName":"String","UniqueId":"String","CreatedDateTime":"0001-01-01T00:00:00.0000000","ClientId":0,"GroupId":"String","UserId":"String","BhUserId":0,"Amount":"String","AutoPay":false,"CurrencyType":"String","Country":"String","CardReferenceOrCardNumber":"String","StoreCardInfo":false,"Address1":"String","Address2":"String","BillingCity":"String","BillingState":"String","PreferredEmailAddress":"String","Memo":"String","OpportunityId":"String","ExpMonth":0,"ExpYear":0,"Cvv":"String","PostalCode":"String","Location":"String","NameOnCard":"String","CardType":"String","InvoiceList":[{"ClassName":"String","UniqueId":"String","CreatedDateTime":"0001-01-01T00:00:00.0000000","ClientId":0,"Invoice":0,"AmountPaid":"String"}]},"CreditInfo":{"ClassName":"String","UniqueId":"String","CreatedDateTime":"0001-01-01T00:00:00.0000000","ClientId":0,"GroupId":"String","UserId":"String","BhUserId":0,"CreditId":0,"CurrencyType":"String","CreditType":"String","Notes":"String","InvoiceDetails":[{"Invoice":0,"AmountPaid":0,"Region":"String","CostCenter":"String"}]},"AchPaymentInfo":{"ClassName":"String","UniqueId":"String","CreatedDateTime":"0001-01-01T00:00:00.0000000","ClientId":0,"GroupId":"String","UserId":"String","BhUserId":0,"Amount":0,"CurrencyType":"String","Country":"String","RoutingNumber":"String","AccountNumber":"String","AchReference":"String","AccountType":"String","IsSavingsAccount":false,"PayerName":"String","CheckNumber":"String","PreferredEmailAddress":"String","Memo":"String","InvoiceList":[{"ClassName":"String","UniqueId":"String","CreatedDateTime":"0001-01-01T00:00:00.0000000","ClientId":0,"Invoice":0,"AmountPaid":"String"}],"AutoPay":false,"StoreAchInfo":false,"EncryptionTypeId":0},"LockboxId":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"ClassName":"String","UniqueId":"String","CreatedDateTime":"0001-01-01T00:00:00.0000000","ClientId":0,"BillhighwayPaymentConfirmationNumber":"String","BillhighwayUserId":0,"BhInvoiceBatchId":[0],"ChapMemPayid":0,"ErrorCode":0,"ErrorMessage":"String","IsError":true}