/* Options: Date: 2024-07-06 13:30:13 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://abservice-featuretest.worldpay.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: ApplicationBoarding.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/ApplicationBoarding", Verbs="POST") public static class ApplicationBoarding implements IReturn { public UUID correlationId = null; public Integer csr = null; public String sellerCode = null; public String sellerEmail = null; public Integer applicationSource = null; public Application applicationJson = null; public UUID getCorrelationId() { return correlationId; } public ApplicationBoarding setCorrelationId(UUID value) { this.correlationId = value; return this; } public Integer getCsr() { return csr; } public ApplicationBoarding setCsr(Integer value) { this.csr = value; return this; } public String getSellerCode() { return sellerCode; } public ApplicationBoarding setSellerCode(String value) { this.sellerCode = value; return this; } public String getSellerEmail() { return sellerEmail; } public ApplicationBoarding setSellerEmail(String value) { this.sellerEmail = value; return this; } public Integer getApplicationSource() { return applicationSource; } public ApplicationBoarding setApplicationSource(Integer value) { this.applicationSource = value; return this; } public Application getApplicationJson() { return applicationJson; } public ApplicationBoarding setApplicationJson(Application value) { this.applicationJson = value; return this; } private static Object responseType = InitiateBoardingResponse.class; public Object getResponseType() { return responseType; } } public static class InitiateBoardingResponse { public UUID applicationGuid = null; public Integer csr = null; public UUID applicationQueueGuid = null; public ApplicationQueueStatus queueStatus = null; public ApplicationBoardingStatus boardingStatus = null; public ArrayList errorMessages = null; public UUID getApplicationGuid() { return applicationGuid; } public InitiateBoardingResponse setApplicationGuid(UUID value) { this.applicationGuid = value; return this; } public Integer getCsr() { return csr; } public InitiateBoardingResponse setCsr(Integer value) { this.csr = value; return this; } public UUID getApplicationQueueGuid() { return applicationQueueGuid; } public InitiateBoardingResponse setApplicationQueueGuid(UUID value) { this.applicationQueueGuid = value; return this; } public ApplicationQueueStatus getQueueStatus() { return queueStatus; } public InitiateBoardingResponse setQueueStatus(ApplicationQueueStatus value) { this.queueStatus = value; return this; } public ApplicationBoardingStatus getBoardingStatus() { return boardingStatus; } public InitiateBoardingResponse setBoardingStatus(ApplicationBoardingStatus value) { this.boardingStatus = value; return this; } public ArrayList getErrorMessages() { return errorMessages; } public InitiateBoardingResponse setErrorMessages(ArrayList value) { this.errorMessages = 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; } } @DataContract public static enum ApplicationQueueStatus { Queued(0), StandardisedXML(20), ReadyToDistribute(40), AwaitingDistributeResponse(60), ReadyToAutoboard(80), ThrottleCheckPassed(100), EligibilityCheckPassed(300), SentToAutoboardService(400), AutoboardingSuspended(450), SuccessfullyBoarded(500), QueueError(1000), ThrottleCheckError(1100), XmlStandardisationError(1200), EligibilityCheckError(1300), AutoboardingError(1400), IneligibleThrottleLimit(2100), IneligibleApplication(2300); private final int value; ApplicationQueueStatus(final int intValue) { value = intValue; } public int getValue() { return value; } } @DataContract public static enum ApplicationBoardingStatus { Pending(0), InProgress(5), Failed(9), Completed(10); private final int value; ApplicationBoardingStatus(final int intValue) { value = intValue; } public int getValue() { return value; } } 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 class MerchantDetails { public Business business = null; public ArrayList principals = null; public ArrayList outlets = null; public GoodsAndServices goodsAndServices = null; public Business getBusiness() { return business; } public MerchantDetails setBusiness(Business value) { this.business = value; return this; } public ArrayList getPrincipals() { return principals; } public MerchantDetails setPrincipals(ArrayList value) { this.principals = value; return this; } public ArrayList getOutlets() { return outlets; } public MerchantDetails setOutlets(ArrayList value) { this.outlets = value; return this; } public GoodsAndServices getGoodsAndServices() { return goodsAndServices; } public MerchantDetails setGoodsAndServices(GoodsAndServices value) { this.goodsAndServices = value; return this; } } public static class Acquiring { public Integer settlementPeriodTPlus = null; public Rates rates = null; public Services services = null; public ArrayList 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 getTradingCurrencies() { return tradingCurrencies; } public Acquiring setTradingCurrencies(ArrayList value) { this.tradingCurrencies = value; return this; } } 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 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 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 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 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 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 getHomeAddresses() { return homeAddresses; } public Principal setHomeAddresses(ArrayList 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 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 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 getProductAllocation() { return productAllocation; } public Outlet setProductAllocation(ArrayList value) { this.productAllocation = 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 PosProducts { public Integer term = null; public Integer renewalLength = null; public ArrayList 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 getProducts() { return products; } public PosProducts setProducts(ArrayList value) { this.products = value; return this; } } public static class EcomProducts { public Integer term = null; public Integer renewalLength = null; public ArrayList products = null; public ArrayList 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 getProducts() { return products; } public EcomProducts setProducts(ArrayList value) { this.products = value; return this; } public ArrayList getOptions() { return options; } public EcomProducts setOptions(ArrayList value) { this.options = value; return this; } } public static class WptProducts { public Integer term = null; public Integer renewalLength = null; public Date posInstallationDate = null; public IntegratedSolutionProvider integratedSolutionProvider = null; public ArrayList 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 getProducts() { return products; } public WptProducts setProducts(ArrayList value) { this.products = value; return this; } } public static class IpProducts { public Integer term = null; public Integer renewalLength = null; public IntegratedSolutionProvider integratedSolutionProvider = null; public ArrayList 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 getProducts() { return products; } public IpProducts setProducts(ArrayList value) { this.products = value; return this; } } public static class Partner { public String partnerName = null; public String partnerId = null; public String getPartnerName() { return partnerName; } public Partner setPartnerName(String value) { this.partnerName = value; return this; } public String getPartnerId() { return partnerId; } public Partner setPartnerId(String value) { this.partnerId = value; return this; } } public static class AuthorisedSigner extends Contact { 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 BankAccount { public String sortCode = null; public String accountNumber = null; public String bankName = null; public String bankAccountName = null; public String swiftCode = null; public String internationalBankAccountNumber = 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 String getSwiftCode() { return swiftCode; } public BankAccount setSwiftCode(String value) { this.swiftCode = value; return this; } public String getInternationalBankAccountNumber() { return internationalBankAccountNumber; } public BankAccount setInternationalBankAccountNumber(String value) { this.internationalBankAccountNumber = value; return this; } } public static class Financials { public BigDecimal annual = null; public BigDecimal cardPercentage = null; public BigDecimal creditCardPercentage = null; public BigDecimal averageTransactionValue = null; public BigDecimal cardNotPresentPercentage = 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 BigDecimal getCardNotPresentPercentage() { return cardNotPresentPercentage; } public Financials setCardNotPresentPercentage(BigDecimal value) { this.cardNotPresentPercentage = 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 extends Person { public String position = null; public Boolean isFinancialController = null; public Date dateOfBirth = null; public String nationality = null; public BigDecimal ownershipPercentage = null; public ArrayList homeAddresses = null; public ArrayList principalIdDocuments = null; public String getPosition() { return position; } public Principal setPosition(String value) { this.position = value; return this; } public Boolean getIsFinancialController() { return isFinancialController; } public Principal setIsFinancialController(Boolean value) { this.isFinancialController = 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 BigDecimal getOwnershipPercentage() { return ownershipPercentage; } public Principal setOwnershipPercentage(BigDecimal value) { this.ownershipPercentage = value; return this; } public ArrayList getHomeAddresses() { return homeAddresses; } public Principal setHomeAddresses(ArrayList value) { this.homeAddresses = value; return this; } public ArrayList getPrincipalIdDocuments() { return principalIdDocuments; } public Principal setPrincipalIdDocuments(ArrayList value) { this.principalIdDocuments = 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 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 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 Acquiring { public Integer settlementPeriod = null; public String fundingMode = null; public Rates rates = null; public ArrayList tradingCurrencies = null; public Integer getSettlementPeriod() { return settlementPeriod; } public Acquiring setSettlementPeriod(Integer value) { this.settlementPeriod = value; return this; } public String getFundingMode() { return fundingMode; } public Acquiring setFundingMode(String value) { this.fundingMode = value; return this; } public Rates getRates() { return rates; } public Acquiring setRates(Rates value) { this.rates = value; return this; } public ArrayList getTradingCurrencies() { return tradingCurrencies; } public Acquiring setTradingCurrencies(ArrayList value) { this.tradingCurrencies = value; return this; } } public static enum PreferredContactMethodType { Email, Telephone, Any; } 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 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 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 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 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 class PosProduct { public Integer id = null; public PosProductType type = null; public Integer quantity = null; public ArrayList relatedFees = null; public ArrayList 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 getRelatedFees() { return relatedFees; } public PosProduct setRelatedFees(ArrayList value) { this.relatedFees = value; return this; } public ArrayList getOptions() { return options; } public PosProduct setOptions(ArrayList value) { this.options = value; return this; } } public static class EcomProduct { public Integer id = null; public EcomProductType type = null; public Integer quantity = null; public ArrayList relatedFees = null; public ArrayList 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 getRelatedFees() { return relatedFees; } public EcomProduct setRelatedFees(ArrayList value) { this.relatedFees = value; return this; } public ArrayList getOptions() { return options; } public EcomProduct setOptions(ArrayList value) { this.options = value; return this; } } public static class EcomOption { public EcomOptionType type = null; public ArrayList relatedFees = null; public EcomOptionType getType() { return type; } public EcomOption setType(EcomOptionType value) { this.type = value; return this; } public ArrayList getRelatedFees() { return relatedFees; } public EcomOption setRelatedFees(ArrayList value) { this.relatedFees = 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 WptProduct { public WptProductType type = null; public Integer id = null; public WptVariantType variant = null; public Integer quantity = null; public ArrayList 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 getRelatedFees() { return relatedFees; } public WptProduct setRelatedFees(ArrayList value) { this.relatedFees = value; return this; } } public static class IpProduct { public Integer id = null; public IpProductType type = null; public Integer quantity = null; public ArrayList 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 getRelatedFees() { return relatedFees; } public IpProduct setRelatedFees(ArrayList value) { this.relatedFees = value; return this; } public IpVariantType getVariant() { return variant; } public IpProduct setVariant(IpVariantType value) { this.variant = 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 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 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 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 EcomOptionType { Paypal, FuturePay, Rmm; } 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 enum WptProductType { VerifoneP400, IngenicoWL258, VerifoneV240; } public static enum WptVariantType { Serial, Usb, Ethernet, None; } public static enum IpProductType { PaxA920, MiuraM020; } public static enum IpVariantType { Sdk, Cloud, None; } public static class ProductFee { public String type = null; public BigDecimal cost = null; public String billingParty = null; public String getType() { return type; } public ProductFee setType(String value) { this.type = value; return this; } public BigDecimal getCost() { return cost; } public ProductFee setCost(BigDecimal value) { this.cost = value; return this; } public String getBillingParty() { return billingParty; } public ProductFee setBillingParty(String value) { this.billingParty = value; return this; } } public static enum PosProductOptionType { Psp; } public static enum EcomProductOptionType { Psp, FreeTransactions; } }