POST | /allchecks/submit/json |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class AllChecksApplicationDataRequest
{
public Application Application = null;
public String CorrelationId = null;
public String NapPartyId = null;
public String LEID = null;
public String OrderId = null;
public ArrayList<String> PartyIndividuals = null;
public Application getApplication() { return Application; }
public AllChecksApplicationDataRequest setApplication(Application value) { this.Application = value; return this; }
public String getCorrelationId() { return CorrelationId; }
public AllChecksApplicationDataRequest setCorrelationId(String value) { this.CorrelationId = value; return this; }
public String getNapPartyId() { return NapPartyId; }
public AllChecksApplicationDataRequest setNapPartyId(String value) { this.NapPartyId = value; return this; }
public String getLeid() { return LEID; }
public AllChecksApplicationDataRequest setLeid(String value) { this.LEID = value; return this; }
public String getOrderId() { return OrderId; }
public AllChecksApplicationDataRequest setOrderId(String value) { this.OrderId = value; return this; }
public ArrayList<String> getPartyIndividuals() { return PartyIndividuals; }
public AllChecksApplicationDataRequest setPartyIndividuals(ArrayList<String> value) { this.PartyIndividuals = value; return this; }
}
public static class Application
{
public ApplicationDetails ApplicationDetails = null;
public MerchantDetails MerchantDetails = null;
public Acquiring Acquiring = null;
public Products Products = null;
public ApplicationDetails getApplicationDetails() { return ApplicationDetails; }
public Application setApplicationDetails(ApplicationDetails value) { this.ApplicationDetails = value; return this; }
public MerchantDetails getMerchantDetails() { return MerchantDetails; }
public Application setMerchantDetails(MerchantDetails value) { this.MerchantDetails = value; return this; }
public Acquiring getAcquiring() { return Acquiring; }
public Application setAcquiring(Acquiring value) { this.Acquiring = value; return this; }
public Products getProducts() { return Products; }
public Application setProducts(Products value) { this.Products = value; return this; }
}
public static class ApplicationDetails
{
public SourceSystemType SourceSystem = null;
public String SourceSystemIdentifier = null;
public CustomerType CustomerType = null;
public String Csr = null;
public Partner Partner = null;
public String SellerCode = null;
public PricingPackageType PricingPackage = null;
public AuthorisedSigner ContactPerson = null;
public String SpecialInstructions = null;
public String OfferDetails = null;
public Date DateContractAccepted = null;
public Boolean WorldpayBusinessFinanceInterest = null;
public Boolean Sar = null;
public String SellerEmail = null;
public Date AnticipatedGoLiveDate = null;
public AccessibilityOptions AccessibilityOptions = null;
public String UltimateParentId = null;
public SourceSystemType getSourceSystem() { return SourceSystem; }
public ApplicationDetails setSourceSystem(SourceSystemType value) { this.SourceSystem = value; return this; }
public String getSourceSystemIdentifier() { return SourceSystemIdentifier; }
public ApplicationDetails setSourceSystemIdentifier(String value) { this.SourceSystemIdentifier = value; return this; }
public CustomerType getCustomerType() { return CustomerType; }
public ApplicationDetails setCustomerType(CustomerType value) { this.CustomerType = value; return this; }
public String getCsr() { return Csr; }
public ApplicationDetails setCsr(String value) { this.Csr = value; return this; }
public Partner getPartner() { return Partner; }
public ApplicationDetails setPartner(Partner value) { this.Partner = value; return this; }
public String getSellerCode() { return SellerCode; }
public ApplicationDetails setSellerCode(String value) { this.SellerCode = value; return this; }
public PricingPackageType getPricingPackage() { return PricingPackage; }
public ApplicationDetails setPricingPackage(PricingPackageType value) { this.PricingPackage = value; return this; }
public AuthorisedSigner getContactPerson() { return ContactPerson; }
public ApplicationDetails setContactPerson(AuthorisedSigner value) { this.ContactPerson = value; return this; }
public String getSpecialInstructions() { return SpecialInstructions; }
public ApplicationDetails setSpecialInstructions(String value) { this.SpecialInstructions = value; return this; }
public String getOfferDetails() { return OfferDetails; }
public ApplicationDetails setOfferDetails(String value) { this.OfferDetails = value; return this; }
public Date getDateContractAccepted() { return DateContractAccepted; }
public ApplicationDetails setDateContractAccepted(Date value) { this.DateContractAccepted = value; return this; }
public Boolean isWorldpayBusinessFinanceInterest() { return WorldpayBusinessFinanceInterest; }
public ApplicationDetails setWorldpayBusinessFinanceInterest(Boolean value) { this.WorldpayBusinessFinanceInterest = value; return this; }
public Boolean isSar() { return Sar; }
public ApplicationDetails setSar(Boolean value) { this.Sar = value; return this; }
public String getSellerEmail() { return SellerEmail; }
public ApplicationDetails setSellerEmail(String value) { this.SellerEmail = value; return this; }
public Date getAnticipatedGoLiveDate() { return AnticipatedGoLiveDate; }
public ApplicationDetails setAnticipatedGoLiveDate(Date value) { this.AnticipatedGoLiveDate = value; return this; }
public AccessibilityOptions getAccessibilityOptions() { return AccessibilityOptions; }
public ApplicationDetails setAccessibilityOptions(AccessibilityOptions value) { this.AccessibilityOptions = value; return this; }
public String getUltimateParentId() { return UltimateParentId; }
public ApplicationDetails setUltimateParentId(String value) { this.UltimateParentId = value; return this; }
}
public static enum SourceSystemType
{
Mars,
Asa,
Ols,
Inasa;
}
public static enum CustomerType
{
New(0),
Existing(1),
None(-1);
private final int value;
CustomerType(final int intValue) { value = intValue; }
public int getValue() { return value; }
}
public static class Partner
{
public String PartnerId = null;
public String PartnerName = null;
public String getPartnerId() { return PartnerId; }
public Partner setPartnerId(String value) { this.PartnerId = value; return this; }
public String getPartnerName() { return PartnerName; }
public Partner setPartnerName(String value) { this.PartnerName = value; return this; }
}
public static enum PricingPackageType
{
CustomUk(0),
MonthlyUk(1),
SimplicityUk(2),
PaygUk(3),
CustomRoi(4),
PaygeComUK(5),
None(-1);
private final int value;
PricingPackageType(final int intValue) { value = intValue; }
public int getValue() { return value; }
}
public static class AuthorisedSigner extends ContactPerson
{
public Date DateOfBirth = null;
public String CountryCode = null;
public Date getDateOfBirth() { return DateOfBirth; }
public AuthorisedSigner setDateOfBirth(Date value) { this.DateOfBirth = value; return this; }
public String getCountryCode() { return CountryCode; }
public AuthorisedSigner setCountryCode(String value) { this.CountryCode = value; return this; }
}
public static class ContactPerson
{
public String Title = null;
public String FirstName = null;
public String MiddleName = null;
public String LastName = null;
public String TelephoneNumber = null;
public String AltTelephoneNumber = null;
public String Email = null;
public String Position = null;
public PreferredContactMethodType PreferredContactMethod = null;
public String PreferredContactBestTime = null;
public String getTitle() { return Title; }
public ContactPerson setTitle(String value) { this.Title = value; return this; }
public String getFirstName() { return FirstName; }
public ContactPerson setFirstName(String value) { this.FirstName = value; return this; }
public String getMiddleName() { return MiddleName; }
public ContactPerson setMiddleName(String value) { this.MiddleName = value; return this; }
public String getLastName() { return LastName; }
public ContactPerson setLastName(String value) { this.LastName = value; return this; }
public String getTelephoneNumber() { return TelephoneNumber; }
public ContactPerson setTelephoneNumber(String value) { this.TelephoneNumber = value; return this; }
public String getAltTelephoneNumber() { return AltTelephoneNumber; }
public ContactPerson setAltTelephoneNumber(String value) { this.AltTelephoneNumber = value; return this; }
public String getEmail() { return Email; }
public ContactPerson setEmail(String value) { this.Email = value; return this; }
public String getPosition() { return Position; }
public ContactPerson setPosition(String value) { this.Position = value; return this; }
public PreferredContactMethodType getPreferredContactMethod() { return PreferredContactMethod; }
public ContactPerson setPreferredContactMethod(PreferredContactMethodType value) { this.PreferredContactMethod = value; return this; }
public String getPreferredContactBestTime() { return PreferredContactBestTime; }
public ContactPerson setPreferredContactBestTime(String value) { this.PreferredContactBestTime = value; return this; }
}
public static enum PreferredContactMethodType
{
Email,
Telephone,
Any;
}
public static class AccessibilityOptions
{
public Boolean AudiotapeRequired = null;
public Boolean LargePrintRequired = null;
public Boolean UncontractedBrailleGrade1Required = null;
public Boolean UncontractedBrailleGrade2Required = null;
public Boolean NextGenerationTextRequired = null;
public Boolean isAudiotapeRequired() { return AudiotapeRequired; }
public AccessibilityOptions setAudiotapeRequired(Boolean value) { this.AudiotapeRequired = value; return this; }
public Boolean isLargePrintRequired() { return LargePrintRequired; }
public AccessibilityOptions setLargePrintRequired(Boolean value) { this.LargePrintRequired = value; return this; }
public Boolean isUncontractedBrailleGrade1Required() { return UncontractedBrailleGrade1Required; }
public AccessibilityOptions setUncontractedBrailleGrade1Required(Boolean value) { this.UncontractedBrailleGrade1Required = value; return this; }
public Boolean isUncontractedBrailleGrade2Required() { return UncontractedBrailleGrade2Required; }
public AccessibilityOptions setUncontractedBrailleGrade2Required(Boolean value) { this.UncontractedBrailleGrade2Required = value; return this; }
public Boolean isNextGenerationTextRequired() { return NextGenerationTextRequired; }
public AccessibilityOptions setNextGenerationTextRequired(Boolean value) { this.NextGenerationTextRequired = value; return this; }
}
public static class MerchantDetails
{
public Business Business = null;
public ArrayList<Principal> Principals = null;
public ArrayList<Outlet> Outlets = null;
public GoodsAndServices GoodsAndServices = null;
public Business getBusiness() { return Business; }
public MerchantDetails setBusiness(Business value) { this.Business = value; return this; }
public ArrayList<Principal> getPrincipals() { return Principals; }
public MerchantDetails setPrincipals(ArrayList<Principal> value) { this.Principals = value; return this; }
public ArrayList<Outlet> getOutlets() { return Outlets; }
public MerchantDetails setOutlets(ArrayList<Outlet> value) { this.Outlets = value; return this; }
public GoodsAndServices getGoodsAndServices() { return GoodsAndServices; }
public MerchantDetails setGoodsAndServices(GoodsAndServices value) { this.GoodsAndServices = value; return this; }
}
public static class Business
{
public String LegalName = null;
public BusinessAddress LegalAddress = null;
public String WebsiteAddress = null;
public CompanyType CompanyType = null;
public String CompanyTypeOther = null;
public String CompanyRegistrationNumber = null;
public String CharityNumber = null;
public String MerchantCategoryCode = null;
public String MerchantCategoryDescription = null;
public String DescriptionOfGoodsAndServices = null;
public String VatNumber = null;
public Date DateStartedTrading = null;
public String CountryOfIncorporation = null;
public String RegionOfIncorporation = null;
public Financials Financials = null;
public Boolean NewToCards = null;
public TradeAssociation TradeAssociation = null;
public String getLegalName() { return LegalName; }
public Business setLegalName(String value) { this.LegalName = value; return this; }
public BusinessAddress getLegalAddress() { return LegalAddress; }
public Business setLegalAddress(BusinessAddress value) { this.LegalAddress = value; return this; }
public String getWebsiteAddress() { return WebsiteAddress; }
public Business setWebsiteAddress(String value) { this.WebsiteAddress = value; return this; }
public CompanyType getCompanyType() { return CompanyType; }
public Business setCompanyType(CompanyType value) { this.CompanyType = value; return this; }
public String getCompanyTypeOther() { return CompanyTypeOther; }
public Business setCompanyTypeOther(String value) { this.CompanyTypeOther = value; return this; }
public String getCompanyRegistrationNumber() { return CompanyRegistrationNumber; }
public Business setCompanyRegistrationNumber(String value) { this.CompanyRegistrationNumber = value; return this; }
public String getCharityNumber() { return CharityNumber; }
public Business setCharityNumber(String value) { this.CharityNumber = value; return this; }
public String getMerchantCategoryCode() { return MerchantCategoryCode; }
public Business setMerchantCategoryCode(String value) { this.MerchantCategoryCode = value; return this; }
public String getMerchantCategoryDescription() { return MerchantCategoryDescription; }
public Business setMerchantCategoryDescription(String value) { this.MerchantCategoryDescription = value; return this; }
public String getDescriptionOfGoodsAndServices() { return DescriptionOfGoodsAndServices; }
public Business setDescriptionOfGoodsAndServices(String value) { this.DescriptionOfGoodsAndServices = value; return this; }
public String getVatNumber() { return VatNumber; }
public Business setVatNumber(String value) { this.VatNumber = value; return this; }
public Date getDateStartedTrading() { return DateStartedTrading; }
public Business setDateStartedTrading(Date value) { this.DateStartedTrading = value; return this; }
public String getCountryOfIncorporation() { return CountryOfIncorporation; }
public Business setCountryOfIncorporation(String value) { this.CountryOfIncorporation = value; return this; }
public String getRegionOfIncorporation() { return RegionOfIncorporation; }
public Business setRegionOfIncorporation(String value) { this.RegionOfIncorporation = value; return this; }
public Financials getFinancials() { return Financials; }
public Business setFinancials(Financials value) { this.Financials = value; return this; }
public Boolean isNewToCards() { return NewToCards; }
public Business setNewToCards(Boolean value) { this.NewToCards = value; return this; }
public TradeAssociation getTradeAssociation() { return TradeAssociation; }
public Business setTradeAssociation(TradeAssociation value) { this.TradeAssociation = value; return this; }
}
public static class BusinessAddress extends Address
{
public Boolean IsCommercial = null;
public Boolean getIsCommercial() { return IsCommercial; }
public BusinessAddress setIsCommercial(Boolean value) { this.IsCommercial = value; return this; }
}
public static class Address
{
public String Address1 = null;
public String Address2 = null;
public String Address3 = null;
public String Postcode = null;
public String City = null;
public String State = null;
public String Countrycode = null;
public String getAddress1() { return Address1; }
public Address setAddress1(String value) { this.Address1 = value; return this; }
public String getAddress2() { return Address2; }
public Address setAddress2(String value) { this.Address2 = value; return this; }
public String getAddress3() { return Address3; }
public Address setAddress3(String value) { this.Address3 = value; return this; }
public String getPostcode() { return Postcode; }
public Address setPostcode(String value) { this.Postcode = value; return this; }
public String getCity() { return City; }
public Address setCity(String value) { this.City = value; return this; }
public String getState() { return State; }
public Address setState(String value) { this.State = value; return this; }
public String getCountrycode() { return Countrycode; }
public Address setCountrycode(String value) { this.Countrycode = value; return this; }
}
public static enum CompanyType
{
SoleTrader,
Partnership,
LimitedCompany,
Trust,
RegisteredCharity,
PublicLimitedCompany,
LimitedByGuarantee,
ClubSocietyAssociation,
CommunityInterestCompanyOrIndustrialProvident,
LimitedLiabilityPartnership,
Other;
}
public static class Financials
{
public BigDecimal Annual = null;
public BigDecimal CardPercentage = null;
public BigDecimal CreditCardPercentage = null;
public BigDecimal AverageTransactionValue = null;
public BigDecimal getAnnual() { return Annual; }
public Financials setAnnual(BigDecimal value) { this.Annual = value; return this; }
public BigDecimal getCardPercentage() { return CardPercentage; }
public Financials setCardPercentage(BigDecimal value) { this.CardPercentage = value; return this; }
public BigDecimal getCreditCardPercentage() { return CreditCardPercentage; }
public Financials setCreditCardPercentage(BigDecimal value) { this.CreditCardPercentage = value; return this; }
public BigDecimal getAverageTransactionValue() { return AverageTransactionValue; }
public Financials setAverageTransactionValue(BigDecimal value) { this.AverageTransactionValue = value; return this; }
}
public static class TradeAssociation
{
public String GroupName = null;
public String MemberNumber = null;
public String getGroupName() { return GroupName; }
public TradeAssociation setGroupName(String value) { this.GroupName = value; return this; }
public String getMemberNumber() { return MemberNumber; }
public TradeAssociation setMemberNumber(String value) { this.MemberNumber = value; return this; }
}
public static class Principal
{
public String Title = null;
public String FirstName = null;
public String MiddleName = null;
public String LastName = null;
public Date DateOfBirth = null;
public String Nationality = null;
public ArrayList<PrincipalAddress> HomeAddresses = null;
public BigDecimal OwnershipPercentage = null;
public PositionType Position = null;
public Boolean IsFinancialController = null;
public String getTitle() { return Title; }
public Principal setTitle(String value) { this.Title = value; return this; }
public String getFirstName() { return FirstName; }
public Principal setFirstName(String value) { this.FirstName = value; return this; }
public String getMiddleName() { return MiddleName; }
public Principal setMiddleName(String value) { this.MiddleName = value; return this; }
public String getLastName() { return LastName; }
public Principal setLastName(String value) { this.LastName = value; return this; }
public Date getDateOfBirth() { return DateOfBirth; }
public Principal setDateOfBirth(Date value) { this.DateOfBirth = value; return this; }
public String getNationality() { return Nationality; }
public Principal setNationality(String value) { this.Nationality = value; return this; }
public ArrayList<PrincipalAddress> getHomeAddresses() { return HomeAddresses; }
public Principal setHomeAddresses(ArrayList<PrincipalAddress> value) { this.HomeAddresses = value; return this; }
public BigDecimal getOwnershipPercentage() { return OwnershipPercentage; }
public Principal setOwnershipPercentage(BigDecimal value) { this.OwnershipPercentage = value; return this; }
public PositionType getPosition() { return Position; }
public Principal setPosition(PositionType value) { this.Position = value; return this; }
public Boolean getIsFinancialController() { return IsFinancialController; }
public Principal setIsFinancialController(Boolean value) { this.IsFinancialController = value; return this; }
}
public static class PrincipalAddress extends Address
{
public Date StartDate = null;
public Date EndDate = null;
public Date getStartDate() { return StartDate; }
public PrincipalAddress setStartDate(Date value) { this.StartDate = value; return this; }
public Date getEndDate() { return EndDate; }
public PrincipalAddress setEndDate(Date value) { this.EndDate = value; return this; }
}
public static enum PositionType
{
SoleTrader(0),
Partner(1),
Director(2),
CompanySecretary(3),
ChiefFinancialOfficer(4),
Chairman(5),
DesignatedBoardMember(7),
Settlor(8),
Treasurer(9),
Trustee(10),
ChiefExecutive(11),
AuthorisedPersonWithConsent(12),
NonExecutiveDirector(13),
ContactPerson(14),
Shareholder(15);
private final int value;
PositionType(final int intValue) { value = intValue; }
public int getValue() { return value; }
}
public static class Outlet
{
public String TradingName = null;
public BusinessAddress TradingAddress = null;
public ContactPerson ContactPerson = null;
public BusinessAddress TerminalDeliveryAddress = null;
public BusinessAddress CorrespondenceAddress = null;
public BankAccount SettlementBankAccount = null;
public BankAccount ChargesBankAccount = null;
public String DirectDebitCorrespondenceEmail = null;
public ClearingDetails ClearingDetails = null;
public ArrayList<OutletAllocatedProduct> ProductAllocation = null;
public String getTradingName() { return TradingName; }
public Outlet setTradingName(String value) { this.TradingName = value; return this; }
public BusinessAddress getTradingAddress() { return TradingAddress; }
public Outlet setTradingAddress(BusinessAddress value) { this.TradingAddress = value; return this; }
public ContactPerson getContactPerson() { return ContactPerson; }
public Outlet setContactPerson(ContactPerson value) { this.ContactPerson = value; return this; }
public BusinessAddress getTerminalDeliveryAddress() { return TerminalDeliveryAddress; }
public Outlet setTerminalDeliveryAddress(BusinessAddress value) { this.TerminalDeliveryAddress = value; return this; }
public BusinessAddress getCorrespondenceAddress() { return CorrespondenceAddress; }
public Outlet setCorrespondenceAddress(BusinessAddress value) { this.CorrespondenceAddress = value; return this; }
public BankAccount getSettlementBankAccount() { return SettlementBankAccount; }
public Outlet setSettlementBankAccount(BankAccount value) { this.SettlementBankAccount = value; return this; }
public BankAccount getChargesBankAccount() { return ChargesBankAccount; }
public Outlet setChargesBankAccount(BankAccount value) { this.ChargesBankAccount = value; return this; }
public String getDirectDebitCorrespondenceEmail() { return DirectDebitCorrespondenceEmail; }
public Outlet setDirectDebitCorrespondenceEmail(String value) { this.DirectDebitCorrespondenceEmail = value; return this; }
public ClearingDetails getClearingDetails() { return ClearingDetails; }
public Outlet setClearingDetails(ClearingDetails value) { this.ClearingDetails = value; return this; }
public ArrayList<OutletAllocatedProduct> getProductAllocation() { return ProductAllocation; }
public Outlet setProductAllocation(ArrayList<OutletAllocatedProduct> value) { this.ProductAllocation = value; return this; }
}
public static class BankAccount
{
public String SortCode = null;
public String AccountNumber = null;
public String BankName = null;
public String BankAccountName = null;
public String getSortCode() { return SortCode; }
public BankAccount setSortCode(String value) { this.SortCode = value; return this; }
public String getAccountNumber() { return AccountNumber; }
public BankAccount setAccountNumber(String value) { this.AccountNumber = value; return this; }
public String getBankName() { return BankName; }
public BankAccount setBankName(String value) { this.BankName = value; return this; }
public String getBankAccountName() { return BankAccountName; }
public BankAccount setBankAccountName(String value) { this.BankAccountName = value; return this; }
}
public static class ClearingDetails
{
public String MerchantUrl = null;
public String Telephone = null;
public String Email = null;
public String getMerchantUrl() { return MerchantUrl; }
public ClearingDetails setMerchantUrl(String value) { this.MerchantUrl = value; return this; }
public String getTelephone() { return Telephone; }
public ClearingDetails setTelephone(String value) { this.Telephone = value; return this; }
public String getEmail() { return Email; }
public ClearingDetails setEmail(String value) { this.Email = value; return this; }
}
public static class OutletAllocatedProduct
{
public Integer Id = null;
public Integer Quantity = null;
public Integer getId() { return Id; }
public OutletAllocatedProduct setId(Integer value) { this.Id = value; return this; }
public Integer getQuantity() { return Quantity; }
public OutletAllocatedProduct setQuantity(Integer value) { this.Quantity = value; return this; }
}
public static class GoodsAndServices
{
public Boolean GoodsProvidedByThirdParty = null;
public Deposits Deposits = null;
public WarrantiesAndGuarantees WarrantiesAndGuarantees = null;
public Prepayments Prepayments = null;
public MembershipsSubscriptionAndInsurancePremiums MembershipsSubscriptionAndInsurancePremiums = null;
public Address StockHeldAtAnotherAddressLocation = null;
public Boolean isGoodsProvidedByThirdParty() { return GoodsProvidedByThirdParty; }
public GoodsAndServices setGoodsProvidedByThirdParty(Boolean value) { this.GoodsProvidedByThirdParty = value; return this; }
public Deposits getDeposits() { return Deposits; }
public GoodsAndServices setDeposits(Deposits value) { this.Deposits = value; return this; }
public WarrantiesAndGuarantees getWarrantiesAndGuarantees() { return WarrantiesAndGuarantees; }
public GoodsAndServices setWarrantiesAndGuarantees(WarrantiesAndGuarantees value) { this.WarrantiesAndGuarantees = value; return this; }
public Prepayments getPrepayments() { return Prepayments; }
public GoodsAndServices setPrepayments(Prepayments value) { this.Prepayments = value; return this; }
public MembershipsSubscriptionAndInsurancePremiums getMembershipsSubscriptionAndInsurancePremiums() { return MembershipsSubscriptionAndInsurancePremiums; }
public GoodsAndServices setMembershipsSubscriptionAndInsurancePremiums(MembershipsSubscriptionAndInsurancePremiums value) { this.MembershipsSubscriptionAndInsurancePremiums = value; return this; }
public Address getStockHeldAtAnotherAddressLocation() { return StockHeldAtAnotherAddressLocation; }
public GoodsAndServices setStockHeldAtAnotherAddressLocation(Address value) { this.StockHeldAtAnotherAddressLocation = value; return this; }
}
public static class Deposits
{
public Boolean Accepted = null;
public Integer PerOfSalesWhereInitialDepositTaken = null;
public Integer SizePercOfTotalValue = null;
public Integer AvgTimeBeforeDeliveryTaken = null;
public Integer AvgTimeBeforeDeliveryBalanceTaken = null;
public Boolean isAccepted() { return Accepted; }
public Deposits setAccepted(Boolean value) { this.Accepted = value; return this; }
public Integer getPerOfSalesWhereInitialDepositTaken() { return PerOfSalesWhereInitialDepositTaken; }
public Deposits setPerOfSalesWhereInitialDepositTaken(Integer value) { this.PerOfSalesWhereInitialDepositTaken = value; return this; }
public Integer getSizePercOfTotalValue() { return SizePercOfTotalValue; }
public Deposits setSizePercOfTotalValue(Integer value) { this.SizePercOfTotalValue = value; return this; }
public Integer getAvgTimeBeforeDeliveryTaken() { return AvgTimeBeforeDeliveryTaken; }
public Deposits setAvgTimeBeforeDeliveryTaken(Integer value) { this.AvgTimeBeforeDeliveryTaken = value; return this; }
public Integer getAvgTimeBeforeDeliveryBalanceTaken() { return AvgTimeBeforeDeliveryBalanceTaken; }
public Deposits setAvgTimeBeforeDeliveryBalanceTaken(Integer value) { this.AvgTimeBeforeDeliveryBalanceTaken = value; return this; }
}
public static class WarrantiesAndGuarantees
{
public Boolean LevyCharge = null;
public Integer PercCardTurnover = null;
public Integer AvgLengthInMonths = null;
public Integer PercGoodsReturned = null;
public String ThirdPartyProviders = null;
public Boolean isLevyCharge() { return LevyCharge; }
public WarrantiesAndGuarantees setLevyCharge(Boolean value) { this.LevyCharge = value; return this; }
public Integer getPercCardTurnover() { return PercCardTurnover; }
public WarrantiesAndGuarantees setPercCardTurnover(Integer value) { this.PercCardTurnover = value; return this; }
public Integer getAvgLengthInMonths() { return AvgLengthInMonths; }
public WarrantiesAndGuarantees setAvgLengthInMonths(Integer value) { this.AvgLengthInMonths = value; return this; }
public Integer getPercGoodsReturned() { return PercGoodsReturned; }
public WarrantiesAndGuarantees setPercGoodsReturned(Integer value) { this.PercGoodsReturned = value; return this; }
public String getThirdPartyProviders() { return ThirdPartyProviders; }
public WarrantiesAndGuarantees setThirdPartyProviders(String value) { this.ThirdPartyProviders = value; return this; }
}
public static class Prepayments
{
public Boolean FullPaymentAcceptedPriorToSupply = null;
public Integer PercGoodsWherePaymentTakenPriorToDelivery = null;
public Integer AvgDaysPaymentTakenInAdvance = null;
public Boolean isFullPaymentAcceptedPriorToSupply() { return FullPaymentAcceptedPriorToSupply; }
public Prepayments setFullPaymentAcceptedPriorToSupply(Boolean value) { this.FullPaymentAcceptedPriorToSupply = value; return this; }
public Integer getPercGoodsWherePaymentTakenPriorToDelivery() { return PercGoodsWherePaymentTakenPriorToDelivery; }
public Prepayments setPercGoodsWherePaymentTakenPriorToDelivery(Integer value) { this.PercGoodsWherePaymentTakenPriorToDelivery = value; return this; }
public Integer getAvgDaysPaymentTakenInAdvance() { return AvgDaysPaymentTakenInAdvance; }
public Prepayments setAvgDaysPaymentTakenInAdvance(Integer value) { this.AvgDaysPaymentTakenInAdvance = value; return this; }
}
public static class MembershipsSubscriptionAndInsurancePremiums
{
public Boolean LevyCharge = null;
public Integer PercCardTurnover = null;
public Integer AvgLengthInMonths = null;
public BigDecimal MembershipCost = null;
public Boolean isLevyCharge() { return LevyCharge; }
public MembershipsSubscriptionAndInsurancePremiums setLevyCharge(Boolean value) { this.LevyCharge = value; return this; }
public Integer getPercCardTurnover() { return PercCardTurnover; }
public MembershipsSubscriptionAndInsurancePremiums setPercCardTurnover(Integer value) { this.PercCardTurnover = value; return this; }
public Integer getAvgLengthInMonths() { return AvgLengthInMonths; }
public MembershipsSubscriptionAndInsurancePremiums setAvgLengthInMonths(Integer value) { this.AvgLengthInMonths = value; return this; }
public BigDecimal getMembershipCost() { return MembershipCost; }
public MembershipsSubscriptionAndInsurancePremiums setMembershipCost(BigDecimal value) { this.MembershipCost = value; return this; }
}
public static class Acquiring
{
public Integer SettlementPeriodTPlus = null;
public Rates Rates = null;
public Services Services = null;
public ArrayList<TradingCurrency> TradingCurrencies = null;
public Integer getSettlementPeriodTPlus() { return SettlementPeriodTPlus; }
public Acquiring setSettlementPeriodTPlus(Integer value) { this.SettlementPeriodTPlus = value; return this; }
public Rates getRates() { return Rates; }
public Acquiring setRates(Rates value) { this.Rates = value; return this; }
public Services getServices() { return Services; }
public Acquiring setServices(Services value) { this.Services = value; return this; }
public ArrayList<TradingCurrency> getTradingCurrencies() { return TradingCurrencies; }
public Acquiring setTradingCurrencies(ArrayList<TradingCurrency> value) { this.TradingCurrencies = value; return this; }
}
public static class Rates
{
public ArrayList<CardCharge> CardCharges = null;
public ArrayList<PremiumTransactionCharge> PremiumTransactionCharges = null;
public ArrayList<AdditionalTarrif> AdditionalTarrifs = null;
public ArrayList<CardCharge> getCardCharges() { return CardCharges; }
public Rates setCardCharges(ArrayList<CardCharge> value) { this.CardCharges = value; return this; }
public ArrayList<PremiumTransactionCharge> getPremiumTransactionCharges() { return PremiumTransactionCharges; }
public Rates setPremiumTransactionCharges(ArrayList<PremiumTransactionCharge> value) { this.PremiumTransactionCharges = value; return this; }
public ArrayList<AdditionalTarrif> getAdditionalTarrifs() { return AdditionalTarrifs; }
public Rates setAdditionalTarrifs(ArrayList<AdditionalTarrif> value) { this.AdditionalTarrifs = value; return this; }
}
public static class CardCharge
{
public CardType CardType = null;
public RateChargePair Purchase = null;
public RateChargePair Refund = null;
public CardType getCardType() { return CardType; }
public CardCharge setCardType(CardType value) { this.CardType = value; return this; }
public RateChargePair getPurchase() { return Purchase; }
public CardCharge setPurchase(RateChargePair value) { this.Purchase = value; return this; }
public RateChargePair getRefund() { return Refund; }
public CardCharge setRefund(RateChargePair value) { this.Refund = value; return this; }
}
public static enum CardType
{
VisaDebit,
VisaCredit,
VisaCommercial,
MastercardDebit,
MastercardCredit,
MastercardCommercial,
MastercardWorldSignia,
JcbCredit,
JcbDebit,
JcbCommercial,
DinersDiscoverCredit,
DinersDiscoverDebit,
DinersDiscoverCommercial,
Amex,
ChinaUnionPayCredit,
ChinaUnionPayDebit,
ChinaUnionPayCommercial,
VisaBusinessDebit,
MastercardBusiness;
}
public static class RateChargePair
{
public BigDecimal Percent = null;
public BigDecimal Cost = null;
public BigDecimal getPercent() { return Percent; }
public RateChargePair setPercent(BigDecimal value) { this.Percent = value; return this; }
public BigDecimal getCost() { return Cost; }
public RateChargePair setCost(BigDecimal value) { this.Cost = value; return this; }
}
public static class PremiumTransactionCharge
{
public PremiumTransactionChargeType Type = null;
public RateChargePair CreditCard = null;
public RateChargePair DebitCard = null;
public PremiumTransactionChargeType getType() { return Type; }
public PremiumTransactionCharge setType(PremiumTransactionChargeType value) { this.Type = value; return this; }
public RateChargePair getCreditCard() { return CreditCard; }
public PremiumTransactionCharge setCreditCard(RateChargePair value) { this.CreditCard = value; return this; }
public RateChargePair getDebitCard() { return DebitCard; }
public PremiumTransactionCharge setDebitCard(RateChargePair value) { this.DebitCard = value; return this; }
}
public static enum PremiumTransactionChargeType
{
Magstripe,
CnpMoto,
Paper,
PanKeyEntry,
SecureEcom,
NonSecureEcom,
InterRegional,
IntraRegional,
NonAuth;
}
public static class AdditionalTarrif
{
public AdditionalTarrifType Type = null;
public BigDecimal Cost = null;
public AdditionalTarrifType getType() { return Type; }
public AdditionalTarrif setType(AdditionalTarrifType value) { this.Type = value; return this; }
public BigDecimal getCost() { return Cost; }
public AdditionalTarrif setCost(BigDecimal value) { this.Cost = value; return this; }
}
public static enum AdditionalTarrifType
{
NameAndAddressCheck,
Auth,
Chargeback,
Mmsc,
PaperStatement,
PciVerbalAssessment,
PciIpScan,
PciNonCompliance,
PciSaferPaymentsPlus,
JoiningFee,
PayMonthlyAcquiringFee,
PciSaferPayments;
}
public static class Services
{
public Cnp Cnp = null;
public Amex Amex = null;
public Boolean CashbackRequired = null;
public Boolean WorldpayDashboardRequired = null;
public Boolean PaperInvoicingRequired = null;
public Cnp getCnp() { return Cnp; }
public Services setCnp(Cnp value) { this.Cnp = value; return this; }
public Amex getAmex() { return Amex; }
public Services setAmex(Amex value) { this.Amex = value; return this; }
public Boolean isCashbackRequired() { return CashbackRequired; }
public Services setCashbackRequired(Boolean value) { this.CashbackRequired = value; return this; }
public Boolean isWorldpayDashboardRequired() { return WorldpayDashboardRequired; }
public Services setWorldpayDashboardRequired(Boolean value) { this.WorldpayDashboardRequired = value; return this; }
public Boolean isPaperInvoicingRequired() { return PaperInvoicingRequired; }
public Services setPaperInvoicingRequired(Boolean value) { this.PaperInvoicingRequired = value; return this; }
}
public static class Cnp
{
public Boolean Required = null;
public BigDecimal Percentage = null;
public Boolean isRequired() { return Required; }
public Cnp setRequired(Boolean value) { this.Required = value; return this; }
public BigDecimal getPercentage() { return Percentage; }
public Cnp setPercentage(BigDecimal value) { this.Percentage = value; return this; }
}
public static class Amex
{
public Boolean Required = null;
public String ExistingAmexNumber = null;
public Boolean isRequired() { return Required; }
public Amex setRequired(Boolean value) { this.Required = value; return this; }
public String getExistingAmexNumber() { return ExistingAmexNumber; }
public Amex setExistingAmexNumber(String value) { this.ExistingAmexNumber = value; return this; }
}
public static class TradingCurrency
{
public ArrayList<CurrencyCodeType> TransactionCurrencies = null;
public CurrencyCodeType SettlementCurrency = null;
public String SettlementBankSwift = null;
public String SettlementBankIban = null;
public ArrayList<CurrencyCodeType> getTransactionCurrencies() { return TransactionCurrencies; }
public TradingCurrency setTransactionCurrencies(ArrayList<CurrencyCodeType> value) { this.TransactionCurrencies = value; return this; }
public CurrencyCodeType getSettlementCurrency() { return SettlementCurrency; }
public TradingCurrency setSettlementCurrency(CurrencyCodeType value) { this.SettlementCurrency = value; return this; }
public String getSettlementBankSwift() { return SettlementBankSwift; }
public TradingCurrency setSettlementBankSwift(String value) { this.SettlementBankSwift = value; return this; }
public String getSettlementBankIban() { return SettlementBankIban; }
public TradingCurrency setSettlementBankIban(String value) { this.SettlementBankIban = value; return this; }
}
public static enum CurrencyCodeType
{
Gbp,
Eur,
Usd,
Aed,
Afn,
All,
Amd,
Ang,
Aoa,
Ars,
Aud,
Awg,
Azn,
Bam,
Bbd,
Bdt,
Bgn,
Bhd,
Bif,
Bmd,
Bnd,
Bob,
Brl,
Bsd,
Btn,
Bwp,
Byr,
Bzd,
Cad,
Cdf,
Chf,
Clp,
Cny,
Cop,
Cou,
Crc,
Cuc,
Cup,
Cve,
Czk,
Djf,
Dkk,
Dop,
Dzd,
Eek,
Egp,
Ern,
Etb,
Fjd,
Fkp,
Gel,
Ghs,
Gip,
Gmd,
Gnf,
Gtq,
Gyd,
Hkd,
Hnl,
Hrk,
Htg,
Huf,
Idr,
Ils,
Inr,
Iqd,
Irr,
Isk,
Jmd,
Jod,
Jpy,
Kes,
Kgs,
Khr,
Kmf,
Kpw,
Krw,
Kwd,
Kyd,
Kzt,
Lak,
Lbp,
Lkr,
Lrd,
Lsl,
Ltl,
Lvl,
Lyd,
Mad,
Mdl,
Mga,
Mkd,
Mmk,
Mnt,
Mop,
Mro,
Mur,
Mvr,
Mwk,
Mxn,
Myr,
Mzn,
Nad,
Ngn,
Nio,
Nok,
Npr,
Nzd,
Omr,
Pab,
Pen,
Pgk,
Php,
Pkr,
Pln,
Pyg,
Qar,
Ron,
Rsd,
Rub,
Rwf,
Sar,
Sbd,
Scr,
Sdg,
Sek,
Sgd,
Shp,
Sll,
Sos,
Srd,
Std,
Syp,
Szl,
Thb,
Tjs,
Tmt,
Tnd,
Top,
Try,
Ttd,
Twd,
Tzs,
Uah,
Ugx,
Uyu,
Uzs,
Vef,
Vnd,
Vuv,
Wst,
Yer,
Zar,
Zmk,
Zwl;
}
public static class Products
{
public PosProducts PosProducts = null;
public EcomProducts EcomProducts = null;
public WptProducts WptProducts = null;
public IpProducts IpProducts = null;
public PosProducts getPosProducts() { return PosProducts; }
public Products setPosProducts(PosProducts value) { this.PosProducts = value; return this; }
public EcomProducts getEcomProducts() { return EcomProducts; }
public Products setEcomProducts(EcomProducts value) { this.EcomProducts = value; return this; }
public WptProducts getWptProducts() { return WptProducts; }
public Products setWptProducts(WptProducts value) { this.WptProducts = value; return this; }
public IpProducts getIpProducts() { return IpProducts; }
public Products setIpProducts(IpProducts value) { this.IpProducts = value; return this; }
}
public static class PosProducts
{
public Integer Term = null;
public Integer RenewalLength = null;
public ArrayList<PosProduct> Products = null;
public Integer getTerm() { return Term; }
public PosProducts setTerm(Integer value) { this.Term = value; return this; }
public Integer getRenewalLength() { return RenewalLength; }
public PosProducts setRenewalLength(Integer value) { this.RenewalLength = value; return this; }
public ArrayList<PosProduct> getProducts() { return Products; }
public PosProducts setProducts(ArrayList<PosProduct> value) { this.Products = value; return this; }
}
public static class PosProduct
{
public Integer Id = null;
public PosProductType Type = null;
public Integer Quantity = null;
public ArrayList<ProductFee> RelatedFees = null;
public ArrayList<PosProductOption> Options = null;
public Integer getId() { return Id; }
public PosProduct setId(Integer value) { this.Id = value; return this; }
public PosProductType getType() { return Type; }
public PosProduct setType(PosProductType value) { this.Type = value; return this; }
public Integer getQuantity() { return Quantity; }
public PosProduct setQuantity(Integer value) { this.Quantity = value; return this; }
public ArrayList<ProductFee> getRelatedFees() { return RelatedFees; }
public PosProduct setRelatedFees(ArrayList<ProductFee> value) { this.RelatedFees = value; return this; }
public ArrayList<PosProductOption> getOptions() { return Options; }
public PosProduct setOptions(ArrayList<PosProductOption> value) { this.Options = value; return this; }
}
public static enum PosProductType
{
Mobile,
Wifi,
Bluetooth,
Fixed,
PosMidOnly;
}
public static class ProductFee
{
public ProductFeeType Type = null;
public BigDecimal Cost = null;
public ProductFeeType getType() { return Type; }
public ProductFee setType(ProductFeeType value) { this.Type = value; return this; }
public BigDecimal getCost() { return Cost; }
public ProductFee setCost(BigDecimal value) { this.Cost = value; return this; }
}
public static enum ProductFeeType
{
HireCost,
TransactionCost,
ServiceFee,
ManagedServiceSetup,
ManagedServiceMonthly;
}
public static class PosProductOption
{
public PosProductOptionType Type = null;
public String Value = null;
public PosProductOptionType getType() { return Type; }
public PosProductOption setType(PosProductOptionType value) { this.Type = value; return this; }
public String getValue() { return Value; }
public PosProductOption setValue(String value) { this.Value = value; return this; }
}
public static enum PosProductOptionType
{
Psp;
}
public static class EcomProducts
{
public Integer Term = null;
public Integer RenewalLength = null;
public ArrayList<EcomProduct> Products = null;
public ArrayList<EcomOption> Options = null;
public Integer getTerm() { return Term; }
public EcomProducts setTerm(Integer value) { this.Term = value; return this; }
public Integer getRenewalLength() { return RenewalLength; }
public EcomProducts setRenewalLength(Integer value) { this.RenewalLength = value; return this; }
public ArrayList<EcomProduct> getProducts() { return Products; }
public EcomProducts setProducts(ArrayList<EcomProduct> value) { this.Products = value; return this; }
public ArrayList<EcomOption> getOptions() { return Options; }
public EcomProducts setOptions(ArrayList<EcomOption> value) { this.Options = value; return this; }
}
public static class EcomProduct
{
public Integer Id = null;
public EcomProductType Type = null;
public Integer Quantity = null;
public ArrayList<ProductFee> RelatedFees = null;
public ArrayList<EcomProductOption> Options = null;
public Integer getId() { return Id; }
public EcomProduct setId(Integer value) { this.Id = value; return this; }
public EcomProductType getType() { return Type; }
public EcomProduct setType(EcomProductType value) { this.Type = value; return this; }
public Integer getQuantity() { return Quantity; }
public EcomProduct setQuantity(Integer value) { this.Quantity = value; return this; }
public ArrayList<ProductFee> getRelatedFees() { return RelatedFees; }
public EcomProduct setRelatedFees(ArrayList<ProductFee> value) { this.RelatedFees = value; return this; }
public ArrayList<EcomProductOption> getOptions() { return Options; }
public EcomProduct setOptions(ArrayList<EcomProductOption> value) { this.Options = value; return this; }
}
public static enum EcomProductType
{
Gateway,
VirtualTerminal,
PayByLink,
EcomMidOnly;
}
public static class EcomProductOption
{
public EcomProductOptionType Type = null;
public String Value = null;
public EcomProductOptionType getType() { return Type; }
public EcomProductOption setType(EcomProductOptionType value) { this.Type = value; return this; }
public String getValue() { return Value; }
public EcomProductOption setValue(String value) { this.Value = value; return this; }
}
public static enum EcomProductOptionType
{
Psp,
FreeTransactions;
}
public static class EcomOption
{
public EcomOptionType Type = null;
public ArrayList<ProductFee> RelatedFees = null;
public EcomOptionType getType() { return Type; }
public EcomOption setType(EcomOptionType value) { this.Type = value; return this; }
public ArrayList<ProductFee> getRelatedFees() { return RelatedFees; }
public EcomOption setRelatedFees(ArrayList<ProductFee> value) { this.RelatedFees = value; return this; }
}
public static enum EcomOptionType
{
Paypal,
FuturePay,
Rmm;
}
public static class WptProducts
{
public Integer Term = null;
public Integer RenewalLength = null;
public Date PosInstallationDate = null;
public IntegratedSolutionProvider IntegratedSolutionProvider = null;
public ArrayList<WptProduct> Products = null;
public Integer getTerm() { return Term; }
public WptProducts setTerm(Integer value) { this.Term = value; return this; }
public Integer getRenewalLength() { return RenewalLength; }
public WptProducts setRenewalLength(Integer value) { this.RenewalLength = value; return this; }
public Date getPosInstallationDate() { return PosInstallationDate; }
public WptProducts setPosInstallationDate(Date value) { this.PosInstallationDate = value; return this; }
public IntegratedSolutionProvider getIntegratedSolutionProvider() { return IntegratedSolutionProvider; }
public WptProducts setIntegratedSolutionProvider(IntegratedSolutionProvider value) { this.IntegratedSolutionProvider = value; return this; }
public ArrayList<WptProduct> getProducts() { return Products; }
public WptProducts setProducts(ArrayList<WptProduct> value) { this.Products = value; return this; }
}
public static class IntegratedSolutionProvider
{
public String Name = null;
public Address Address = null;
public String Telephone = null;
public IspContact PrimaryContact = null;
public IspContact TechnicalContact = null;
public String ProviderType = null;
public String ProviderSoftware = null;
public String getName() { return Name; }
public IntegratedSolutionProvider setName(String value) { this.Name = value; return this; }
public Address getAddress() { return Address; }
public IntegratedSolutionProvider setAddress(Address value) { this.Address = value; return this; }
public String getTelephone() { return Telephone; }
public IntegratedSolutionProvider setTelephone(String value) { this.Telephone = value; return this; }
public IspContact getPrimaryContact() { return PrimaryContact; }
public IntegratedSolutionProvider setPrimaryContact(IspContact value) { this.PrimaryContact = value; return this; }
public IspContact getTechnicalContact() { return TechnicalContact; }
public IntegratedSolutionProvider setTechnicalContact(IspContact value) { this.TechnicalContact = value; return this; }
public String getProviderType() { return ProviderType; }
public IntegratedSolutionProvider setProviderType(String value) { this.ProviderType = value; return this; }
public String getProviderSoftware() { return ProviderSoftware; }
public IntegratedSolutionProvider setProviderSoftware(String value) { this.ProviderSoftware = value; return this; }
}
public static class IspContact
{
public String Title = null;
public String FirstName = null;
public String LastName = null;
public String Position = null;
public String EmailAddress = null;
public String getTitle() { return Title; }
public IspContact setTitle(String value) { this.Title = value; return this; }
public String getFirstName() { return FirstName; }
public IspContact setFirstName(String value) { this.FirstName = value; return this; }
public String getLastName() { return LastName; }
public IspContact setLastName(String value) { this.LastName = value; return this; }
public String getPosition() { return Position; }
public IspContact setPosition(String value) { this.Position = value; return this; }
public String getEmailAddress() { return EmailAddress; }
public IspContact setEmailAddress(String value) { this.EmailAddress = value; return this; }
}
public static class WptProduct
{
public WptProductType Type = null;
public Integer Id = null;
public WptVariantType Variant = null;
public Integer Quantity = null;
public ArrayList<ProductFee> RelatedFees = null;
public WptProductType getType() { return Type; }
public WptProduct setType(WptProductType value) { this.Type = value; return this; }
public Integer getId() { return Id; }
public WptProduct setId(Integer value) { this.Id = value; return this; }
public WptVariantType getVariant() { return Variant; }
public WptProduct setVariant(WptVariantType value) { this.Variant = value; return this; }
public Integer getQuantity() { return Quantity; }
public WptProduct setQuantity(Integer value) { this.Quantity = value; return this; }
public ArrayList<ProductFee> getRelatedFees() { return RelatedFees; }
public WptProduct setRelatedFees(ArrayList<ProductFee> value) { this.RelatedFees = value; return this; }
}
public static enum WptProductType
{
VerifoneP400,
IngenicoWL258,
VerifoneV240;
}
public static enum WptVariantType
{
Serial,
Usb,
Ethernet,
None;
}
public static class IpProducts
{
public Integer Term = null;
public Integer RenewalLength = null;
public IntegratedSolutionProvider IntegratedSolutionProvider = null;
public ArrayList<IpProduct> Products = null;
public Integer getTerm() { return Term; }
public IpProducts setTerm(Integer value) { this.Term = value; return this; }
public Integer getRenewalLength() { return RenewalLength; }
public IpProducts setRenewalLength(Integer value) { this.RenewalLength = value; return this; }
public IntegratedSolutionProvider getIntegratedSolutionProvider() { return IntegratedSolutionProvider; }
public IpProducts setIntegratedSolutionProvider(IntegratedSolutionProvider value) { this.IntegratedSolutionProvider = value; return this; }
public ArrayList<IpProduct> getProducts() { return Products; }
public IpProducts setProducts(ArrayList<IpProduct> value) { this.Products = value; return this; }
}
public static class IpProduct
{
public Integer Id = null;
public IpProductType Type = null;
public Integer Quantity = null;
public ArrayList<ProductFee> RelatedFees = null;
public IpVariantType Variant = null;
public Integer getId() { return Id; }
public IpProduct setId(Integer value) { this.Id = value; return this; }
public IpProductType getType() { return Type; }
public IpProduct setType(IpProductType value) { this.Type = value; return this; }
public Integer getQuantity() { return Quantity; }
public IpProduct setQuantity(Integer value) { this.Quantity = value; return this; }
public ArrayList<ProductFee> getRelatedFees() { return RelatedFees; }
public IpProduct setRelatedFees(ArrayList<ProductFee> value) { this.RelatedFees = value; return this; }
public IpVariantType getVariant() { return Variant; }
public IpProduct setVariant(IpVariantType value) { this.Variant = value; return this; }
}
public static enum IpProductType
{
PaxA920,
MiuraM020;
}
public static enum IpVariantType
{
Sdk,
Cloud,
None;
}
public static class StandardResponse
{
public Integer Status = null;
public String CorrelationId = null;
public String Message = null;
public Integer getStatus() { return Status; }
public StandardResponse setStatus(Integer value) { this.Status = value; return this; }
public String getCorrelationId() { return CorrelationId; }
public StandardResponse setCorrelationId(String value) { this.CorrelationId = value; return this; }
public String getMessage() { return Message; }
public StandardResponse setMessage(String value) { this.Message = value; return this; }
}
}
Java AllChecksApplicationDataRequest DTOs
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 /allchecks/submit/json HTTP/1.1
Host: wp-cddws-test.worldpay.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Application":{"ApplicationDetails":{"SourceSystem":"MARS","SourceSystemIdentifier":"String","CustomerType":"New","Csr":"String","Partner":{"PartnerId":"String","PartnerName":"String"},"SellerCode":"String","PricingPackage":"CustomUk","ContactPerson":{"DateOfBirth":"\/Date(-62135596800000-0000)\/","CountryCode":"String","Title":"String","FirstName":"String","MiddleName":"String","LastName":"String","TelephoneNumber":"String","AltTelephoneNumber":"String","Email":"String","Position":"String","PreferredContactMethod":"Email","PreferredContactBestTime":"String"},"SpecialInstructions":"String","OfferDetails":"String","DateContractAccepted":"\/Date(-62135596800000-0000)\/","WorldpayBusinessFinanceInterest":false,"Sar":false,"SellerEmail":"String","AnticipatedGoLiveDate":"\/Date(-62135596800000-0000)\/","AccessibilityOptions":{"AudiotapeRequired":false,"LargePrintRequired":false,"UncontractedBrailleGrade1Required":false,"UncontractedBrailleGrade2Required":false,"NextGenerationTextRequired":false},"UltimateParentId":"String"},"MerchantDetails":{"Business":{"LegalName":"String","LegalAddress":{"IsCommercial":false,"Address1":"String","Address2":"String","Address3":"String","Postcode":"String","City":"String","State":"String","Countrycode":"String"},"WebsiteAddress":"String","CompanyType":"SoleTrader","CompanyTypeOther":"String","CompanyRegistrationNumber":"String","CharityNumber":"String","MerchantCategoryCode":"String","MerchantCategoryDescription":"String","DescriptionOfGoodsAndServices":"String","VatNumber":"String","DateStartedTrading":"\/Date(-62135596800000-0000)\/","CountryOfIncorporation":"String","RegionOfIncorporation":"String","Financials":{"Annual":0,"CardPercentage":0,"CreditCardPercentage":0,"AverageTransactionValue":0},"NewToCards":false,"TradeAssociation":{"GroupName":"String","MemberNumber":"String"}},"GoodsAndServices":{"GoodsProvidedByThirdParty":false,"Deposits":{"Accepted":false,"PerOfSalesWhereInitialDepositTaken":0,"SizePercOfTotalValue":0,"AvgTimeBeforeDeliveryTaken":0,"AvgTimeBeforeDeliveryBalanceTaken":0},"WarrantiesAndGuarantees":{"LevyCharge":false,"PercCardTurnover":0,"AvgLengthInMonths":0,"PercGoodsReturned":0,"ThirdPartyProviders":"String"},"Prepayments":{"FullPaymentAcceptedPriorToSupply":false,"PercGoodsWherePaymentTakenPriorToDelivery":0,"AvgDaysPaymentTakenInAdvance":0},"MembershipsSubscriptionAndInsurancePremiums":{"LevyCharge":false,"PercCardTurnover":0,"AvgLengthInMonths":0,"MembershipCost":0},"StockHeldAtAnotherAddressLocation":{"Address1":"String","Address2":"String","Address3":"String","Postcode":"String","City":"String","State":"String","Countrycode":"String"}}},"Acquiring":{"SettlementPeriodTPlus":0,"Rates":{},"Services":{"Cnp":{"Required":false,"Percentage":0},"Amex":{"Required":false,"ExistingAmexNumber":"String"},"CashbackRequired":false,"WorldpayDashboardRequired":false,"PaperInvoicingRequired":false}},"Products":{"PosProducts":{"Term":0,"RenewalLength":0},"EcomProducts":{"Term":0,"RenewalLength":0},"WptProducts":{"Term":0,"RenewalLength":0,"PosInstallationDate":"\/Date(-62135596800000-0000)\/","IntegratedSolutionProvider":{"Name":"String","Address":{"Address1":"String","Address2":"String","Address3":"String","Postcode":"String","City":"String","State":"String","Countrycode":"String"},"Telephone":"String","PrimaryContact":{"Title":"String","FirstName":"String","LastName":"String","Position":"String","EmailAddress":"String"},"TechnicalContact":{"Title":"String","FirstName":"String","LastName":"String","Position":"String","EmailAddress":"String"},"ProviderType":"String","ProviderSoftware":"String"}},"IpProducts":{"Term":0,"RenewalLength":0,"IntegratedSolutionProvider":{"Name":"String","Address":{"Address1":"String","Address2":"String","Address3":"String","Postcode":"String","City":"String","State":"String","Countrycode":"String"},"Telephone":"String","PrimaryContact":{"Title":"String","FirstName":"String","LastName":"String","Position":"String","EmailAddress":"String"},"TechnicalContact":{"Title":"String","FirstName":"String","LastName":"String","Position":"String","EmailAddress":"String"},"ProviderType":"String","ProviderSoftware":"String"}}}},"CorrelationId":"String","NapPartyId":"String","LEID":"String","OrderId":"String","PartyIndividuals":["String"]}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"Status":0,"CorrelationId":"String","Message":"String"}