diff --git a/pom.xml b/pom.xml
index d48ebe3..f801971 100644
--- a/pom.xml
+++ b/pom.xml
@@ -13,7 +13,7 @@
com.cybersource
cybersource-rest-client-java
- 0.0.82
+ 0.0.83
diff --git a/src/main/java/samples/AccountUpdater/RetrieveBatchReport.java b/src/main/java/samples/AccountUpdater/RetrieveBatchReport.java
index 665dd6d..58acccb 100644
--- a/src/main/java/samples/AccountUpdater/RetrieveBatchReport.java
+++ b/src/main/java/samples/AccountUpdater/RetrieveBatchReport.java
@@ -4,9 +4,7 @@
import Data.Configuration;
import Invokers.ApiClient;
import Invokers.ApiException;
-import Model.InlineResponse20011;
-import Model.InlineResponse20012;
-import Model.InlineResponse2009;
+import Model.*;
import com.cybersource.authsdk.core.MerchantConfig;
import java.lang.invoke.MethodHandles;
diff --git a/src/main/java/samples/AccountUpdater/RetrieveBatchStatus.java b/src/main/java/samples/AccountUpdater/RetrieveBatchStatus.java
index 40f8b64..fc8dbb1 100644
--- a/src/main/java/samples/AccountUpdater/RetrieveBatchStatus.java
+++ b/src/main/java/samples/AccountUpdater/RetrieveBatchStatus.java
@@ -4,9 +4,7 @@
import Data.Configuration;
import Invokers.ApiClient;
import Invokers.ApiException;
-import Model.InlineResponse2008;
-import Model.InlineResponse20010;
-import Model.InlineResponse20011;
+import Model.*;
import com.cybersource.authsdk.core.MerchantConfig;
diff --git a/src/main/java/samples/BinLookup/BINLookupWithCard.java b/src/main/java/samples/BinLookup/BINLookupWithCard.java
index df927ef..94788f8 100644
--- a/src/main/java/samples/BinLookup/BINLookupWithCard.java
+++ b/src/main/java/samples/BinLookup/BINLookupWithCard.java
@@ -48,7 +48,7 @@ public static InlineResponse2012 run() {
requestObj.paymentInformation(paymentInformation);
- InlineResponse2012 result=null;
+ InlineResponse2012 result = null;
try {
merchantProp = Configuration.getMerchantDetails();
ApiClient apiClient = new ApiClient();
diff --git a/src/main/java/samples/BinLookup/BINLookupWithHealthcareCard.java b/src/main/java/samples/BinLookup/BINLookupWithHealthcareCard.java
index 503ed4a..a207c25 100644
--- a/src/main/java/samples/BinLookup/BINLookupWithHealthcareCard.java
+++ b/src/main/java/samples/BinLookup/BINLookupWithHealthcareCard.java
@@ -45,7 +45,7 @@ public static InlineResponse2012 run() {
requestObj.paymentInformation(paymentInformation);
- InlineResponse2012 result=null;
+ InlineResponse2012 result = null;
try {
merchantProp = Configuration.getMerchantDetails();
ApiClient apiClient = new ApiClient();
diff --git a/src/main/java/samples/BinLookup/BINLookupWithTMSCustomerID.java b/src/main/java/samples/BinLookup/BINLookupWithTMSCustomerID.java
index 7663edf..6503eb5 100644
--- a/src/main/java/samples/BinLookup/BINLookupWithTMSCustomerID.java
+++ b/src/main/java/samples/BinLookup/BINLookupWithTMSCustomerID.java
@@ -53,7 +53,7 @@ public static InlineResponse2012 run() {
apiClient.merchantConfig = merchantConfig;
BinLookupApi apiInstance = new BinLookupApi(apiClient);
- result= apiInstance.getAccountInfo(requestObj);
+ result = apiInstance.getAccountInfo(requestObj);
responseCode = apiClient.responseCode;
status = apiClient.status;
diff --git a/src/main/java/samples/BinLookup/BINLookupWithTMSInstrumentIdentifier.java b/src/main/java/samples/BinLookup/BINLookupWithTMSInstrumentIdentifier.java
index d08bfde..ff7c9b8 100644
--- a/src/main/java/samples/BinLookup/BINLookupWithTMSInstrumentIdentifier.java
+++ b/src/main/java/samples/BinLookup/BINLookupWithTMSInstrumentIdentifier.java
@@ -45,7 +45,7 @@ public static InlineResponse2012 run() {
requestObj.paymentInformation(paymentInformation);
- InlineResponse2012 result=null;
+ InlineResponse2012 result = null;
try {
merchantProp = Configuration.getMerchantDetails();
ApiClient apiClient = new ApiClient();
@@ -53,7 +53,7 @@ public static InlineResponse2012 run() {
apiClient.merchantConfig = merchantConfig;
BinLookupApi apiInstance = new BinLookupApi(apiClient);
- result=apiInstance.getAccountInfo(requestObj);
+ result = apiInstance.getAccountInfo(requestObj);
responseCode = apiClient.responseCode;
status = apiClient.status;
diff --git a/src/main/java/samples/FlexMicroform/GenerateCaptureContextAcceptCard.java b/src/main/java/samples/FlexMicroform/GenerateCaptureContextAcceptCard.java
index ae907a5..ef44000 100644
--- a/src/main/java/samples/FlexMicroform/GenerateCaptureContextAcceptCard.java
+++ b/src/main/java/samples/FlexMicroform/GenerateCaptureContextAcceptCard.java
@@ -6,6 +6,8 @@
import Data.Configuration;
import Invokers.ApiClient;
import Model.*;
+import com.google.gson.JsonObject;
+import utilities.capturecontext.utility.CaptureContextParsingUtility;
public class GenerateCaptureContextAcceptCard {
private static String responseCode = null;
@@ -62,6 +64,14 @@ public static void run() {
System.out.println("ResponseCode :" + responseCode);
System.out.println("ResponseMessage :" + status);
System.out.println("Response Body :" + response);
+ System.out.println("\n\n");
+
+ try {
+ JsonObject payload = CaptureContextParsingUtility.parseCaptureContextResponse(response, merchantConfig, true);
+ System.out.println(payload.toString());
+ } catch (Exception e) {
+ System.out.println(e.getMessage());
+ }
} catch (Exception e) {
e.printStackTrace();
}
diff --git a/src/main/java/samples/FlexMicroform/GenerateCaptureContextAcceptCheck.java b/src/main/java/samples/FlexMicroform/GenerateCaptureContextAcceptCheck.java
index 0b2821b..ce4dffa 100644
--- a/src/main/java/samples/FlexMicroform/GenerateCaptureContextAcceptCheck.java
+++ b/src/main/java/samples/FlexMicroform/GenerateCaptureContextAcceptCheck.java
@@ -6,6 +6,8 @@
import Data.Configuration;
import Invokers.ApiClient;
import Model.*;
+import com.google.gson.JsonObject;
+import utilities.capturecontext.utility.CaptureContextParsingUtility;
public class GenerateCaptureContextAcceptCheck {
private static String responseCode = null;
@@ -44,6 +46,13 @@ public static void run() {
System.out.println("ResponseCode :" + responseCode);
System.out.println("ResponseMessage :" + status);
System.out.println("Response Body :" + response);
+
+ try {
+ JsonObject payload = CaptureContextParsingUtility.parseCaptureContextResponse(response, merchantConfig, true);
+ System.out.println(payload.toString());
+ } catch (Exception e) {
+ System.out.println(e.getMessage());
+ }
} catch (Exception e) {
e.printStackTrace();
}
diff --git a/src/main/java/samples/MerchantBoarding/CreateRegistration.java b/src/main/java/samples/MerchantBoarding/CreateRegistration.java
index d76b923..4bf8264 100644
--- a/src/main/java/samples/MerchantBoarding/CreateRegistration.java
+++ b/src/main/java/samples/MerchantBoarding/CreateRegistration.java
@@ -31,16 +31,16 @@ public static void main(String args[]) throws Exception {
public static InlineResponse2013 run() {
- PostRegistrationBody reqObj=new PostRegistrationBody();
+ PostRegistrationBody reqObj = new PostRegistrationBody();
- Boardingv1registrationsOrganizationInformation organizationInformation=new Boardingv1registrationsOrganizationInformation();
+ Boardingv1registrationsOrganizationInformation organizationInformation = new Boardingv1registrationsOrganizationInformation();
organizationInformation.parentOrganizationId("apitester00");
organizationInformation.type("MERCHANT");
organizationInformation.configurable(true);
- Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation=new Boardingv1registrationsOrganizationInformationBusinessInformation();
+ Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation = new Boardingv1registrationsOrganizationInformationBusinessInformation();
businessInformation.name("StuartWickedFastEatz");
- Boardingv1registrationsOrganizationInformationBusinessInformationAddress address=new Boardingv1registrationsOrganizationInformationBusinessInformationAddress();
+ Boardingv1registrationsOrganizationInformationBusinessInformationAddress address = new Boardingv1registrationsOrganizationInformationBusinessInformationAddress();
address.country("US");
address.address1("123456 SandMarket");
address.locality("ORMOND BEACH");
@@ -50,7 +50,7 @@ public static InlineResponse2013 run() {
businessInformation.websiteUrl("https://www.StuartWickedEats.com");
businessInformation.phoneNumber("6574567813");
- Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact businessContact=new Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact();
+ Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact businessContact = new Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact();
businessContact.firstName("Stuart");
businessContact.lastName("Stuart");
businessContact.phoneNumber("6574567813");
@@ -62,23 +62,23 @@ public static InlineResponse2013 run() {
reqObj.organizationInformation(organizationInformation);
- Boardingv1registrationsProductInformation productInformation=new Boardingv1registrationsProductInformation();
+ Boardingv1registrationsProductInformation productInformation = new Boardingv1registrationsProductInformation();
- Boardingv1registrationsProductInformationSelectedProducts selectedProducts=new Boardingv1registrationsProductInformationSelectedProducts();
+ Boardingv1registrationsProductInformationSelectedProducts selectedProducts = new Boardingv1registrationsProductInformationSelectedProducts();
- PaymentsProducts payments=new PaymentsProducts();
- PaymentsProductsPayerAuthentication payerAuthentication=new PaymentsProductsPayerAuthentication();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+ PaymentsProducts payments = new PaymentsProducts();
+ PaymentsProductsPayerAuthentication payerAuthentication = new PaymentsProductsPayerAuthentication();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
// subscriptionInformation.enabled(true);
// payerAuthentication.subscriptionInformation(subscriptionInformation);
- PaymentsProductsPayerAuthenticationConfigurationInformation configurationInformation=new PaymentsProductsPayerAuthenticationConfigurationInformation();
- PayerAuthConfig configurations=new PayerAuthConfig();
- PayerAuthConfigCardTypes cardTypes=new PayerAuthConfigCardTypes();
- PayerAuthConfigCardTypesVerifiedByVisa verifiedByVisa=new PayerAuthConfigCardTypesVerifiedByVisa();
- List currencies=new ArrayList<>();
- PayerAuthConfigCardTypesVerifiedByVisaCurrencies currency1=new PayerAuthConfigCardTypesVerifiedByVisaCurrencies();
- List currencyCodes=new ArrayList<>();
+ PaymentsProductsPayerAuthenticationConfigurationInformation configurationInformation = new PaymentsProductsPayerAuthenticationConfigurationInformation();
+ PayerAuthConfig configurations = new PayerAuthConfig();
+ PayerAuthConfigCardTypes cardTypes = new PayerAuthConfigCardTypes();
+ PayerAuthConfigCardTypesVerifiedByVisa verifiedByVisa = new PayerAuthConfigCardTypesVerifiedByVisa();
+ List currencies = new ArrayList<>();
+ PayerAuthConfigCardTypesVerifiedByVisaCurrencies currency1 = new PayerAuthConfigCardTypesVerifiedByVisaCurrencies();
+ List currencyCodes = new ArrayList<>();
currencyCodes.add("ALL");
currency1.currencyCodes(currencyCodes);
currency1.acquirerId("469216");
@@ -92,22 +92,22 @@ public static InlineResponse2013 run() {
payerAuthentication.configurationInformation(configurationInformation);
payments.payerAuthentication(payerAuthentication);
- PaymentsProductsCardProcessing cardProcessing=new PaymentsProductsCardProcessing();
- PaymentsProductsCardProcessingSubscriptionInformation subscriptionInformation2=new PaymentsProductsCardProcessingSubscriptionInformation();
+ PaymentsProductsCardProcessing cardProcessing = new PaymentsProductsCardProcessing();
+ PaymentsProductsCardProcessingSubscriptionInformation subscriptionInformation2 = new PaymentsProductsCardProcessingSubscriptionInformation();
subscriptionInformation2.enabled(true);
- Map features=new HashMap<>();
- PaymentsProductsCardProcessingSubscriptionInformationFeatures obj=new PaymentsProductsCardProcessingSubscriptionInformationFeatures();
+ Map features = new HashMap<>();
+ PaymentsProductsCardProcessingSubscriptionInformationFeatures obj = new PaymentsProductsCardProcessingSubscriptionInformationFeatures();
obj.enabled(true);
features.put("cardNotPresent",obj);
subscriptionInformation2.features(features);
cardProcessing.subscriptionInformation(subscriptionInformation2);
- PaymentsProductsCardProcessingConfigurationInformation configurationInformation2=new PaymentsProductsCardProcessingConfigurationInformation();
+ PaymentsProductsCardProcessingConfigurationInformation configurationInformation2 = new PaymentsProductsCardProcessingConfigurationInformation();
- CardProcessingConfig configurations2=new CardProcessingConfig();
- CardProcessingConfigCommon common=new CardProcessingConfigCommon();
+ CardProcessingConfig configurations2 = new CardProcessingConfig();
+ CardProcessingConfigCommon common = new CardProcessingConfigCommon();
common.merchantCategoryCode("1234");
- CardProcessingConfigCommonMerchantDescriptorInformation merchantDescriptorInformation=new CardProcessingConfigCommonMerchantDescriptorInformation();
+ CardProcessingConfigCommonMerchantDescriptorInformation merchantDescriptorInformation = new CardProcessingConfigCommonMerchantDescriptorInformation();
merchantDescriptorInformation.name("r4ef");
merchantDescriptorInformation.city("Bellevue");
@@ -119,8 +119,8 @@ public static InlineResponse2013 run() {
common.merchantDescriptorInformation(merchantDescriptorInformation);
- Map processors=new HashMap<>();
- CardProcessingConfigCommonProcessors obj2=new CardProcessingConfigCommonProcessors();
+ Map processors = new HashMap<>();
+ CardProcessingConfigCommonProcessors obj2 = new CardProcessingConfigCommonProcessors();
obj2.merchantId("123456789101");
obj2.terminalId("1231");
obj2.industryCode("D");
@@ -133,8 +133,8 @@ public static InlineResponse2013 run() {
common.processors(processors);
configurations2.common(common);
- CardProcessingConfigFeatures features2=new CardProcessingConfigFeatures();
- CardProcessingConfigFeaturesCardNotPresent cardNotPresent=new CardProcessingConfigFeaturesCardNotPresent();
+ CardProcessingConfigFeatures features2 = new CardProcessingConfigFeatures();
+ CardProcessingConfigFeaturesCardNotPresent cardNotPresent = new CardProcessingConfigFeaturesCardNotPresent();
cardNotPresent.visaStraightThroughProcessingOnly(true);
features2.cardNotPresent(cardNotPresent);
@@ -143,46 +143,46 @@ public static InlineResponse2013 run() {
cardProcessing.configurationInformation(configurationInformation2);
payments.cardProcessing(cardProcessing);
- PaymentsProductsVirtualTerminal virtualTerminal=new PaymentsProductsVirtualTerminal();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation3=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+ PaymentsProductsVirtualTerminal virtualTerminal = new PaymentsProductsVirtualTerminal();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation3 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
//
// subscriptionInformation3.enabled(true);
// virtualTerminal.subscriptionInformation(subscriptionInformation3);
payments.virtualTerminal(virtualTerminal);
- PaymentsProductsTax customerInvoicing=new PaymentsProductsTax();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation4=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+ PaymentsProductsTax customerInvoicing = new PaymentsProductsTax();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation4 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
//
// subscriptionInformation4.enabled(true);
// customerInvoicing.subscriptionInformation(subscriptionInformation4);
payments.customerInvoicing(customerInvoicing);
- PaymentsProductsPayouts payouts=new PaymentsProductsPayouts();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation5=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+ PaymentsProductsPayouts payouts = new PaymentsProductsPayouts();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation5 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
// subscriptionInformation5.enabled(true);
// payouts.subscriptionInformation(subscriptionInformation5);
payments.payouts(payouts);
selectedProducts.payments(payments);
- CommerceSolutionsProducts commerceSolutions=new CommerceSolutionsProducts();
- CommerceSolutionsProductsTokenManagement tokenManagement=new CommerceSolutionsProductsTokenManagement();
+ CommerceSolutionsProducts commerceSolutions = new CommerceSolutionsProducts();
+ CommerceSolutionsProductsTokenManagement tokenManagement = new CommerceSolutionsProductsTokenManagement();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation6=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation6 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
//
// subscriptionInformation6.enabled(true);
// tokenManagement.subscriptionInformation(subscriptionInformation6);
commerceSolutions.tokenManagement(tokenManagement);
selectedProducts.commerceSolutions(commerceSolutions);
- RiskProducts risk=new RiskProducts();
- RiskProductsFraudManagementEssentials fraudManagementEssentials=new RiskProductsFraudManagementEssentials();
+ RiskProducts risk = new RiskProducts();
+ RiskProductsFraudManagementEssentials fraudManagementEssentials = new RiskProductsFraudManagementEssentials();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation7=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation7 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
// subscriptionInformation7.enabled(true);
// fraudManagementEssentials.subscriptionInformation(subscriptionInformation7);
- RiskProductsFraudManagementEssentialsConfigurationInformation configurationInformation5=new RiskProductsFraudManagementEssentialsConfigurationInformation();
+ RiskProductsFraudManagementEssentialsConfigurationInformation configurationInformation5 = new RiskProductsFraudManagementEssentialsConfigurationInformation();
configurationInformation5.templateId("E4EDB280-9DAC-4698-9EB9-9434D40FF60C");
fraudManagementEssentials.configurationInformation(configurationInformation5);
@@ -195,7 +195,7 @@ public static InlineResponse2013 run() {
reqObj.productInformation(productInformation);
- InlineResponse2013 result=null;
+ InlineResponse2013 result = null;
try {
//Boarding API support only JWT Auth Type
diff --git a/src/main/java/samples/MerchantBoarding/MerchantBoardingAmexDirect.java b/src/main/java/samples/MerchantBoarding/MerchantBoardingAmexDirect.java
index 4f078ea..aedecb9 100644
--- a/src/main/java/samples/MerchantBoarding/MerchantBoardingAmexDirect.java
+++ b/src/main/java/samples/MerchantBoarding/MerchantBoardingAmexDirect.java
@@ -31,16 +31,16 @@ public static void main(String args[]) throws Exception {
public static InlineResponse2013 run() {
- PostRegistrationBody reqObj=new PostRegistrationBody();
+ PostRegistrationBody reqObj = new PostRegistrationBody();
- Boardingv1registrationsOrganizationInformation organizationInformation=new Boardingv1registrationsOrganizationInformation();
+ Boardingv1registrationsOrganizationInformation organizationInformation = new Boardingv1registrationsOrganizationInformation();
organizationInformation.parentOrganizationId("apitester00");
organizationInformation.type("MERCHANT");
organizationInformation.configurable(true);
- Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation=new Boardingv1registrationsOrganizationInformationBusinessInformation();
+ Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation = new Boardingv1registrationsOrganizationInformationBusinessInformation();
businessInformation.name("StuartWickedFastEatz");
- Boardingv1registrationsOrganizationInformationBusinessInformationAddress address=new Boardingv1registrationsOrganizationInformationBusinessInformationAddress();
+ Boardingv1registrationsOrganizationInformationBusinessInformationAddress address = new Boardingv1registrationsOrganizationInformationBusinessInformationAddress();
address.country("US");
address.address1("123456 SandMarket");
address.locality("ORMOND BEACH");
@@ -50,7 +50,7 @@ public static InlineResponse2013 run() {
businessInformation.websiteUrl("https://www.StuartWickedEats.com");
businessInformation.phoneNumber("6574567813");
- Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact businessContact=new Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact();
+ Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact businessContact = new Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact();
businessContact.firstName("Stuart");
businessContact.lastName("Stuart");
businessContact.phoneNumber("6574567813");
@@ -62,29 +62,29 @@ public static InlineResponse2013 run() {
reqObj.organizationInformation(organizationInformation);
- Boardingv1registrationsProductInformation productInformation=new Boardingv1registrationsProductInformation();
- Boardingv1registrationsProductInformationSelectedProducts selectedProducts=new Boardingv1registrationsProductInformationSelectedProducts();
+ Boardingv1registrationsProductInformation productInformation = new Boardingv1registrationsProductInformation();
+ Boardingv1registrationsProductInformationSelectedProducts selectedProducts = new Boardingv1registrationsProductInformationSelectedProducts();
- PaymentsProducts payments=new PaymentsProducts();
- PaymentsProductsCardProcessing cardProcessing=new PaymentsProductsCardProcessing();
- PaymentsProductsCardProcessingSubscriptionInformation subscriptionInformation=new PaymentsProductsCardProcessingSubscriptionInformation();
+ PaymentsProducts payments = new PaymentsProducts();
+ PaymentsProductsCardProcessing cardProcessing = new PaymentsProductsCardProcessing();
+ PaymentsProductsCardProcessingSubscriptionInformation subscriptionInformation = new PaymentsProductsCardProcessingSubscriptionInformation();
subscriptionInformation.enabled(true);
- Map features=new HashMap<>();
+ Map features = new HashMap<>();
- PaymentsProductsCardProcessingSubscriptionInformationFeatures obj1=new PaymentsProductsCardProcessingSubscriptionInformationFeatures();
+ PaymentsProductsCardProcessingSubscriptionInformationFeatures obj1 = new PaymentsProductsCardProcessingSubscriptionInformationFeatures();
obj1.enabled(true);
features.put("cardNotPresent",obj1);
features.put("cardPresent",obj1);
subscriptionInformation.features(features);
cardProcessing.subscriptionInformation(subscriptionInformation);
- PaymentsProductsCardProcessingConfigurationInformation configurationInformation=new PaymentsProductsCardProcessingConfigurationInformation();
+ PaymentsProductsCardProcessingConfigurationInformation configurationInformation = new PaymentsProductsCardProcessingConfigurationInformation();
- CardProcessingConfig configurations=new CardProcessingConfig();
- CardProcessingConfigCommon common=new CardProcessingConfigCommon();
+ CardProcessingConfig configurations = new CardProcessingConfig();
+ CardProcessingConfigCommon common = new CardProcessingConfigCommon();
common.merchantCategoryCode("1799");
- CardProcessingConfigCommonMerchantDescriptorInformation merchantDescriptorInformation=new CardProcessingConfigCommonMerchantDescriptorInformation();
+ CardProcessingConfigCommonMerchantDescriptorInformation merchantDescriptorInformation = new CardProcessingConfigCommonMerchantDescriptorInformation();
merchantDescriptorInformation.city("Cupertino");
merchantDescriptorInformation.country("USA");
merchantDescriptorInformation.name("Mer name");
@@ -99,13 +99,13 @@ public static InlineResponse2013 run() {
common.subMerchantId("123457");
common.subMerchantBusinessName("bus name");
- Map processors=new HashMap<>();
- CardProcessingConfigCommonProcessors obj2=new CardProcessingConfigCommonProcessors();
- CardProcessingConfigCommonAcquirer acquirer=new CardProcessingConfigCommonAcquirer();
+ Map processors = new HashMap<>();
+ CardProcessingConfigCommonProcessors obj2 = new CardProcessingConfigCommonProcessors();
+ CardProcessingConfigCommonAcquirer acquirer = new CardProcessingConfigCommonAcquirer();
obj2.acquirer(acquirer);
- Map currencies=new HashMap<>();
- CardProcessingConfigCommonCurrencies1 obj3=new CardProcessingConfigCommonCurrencies1();
+ Map currencies = new HashMap<>();
+ CardProcessingConfigCommonCurrencies1 obj3 = new CardProcessingConfigCommonCurrencies1();
obj3.enabled(true);
obj3.enabledCardPresent(false);
obj3.enabledCardPresent(true);
@@ -117,8 +117,8 @@ public static InlineResponse2013 run() {
obj2.currencies(currencies);
- Map paymentTypes=new HashMap<>();
- CardProcessingConfigCommonPaymentTypes obj4=new CardProcessingConfigCommonPaymentTypes();
+ Map paymentTypes = new HashMap<>();
+ CardProcessingConfigCommonPaymentTypes obj4 = new CardProcessingConfigCommonPaymentTypes();
obj4.enabled(true);
paymentTypes.put("AMERICAN_EXPRESS",obj4);
@@ -135,11 +135,11 @@ public static InlineResponse2013 run() {
common.processors(processors);
configurations.common(common);
- CardProcessingConfigFeatures features2=new CardProcessingConfigFeatures();
- CardProcessingConfigFeaturesCardNotPresent cardNotPresent=new CardProcessingConfigFeaturesCardNotPresent();
+ CardProcessingConfigFeatures features2 = new CardProcessingConfigFeatures();
+ CardProcessingConfigFeaturesCardNotPresent cardNotPresent = new CardProcessingConfigFeaturesCardNotPresent();
- Map processors3=new HashMap<>();
- CardProcessingConfigFeaturesCardNotPresentProcessors obj5=new CardProcessingConfigFeaturesCardNotPresentProcessors();
+ Map processors3 = new HashMap<>();
+ CardProcessingConfigFeaturesCardNotPresentProcessors obj5 = new CardProcessingConfigFeaturesCardNotPresentProcessors();
obj5.relaxAddressVerificationSystem(true);
obj5.relaxAddressVerificationSystemAllowExpiredCard(true);
obj5.relaxAddressVerificationSystemAllowZipWithoutCountry(false);
@@ -153,53 +153,53 @@ public static InlineResponse2013 run() {
cardProcessing.configurationInformation(configurationInformation);
payments.cardProcessing(cardProcessing);
- PaymentsProductsVirtualTerminal virtualTerminal=new PaymentsProductsVirtualTerminal();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation2=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+ PaymentsProductsVirtualTerminal virtualTerminal = new PaymentsProductsVirtualTerminal();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation2 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
//
// subscriptionInformation2.enabled(true);
// virtualTerminal.subscriptionInformation(subscriptionInformation2);
- PaymentsProductsVirtualTerminalConfigurationInformation configurationInformation3=new PaymentsProductsVirtualTerminalConfigurationInformation();
+ PaymentsProductsVirtualTerminalConfigurationInformation configurationInformation3 = new PaymentsProductsVirtualTerminalConfigurationInformation();
configurationInformation3.templateId("9FA1BB94-5119-48D3-B2E5-A81FD3C657B5");
virtualTerminal.configurationInformation(configurationInformation3);
payments.virtualTerminal(virtualTerminal);
- PaymentsProductsTax customerInvoicing=new PaymentsProductsTax();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation6=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+ PaymentsProductsTax customerInvoicing = new PaymentsProductsTax();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation6 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
//
// subscriptionInformation6.enabled(true);
// customerInvoicing.subscriptionInformation(subscriptionInformation6);
payments.customerInvoicing(customerInvoicing);
selectedProducts.payments(payments);
- RiskProducts risk=new RiskProducts();
+ RiskProducts risk = new RiskProducts();
selectedProducts.risk(risk);
- CommerceSolutionsProducts commerceSolutions=new CommerceSolutionsProducts();
- CommerceSolutionsProductsTokenManagement tokenManagement=new CommerceSolutionsProductsTokenManagement();
+ CommerceSolutionsProducts commerceSolutions = new CommerceSolutionsProducts();
+ CommerceSolutionsProductsTokenManagement tokenManagement = new CommerceSolutionsProductsTokenManagement();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation7=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation7 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
//
// subscriptionInformation7.enabled(true);
// tokenManagement.subscriptionInformation(subscriptionInformation7);
- CommerceSolutionsProductsTokenManagementConfigurationInformation configurationInformation4=new CommerceSolutionsProductsTokenManagementConfigurationInformation();
+ CommerceSolutionsProductsTokenManagementConfigurationInformation configurationInformation4 = new CommerceSolutionsProductsTokenManagementConfigurationInformation();
configurationInformation4.templateId("D62BEE20-DCFD-4AA2-8723-BA3725958ABA");
tokenManagement.configurationInformation(configurationInformation4);
commerceSolutions.tokenManagement(tokenManagement);
selectedProducts.commerceSolutions(commerceSolutions);
- ValueAddedServicesProducts valueAddedServices=new ValueAddedServicesProducts();
- PaymentsProductsTax transactionSearch=new PaymentsProductsTax();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation8=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+ ValueAddedServicesProducts valueAddedServices = new ValueAddedServicesProducts();
+ PaymentsProductsTax transactionSearch = new PaymentsProductsTax();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation8 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
//
// subscriptionInformation8.enabled(true);
// transactionSearch.subscriptionInformation(subscriptionInformation8);
valueAddedServices.transactionSearch(transactionSearch);
- PaymentsProductsTax reporting=new PaymentsProductsTax();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation9=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+ PaymentsProductsTax reporting = new PaymentsProductsTax();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation9 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
//
// subscriptionInformation9.enabled(true);
// reporting.subscriptionInformation(subscriptionInformation9);
@@ -209,7 +209,7 @@ public static InlineResponse2013 run() {
productInformation.selectedProducts(selectedProducts);
reqObj.productInformation(productInformation);
- InlineResponse2013 result=null;
+ InlineResponse2013 result = null;
try {
//Boarding API support only JWT Auth Type
diff --git a/src/main/java/samples/MerchantBoarding/MerchantBoardingBarclays.java b/src/main/java/samples/MerchantBoarding/MerchantBoardingBarclays.java
index a8f7d92..8be0c5a 100644
--- a/src/main/java/samples/MerchantBoarding/MerchantBoardingBarclays.java
+++ b/src/main/java/samples/MerchantBoarding/MerchantBoardingBarclays.java
@@ -31,16 +31,16 @@ public static void main(String args[]) throws Exception {
public static InlineResponse2013 run() {
- PostRegistrationBody reqObj=new PostRegistrationBody();
+ PostRegistrationBody reqObj = new PostRegistrationBody();
- Boardingv1registrationsOrganizationInformation organizationInformation=new Boardingv1registrationsOrganizationInformation();
+ Boardingv1registrationsOrganizationInformation organizationInformation = new Boardingv1registrationsOrganizationInformation();
organizationInformation.parentOrganizationId("apitester00");
organizationInformation.type("MERCHANT");
organizationInformation.configurable(true);
- Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation=new Boardingv1registrationsOrganizationInformationBusinessInformation();
+ Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation = new Boardingv1registrationsOrganizationInformationBusinessInformation();
businessInformation.name("StuartWickedFastEatz");
- Boardingv1registrationsOrganizationInformationBusinessInformationAddress address=new Boardingv1registrationsOrganizationInformationBusinessInformationAddress();
+ Boardingv1registrationsOrganizationInformationBusinessInformationAddress address = new Boardingv1registrationsOrganizationInformationBusinessInformationAddress();
address.country("US");
address.address1("123456 SandMarket");
address.locality("ORMOND BEACH");
@@ -50,7 +50,7 @@ public static InlineResponse2013 run() {
businessInformation.websiteUrl("https://www.StuartWickedEats.com");
businessInformation.phoneNumber("6574567813");
- Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact businessContact=new Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact();
+ Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact businessContact = new Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact();
businessContact.firstName("Stuart");
businessContact.lastName("Stuart");
businessContact.phoneNumber("6574567813");
@@ -62,17 +62,17 @@ public static InlineResponse2013 run() {
reqObj.organizationInformation(organizationInformation);
- Boardingv1registrationsProductInformation productInformation=new Boardingv1registrationsProductInformation();
- Boardingv1registrationsProductInformationSelectedProducts selectedProducts=new Boardingv1registrationsProductInformationSelectedProducts();
+ Boardingv1registrationsProductInformation productInformation = new Boardingv1registrationsProductInformation();
+ Boardingv1registrationsProductInformationSelectedProducts selectedProducts = new Boardingv1registrationsProductInformationSelectedProducts();
- PaymentsProducts payments=new PaymentsProducts();
- PaymentsProductsCardProcessing cardProcessing=new PaymentsProductsCardProcessing();
- PaymentsProductsCardProcessingSubscriptionInformation subscriptionInformation=new PaymentsProductsCardProcessingSubscriptionInformation();
+ PaymentsProducts payments = new PaymentsProducts();
+ PaymentsProductsCardProcessing cardProcessing = new PaymentsProductsCardProcessing();
+ PaymentsProductsCardProcessingSubscriptionInformation subscriptionInformation = new PaymentsProductsCardProcessingSubscriptionInformation();
subscriptionInformation.enabled(true);
- Map features=new HashMap<>();
+ Map features = new HashMap<>();
- PaymentsProductsCardProcessingSubscriptionInformationFeatures obj1=new PaymentsProductsCardProcessingSubscriptionInformationFeatures();
+ PaymentsProductsCardProcessingSubscriptionInformationFeatures obj1 = new PaymentsProductsCardProcessingSubscriptionInformationFeatures();
obj1.enabled(true);
features.put("cardNotPresent",obj1);
features.put("cardPresent",obj1);
@@ -80,28 +80,28 @@ public static InlineResponse2013 run() {
cardProcessing.subscriptionInformation(subscriptionInformation);
- PaymentsProductsCardProcessingConfigurationInformation configurationInformation=new PaymentsProductsCardProcessingConfigurationInformation();
+ PaymentsProductsCardProcessingConfigurationInformation configurationInformation = new PaymentsProductsCardProcessingConfigurationInformation();
- CardProcessingConfig configurations=new CardProcessingConfig();
+ CardProcessingConfig configurations = new CardProcessingConfig();
- CardProcessingConfigCommon common=new CardProcessingConfigCommon();
+ CardProcessingConfigCommon common = new CardProcessingConfigCommon();
common.merchantCategoryCode("5999");
organizationInformation.type("MERCHANT");
- Map processors=new HashMap<>();
- CardProcessingConfigCommonProcessors obj2=new CardProcessingConfigCommonProcessors();
- CardProcessingConfigCommonAcquirer acquirer=new CardProcessingConfigCommonAcquirer();
+ Map processors = new HashMap<>();
+ CardProcessingConfigCommonProcessors obj2 = new CardProcessingConfigCommonProcessors();
+ CardProcessingConfigCommonAcquirer acquirer = new CardProcessingConfigCommonAcquirer();
obj2.acquirer(acquirer);
- Map currencies=new HashMap<>();
- CardProcessingConfigCommonCurrencies1 obj3=new CardProcessingConfigCommonCurrencies1();
+ Map currencies = new HashMap<>();
+ CardProcessingConfigCommonCurrencies1 obj3 = new CardProcessingConfigCommonCurrencies1();
obj3.enabled(true);
obj3.enabledCardPresent(false);
obj3.enabledCardNotPresent(true);
obj3.merchantId("1234");
obj3.serviceEnablementNumber("");
- List terminalIds=new ArrayList<>();
+ List terminalIds = new ArrayList<>();
terminalIds.add("12351245");
obj3.terminalIds(terminalIds);
@@ -112,9 +112,9 @@ public static InlineResponse2013 run() {
obj2.currencies(currencies);
- Map paymentTypes=new HashMap<>();
+ Map paymentTypes = new HashMap<>();
- CardProcessingConfigCommonPaymentTypes obj4=new CardProcessingConfigCommonPaymentTypes();
+ CardProcessingConfigCommonPaymentTypes obj4 = new CardProcessingConfigCommonPaymentTypes();
obj4.enabled(true);
paymentTypes.put("MASTERCARD",obj4);
paymentTypes.put("VISA",obj4);
@@ -131,14 +131,14 @@ public static InlineResponse2013 run() {
common.processors(processors);
configurations.common(common);
- CardProcessingConfigFeatures features3=new CardProcessingConfigFeatures();
+ CardProcessingConfigFeatures features3 = new CardProcessingConfigFeatures();
- CardProcessingConfigFeaturesCardNotPresent cardNotPresent=new CardProcessingConfigFeaturesCardNotPresent();
+ CardProcessingConfigFeaturesCardNotPresent cardNotPresent = new CardProcessingConfigFeaturesCardNotPresent();
- Map processors4=new HashMap<>();
- CardProcessingConfigFeaturesCardNotPresentProcessors obj6=new CardProcessingConfigFeaturesCardNotPresentProcessors();
+ Map processors4 = new HashMap<>();
+ CardProcessingConfigFeaturesCardNotPresentProcessors obj6 = new CardProcessingConfigFeaturesCardNotPresentProcessors();
- CardProcessingConfigFeaturesCardNotPresentPayouts payouts=new CardProcessingConfigFeaturesCardNotPresentPayouts();
+ CardProcessingConfigFeaturesCardNotPresentPayouts payouts = new CardProcessingConfigFeaturesCardNotPresentPayouts();
payouts.merchantId("1233");
payouts.terminalId("1244");
@@ -156,21 +156,21 @@ public static InlineResponse2013 run() {
payments.cardProcessing(cardProcessing);
- PaymentsProductsVirtualTerminal virtualTerminal=new PaymentsProductsVirtualTerminal();
+ PaymentsProductsVirtualTerminal virtualTerminal = new PaymentsProductsVirtualTerminal();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation2=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation2 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
// subscriptionInformation2.enabled(true);
// virtualTerminal.subscriptionInformation(subscriptionInformation2);
- PaymentsProductsVirtualTerminalConfigurationInformation configurationInformation2=new PaymentsProductsVirtualTerminalConfigurationInformation();
+ PaymentsProductsVirtualTerminalConfigurationInformation configurationInformation2 = new PaymentsProductsVirtualTerminalConfigurationInformation();
configurationInformation2.templateId("E4EDB280-9DAC-4698-9EB9-9434D40FF60C");
virtualTerminal.configurationInformation(configurationInformation2);
payments.virtualTerminal(virtualTerminal);
- PaymentsProductsTax customerInvoicing=new PaymentsProductsTax();
+ PaymentsProductsTax customerInvoicing = new PaymentsProductsTax();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation3=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation3 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
//
// subscriptionInformation3.enabled(true);
// customerInvoicing.subscriptionInformation(subscriptionInformation3);
@@ -179,37 +179,37 @@ public static InlineResponse2013 run() {
selectedProducts.payments(payments);
- RiskProducts risk2=new RiskProducts();
+ RiskProducts risk2 = new RiskProducts();
selectedProducts.risk(risk2);
- CommerceSolutionsProducts commerceSolutions=new CommerceSolutionsProducts();
- CommerceSolutionsProductsTokenManagement tokenManagement=new CommerceSolutionsProductsTokenManagement();
+ CommerceSolutionsProducts commerceSolutions = new CommerceSolutionsProducts();
+ CommerceSolutionsProductsTokenManagement tokenManagement = new CommerceSolutionsProductsTokenManagement();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation5=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation5 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
//
// subscriptionInformation5.enabled(true);
// tokenManagement.subscriptionInformation(subscriptionInformation5);
- CommerceSolutionsProductsTokenManagementConfigurationInformation configurationInformation5=new CommerceSolutionsProductsTokenManagementConfigurationInformation();
+ CommerceSolutionsProductsTokenManagementConfigurationInformation configurationInformation5 = new CommerceSolutionsProductsTokenManagementConfigurationInformation();
configurationInformation5.templateId("D62BEE20-DCFD-4AA2-8723-BA3725958ABA");
tokenManagement.configurationInformation(configurationInformation5);
commerceSolutions.tokenManagement(tokenManagement);
selectedProducts.commerceSolutions(commerceSolutions);
- ValueAddedServicesProducts valueAddedServices=new ValueAddedServicesProducts();
+ ValueAddedServicesProducts valueAddedServices = new ValueAddedServicesProducts();
- PaymentsProductsTax transactionSearch=new PaymentsProductsTax();
+ PaymentsProductsTax transactionSearch = new PaymentsProductsTax();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation6=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation6 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
//
// subscriptionInformation6.enabled(true);
// transactionSearch.subscriptionInformation(subscriptionInformation6);
// valueAddedServices.transactionSearch(transactionSearch);
- PaymentsProductsTax reporting=new PaymentsProductsTax();
+ PaymentsProductsTax reporting = new PaymentsProductsTax();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation7=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation7 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
// subscriptionInformation7.enabled(true);
// reporting.subscriptionInformation(subscriptionInformation7);
valueAddedServices.reporting(reporting);
@@ -218,7 +218,7 @@ public static InlineResponse2013 run() {
reqObj.productInformation(productInformation);
- InlineResponse2013 result=null;
+ InlineResponse2013 result = null;
try {
//Boarding API support only JWT Auth Type
diff --git a/src/main/java/samples/MerchantBoarding/MerchantBoardingBinLookup.java b/src/main/java/samples/MerchantBoarding/MerchantBoardingBinLookup.java
index 4108b9d..2ab74c0 100644
--- a/src/main/java/samples/MerchantBoarding/MerchantBoardingBinLookup.java
+++ b/src/main/java/samples/MerchantBoarding/MerchantBoardingBinLookup.java
@@ -33,16 +33,16 @@ public static void main(String args[]) throws Exception {
public static InlineResponse2013 run() {
- PostRegistrationBody reqObj=new PostRegistrationBody();
+ PostRegistrationBody reqObj = new PostRegistrationBody();
- Boardingv1registrationsOrganizationInformation organizationInformation=new Boardingv1registrationsOrganizationInformation();
+ Boardingv1registrationsOrganizationInformation organizationInformation = new Boardingv1registrationsOrganizationInformation();
organizationInformation.parentOrganizationId("apitester00");
organizationInformation.type("MERCHANT");
organizationInformation.configurable(true);
- Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation=new Boardingv1registrationsOrganizationInformationBusinessInformation();
+ Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation = new Boardingv1registrationsOrganizationInformationBusinessInformation();
businessInformation.name("StuartWickedFastEatz");
- Boardingv1registrationsOrganizationInformationBusinessInformationAddress address=new Boardingv1registrationsOrganizationInformationBusinessInformationAddress();
+ Boardingv1registrationsOrganizationInformationBusinessInformationAddress address = new Boardingv1registrationsOrganizationInformationBusinessInformationAddress();
address.country("US");
address.address1("123456 SandMarket");
address.locality("ORMOND BEACH");
@@ -52,7 +52,7 @@ public static InlineResponse2013 run() {
businessInformation.websiteUrl("https://www.StuartWickedEats.com");
businessInformation.phoneNumber("6574567813");
- Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact businessContact=new Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact();
+ Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact businessContact = new Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact();
businessContact.firstName("Stuart");
businessContact.lastName("Stuart");
businessContact.phoneNumber("6574567813");
@@ -64,24 +64,24 @@ public static InlineResponse2013 run() {
reqObj.organizationInformation(organizationInformation);
- Boardingv1registrationsProductInformation productInformation=new Boardingv1registrationsProductInformation();
- Boardingv1registrationsProductInformationSelectedProducts selectedProducts=new Boardingv1registrationsProductInformationSelectedProducts();
+ Boardingv1registrationsProductInformation productInformation = new Boardingv1registrationsProductInformation();
+ Boardingv1registrationsProductInformationSelectedProducts selectedProducts = new Boardingv1registrationsProductInformationSelectedProducts();
- PaymentsProducts payments=new PaymentsProducts();
+ PaymentsProducts payments = new PaymentsProducts();
selectedProducts.payments(payments);
- RiskProducts risk=new RiskProducts();
+ RiskProducts risk = new RiskProducts();
selectedProducts.risk(risk);
- CommerceSolutionsProducts commerceSolutions=new CommerceSolutionsProducts();
- CommerceSolutionsProductsBinLookup binLookup=new CommerceSolutionsProductsBinLookup();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+ CommerceSolutionsProducts commerceSolutions = new CommerceSolutionsProducts();
+ CommerceSolutionsProductsBinLookup binLookup = new CommerceSolutionsProductsBinLookup();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
// subscriptionInformation.enabled(true);
// binLookup.subscriptionInformation(subscriptionInformation);
- CommerceSolutionsProductsBinLookupConfigurationInformation configurationInformation=new CommerceSolutionsProductsBinLookupConfigurationInformation();
+ CommerceSolutionsProductsBinLookupConfigurationInformation configurationInformation = new CommerceSolutionsProductsBinLookupConfigurationInformation();
- CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations configurations=new CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations();
+ CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations configurations = new CommerceSolutionsProductsBinLookupConfigurationInformationConfigurations();
configurations.isPayoutOptionsEnabled(false);
configurations.isAccountPrefixEnabled(true);
@@ -92,14 +92,14 @@ public static InlineResponse2013 run() {
commerceSolutions.binLookup(binLookup);
selectedProducts.commerceSolutions(commerceSolutions);
- ValueAddedServicesProducts valueAddedServices=new ValueAddedServicesProducts();
+ ValueAddedServicesProducts valueAddedServices = new ValueAddedServicesProducts();
selectedProducts.valueAddedServices(valueAddedServices);
productInformation.selectedProducts(selectedProducts);
reqObj.productInformation(productInformation);
- InlineResponse2013 result=null;
+ InlineResponse2013 result = null;
try {
//Boarding API support only JWT Auth Type
diff --git a/src/main/java/samples/MerchantBoarding/MerchantBoardingCUP.java b/src/main/java/samples/MerchantBoarding/MerchantBoardingCUP.java
index efae87c..7f019a8 100644
--- a/src/main/java/samples/MerchantBoarding/MerchantBoardingCUP.java
+++ b/src/main/java/samples/MerchantBoarding/MerchantBoardingCUP.java
@@ -30,16 +30,16 @@ public static void main(String args[]) throws Exception {
public static InlineResponse2013 run() {
- PostRegistrationBody reqObj=new PostRegistrationBody();
+ PostRegistrationBody reqObj = new PostRegistrationBody();
- Boardingv1registrationsOrganizationInformation organizationInformation=new Boardingv1registrationsOrganizationInformation();
+ Boardingv1registrationsOrganizationInformation organizationInformation = new Boardingv1registrationsOrganizationInformation();
organizationInformation.parentOrganizationId("apitester00");
organizationInformation.type("MERCHANT");
organizationInformation.configurable(true);
- Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation=new Boardingv1registrationsOrganizationInformationBusinessInformation();
+ Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation = new Boardingv1registrationsOrganizationInformationBusinessInformation();
businessInformation.name("StuartWickedFastEatz");
- Boardingv1registrationsOrganizationInformationBusinessInformationAddress address=new Boardingv1registrationsOrganizationInformationBusinessInformationAddress();
+ Boardingv1registrationsOrganizationInformationBusinessInformationAddress address = new Boardingv1registrationsOrganizationInformationBusinessInformationAddress();
address.country("US");
address.address1("123456 SandMarket");
address.locality("ORMOND BEACH");
@@ -49,7 +49,7 @@ public static InlineResponse2013 run() {
businessInformation.websiteUrl("https://www.StuartWickedEats.com");
businessInformation.phoneNumber("6574567813");
- Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact businessContact=new Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact();
+ Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact businessContact = new Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact();
businessContact.firstName("Stuart");
businessContact.lastName("Stuart");
businessContact.phoneNumber("6574567813");
@@ -61,18 +61,18 @@ public static InlineResponse2013 run() {
reqObj.organizationInformation(organizationInformation);
- Boardingv1registrationsProductInformation productInformation=new Boardingv1registrationsProductInformation();
+ Boardingv1registrationsProductInformation productInformation = new Boardingv1registrationsProductInformation();
- Boardingv1registrationsProductInformationSelectedProducts selectedProducts=new Boardingv1registrationsProductInformationSelectedProducts();
+ Boardingv1registrationsProductInformationSelectedProducts selectedProducts = new Boardingv1registrationsProductInformationSelectedProducts();
- PaymentsProducts payments=new PaymentsProducts();
- PaymentsProductsCardProcessing cardProcessing=new PaymentsProductsCardProcessing();
- PaymentsProductsCardProcessingSubscriptionInformation subscriptionInformation=new PaymentsProductsCardProcessingSubscriptionInformation();
+ PaymentsProducts payments = new PaymentsProducts();
+ PaymentsProductsCardProcessing cardProcessing = new PaymentsProductsCardProcessing();
+ PaymentsProductsCardProcessingSubscriptionInformation subscriptionInformation = new PaymentsProductsCardProcessingSubscriptionInformation();
subscriptionInformation.enabled(true);
- Map features=new HashMap<>();
+ Map features = new HashMap<>();
- PaymentsProductsCardProcessingSubscriptionInformationFeatures obj1=new PaymentsProductsCardProcessingSubscriptionInformationFeatures();
+ PaymentsProductsCardProcessingSubscriptionInformationFeatures obj1 = new PaymentsProductsCardProcessingSubscriptionInformationFeatures();
obj1.enabled(true);
features.put("cardNotPresent",obj1);
features.put("cardPresent",obj1);
@@ -81,23 +81,23 @@ public static InlineResponse2013 run() {
cardProcessing.subscriptionInformation(subscriptionInformation);
- PaymentsProductsCardProcessingConfigurationInformation configurationInformation=new PaymentsProductsCardProcessingConfigurationInformation();
+ PaymentsProductsCardProcessingConfigurationInformation configurationInformation = new PaymentsProductsCardProcessingConfigurationInformation();
- CardProcessingConfig configurations=new CardProcessingConfig();
- CardProcessingConfigCommon common=new CardProcessingConfigCommon();
+ CardProcessingConfig configurations = new CardProcessingConfig();
+ CardProcessingConfigCommon common = new CardProcessingConfigCommon();
common.merchantCategoryCode("1799");
- Map processors=new HashMap<>();
+ Map processors = new HashMap<>();
- CardProcessingConfigCommonProcessors obj2=new CardProcessingConfigCommonProcessors();
- CardProcessingConfigCommonAcquirer acquirer=new CardProcessingConfigCommonAcquirer();
+ CardProcessingConfigCommonProcessors obj2 = new CardProcessingConfigCommonProcessors();
+ CardProcessingConfigCommonAcquirer acquirer = new CardProcessingConfigCommonAcquirer();
acquirer.countryCode("344_hongkong");
acquirer.institutionId("22344");
obj2.acquirer(acquirer);
- Map currencies=new HashMap<>();
+ Map currencies = new HashMap<>();
- CardProcessingConfigCommonCurrencies1 obj3=new CardProcessingConfigCommonCurrencies1();
+ CardProcessingConfigCommonCurrencies1 obj3 = new CardProcessingConfigCommonCurrencies1();
obj3.enabled(true);
obj3.enabledCardPresent(false);
obj3.enabledCardNotPresent(true);
@@ -110,9 +110,9 @@ public static InlineResponse2013 run() {
obj2.currencies(currencies);
- Map paymentTypes=new HashMap<>();
+ Map paymentTypes = new HashMap<>();
- CardProcessingConfigCommonPaymentTypes obj4=new CardProcessingConfigCommonPaymentTypes();
+ CardProcessingConfigCommonPaymentTypes obj4 = new CardProcessingConfigCommonPaymentTypes();
obj4.enabled(true);
paymentTypes.put("CUP",obj4);
obj2.paymentTypes(paymentTypes);
@@ -126,39 +126,39 @@ public static InlineResponse2013 run() {
cardProcessing.configurationInformation(configurationInformation);
payments.cardProcessing(cardProcessing);
- PaymentsProductsVirtualTerminal virtualTerminal=new PaymentsProductsVirtualTerminal();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation2=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+ PaymentsProductsVirtualTerminal virtualTerminal = new PaymentsProductsVirtualTerminal();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation2 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
//
// subscriptionInformation2.enabled(true);
// virtualTerminal.subscriptionInformation(subscriptionInformation2);
- PaymentsProductsVirtualTerminalConfigurationInformation configurationInformation2=new PaymentsProductsVirtualTerminalConfigurationInformation();
+ PaymentsProductsVirtualTerminalConfigurationInformation configurationInformation2 = new PaymentsProductsVirtualTerminalConfigurationInformation();
configurationInformation2.templateId("9FA1BB94-5119-48D3-B2E5-A81FD3C657B5");
virtualTerminal.configurationInformation(configurationInformation2);
payments.virtualTerminal(virtualTerminal);
- PaymentsProductsTax customerInvoicing=new PaymentsProductsTax();
+ PaymentsProductsTax customerInvoicing = new PaymentsProductsTax();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation3=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation3 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
//
// subscriptionInformation3.enabled(true);
// customerInvoicing.subscriptionInformation(subscriptionInformation3);
payments.customerInvoicing(customerInvoicing);
selectedProducts.payments(payments);
- RiskProducts risk=new RiskProducts();
+ RiskProducts risk = new RiskProducts();
selectedProducts.risk(risk);
- CommerceSolutionsProducts commerceSolutions=new CommerceSolutionsProducts();
+ CommerceSolutionsProducts commerceSolutions = new CommerceSolutionsProducts();
- CommerceSolutionsProductsTokenManagement tokenManagement=new CommerceSolutionsProductsTokenManagement();
+ CommerceSolutionsProductsTokenManagement tokenManagement = new CommerceSolutionsProductsTokenManagement();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation4=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation4 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
// subscriptionInformation4.enabled(true);
// tokenManagement.subscriptionInformation(subscriptionInformation4);
- CommerceSolutionsProductsTokenManagementConfigurationInformation configurationInformation3=new CommerceSolutionsProductsTokenManagementConfigurationInformation();
+ CommerceSolutionsProductsTokenManagementConfigurationInformation configurationInformation3 = new CommerceSolutionsProductsTokenManagementConfigurationInformation();
configurationInformation3.templateId("9FA1BB94-5119-48D3-B2E5-A81FD3C657B5");
tokenManagement.configurationInformation(configurationInformation3);
@@ -166,15 +166,15 @@ public static InlineResponse2013 run() {
selectedProducts.commerceSolutions(commerceSolutions);
- ValueAddedServicesProducts valueAddedServices=new ValueAddedServicesProducts();
+ ValueAddedServicesProducts valueAddedServices = new ValueAddedServicesProducts();
- PaymentsProductsTax transactionSearch=new PaymentsProductsTax();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation5=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+ PaymentsProductsTax transactionSearch = new PaymentsProductsTax();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation5 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
// subscriptionInformation5.enabled(true);
// transactionSearch.subscriptionInformation(subscriptionInformation5);
valueAddedServices.transactionSearch(transactionSearch);
- PaymentsProductsTax reporting=new PaymentsProductsTax();
+ PaymentsProductsTax reporting = new PaymentsProductsTax();
// reporting.subscriptionInformation(subscriptionInformation5);
valueAddedServices.reporting(reporting);
selectedProducts.valueAddedServices(valueAddedServices);
@@ -182,7 +182,7 @@ public static InlineResponse2013 run() {
reqObj.productInformation(productInformation);
- InlineResponse2013 result=null;
+ InlineResponse2013 result = null;
try {
//Boarding API support only JWT Auth Type
diff --git a/src/main/java/samples/MerchantBoarding/MerchantBoardingEFTPOS.java b/src/main/java/samples/MerchantBoarding/MerchantBoardingEFTPOS.java
index 5525e74..d4a4297 100644
--- a/src/main/java/samples/MerchantBoarding/MerchantBoardingEFTPOS.java
+++ b/src/main/java/samples/MerchantBoarding/MerchantBoardingEFTPOS.java
@@ -33,16 +33,16 @@ public static void main(String args[]) throws Exception {
public static InlineResponse2013 run() {
- PostRegistrationBody reqObj=new PostRegistrationBody();
+ PostRegistrationBody reqObj = new PostRegistrationBody();
- Boardingv1registrationsOrganizationInformation organizationInformation=new Boardingv1registrationsOrganizationInformation();
+ Boardingv1registrationsOrganizationInformation organizationInformation = new Boardingv1registrationsOrganizationInformation();
organizationInformation.parentOrganizationId("apitester00");
organizationInformation.type("MERCHANT");
organizationInformation.configurable(true);
- Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation=new Boardingv1registrationsOrganizationInformationBusinessInformation();
+ Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation = new Boardingv1registrationsOrganizationInformationBusinessInformation();
businessInformation.name("StuartWickedFastEatz");
- Boardingv1registrationsOrganizationInformationBusinessInformationAddress address=new Boardingv1registrationsOrganizationInformationBusinessInformationAddress();
+ Boardingv1registrationsOrganizationInformationBusinessInformationAddress address = new Boardingv1registrationsOrganizationInformationBusinessInformationAddress();
address.country("US");
address.address1("123456 SandMarket");
address.locality("ORMOND BEACH");
@@ -52,7 +52,7 @@ public static InlineResponse2013 run() {
businessInformation.websiteUrl("https://www.StuartWickedEats.com");
businessInformation.phoneNumber("6574567813");
- Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact businessContact=new Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact();
+ Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact businessContact = new Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact();
businessContact.firstName("Stuart");
businessContact.lastName("Stuart");
businessContact.phoneNumber("6574567813");
@@ -63,17 +63,17 @@ public static InlineResponse2013 run() {
reqObj.organizationInformation(organizationInformation);
- Boardingv1registrationsProductInformation productInformation=new Boardingv1registrationsProductInformation();
- Boardingv1registrationsProductInformationSelectedProducts selectedProducts=new Boardingv1registrationsProductInformationSelectedProducts();
+ Boardingv1registrationsProductInformation productInformation = new Boardingv1registrationsProductInformation();
+ Boardingv1registrationsProductInformationSelectedProducts selectedProducts = new Boardingv1registrationsProductInformationSelectedProducts();
- PaymentsProducts payments=new PaymentsProducts();
- PaymentsProductsCardProcessing cardProcessing=new PaymentsProductsCardProcessing();
- PaymentsProductsCardProcessingSubscriptionInformation subscriptionInformation=new PaymentsProductsCardProcessingSubscriptionInformation();
+ PaymentsProducts payments = new PaymentsProducts();
+ PaymentsProductsCardProcessing cardProcessing = new PaymentsProductsCardProcessing();
+ PaymentsProductsCardProcessingSubscriptionInformation subscriptionInformation = new PaymentsProductsCardProcessingSubscriptionInformation();
subscriptionInformation.enabled(true);
- Map features=new HashMap<>();
+ Map features = new HashMap<>();
- PaymentsProductsCardProcessingSubscriptionInformationFeatures obj1=new PaymentsProductsCardProcessingSubscriptionInformationFeatures();
+ PaymentsProductsCardProcessingSubscriptionInformationFeatures obj1 = new PaymentsProductsCardProcessingSubscriptionInformationFeatures();
obj1.enabled(true);
features.put("cardNotPresent",obj1);
obj1.enabled(false);
@@ -81,34 +81,34 @@ public static InlineResponse2013 run() {
subscriptionInformation.features(features);
cardProcessing.subscriptionInformation(subscriptionInformation);
- PaymentsProductsCardProcessingConfigurationInformation configurationInformation=new PaymentsProductsCardProcessingConfigurationInformation();
+ PaymentsProductsCardProcessingConfigurationInformation configurationInformation = new PaymentsProductsCardProcessingConfigurationInformation();
- CardProcessingConfig configurations=new CardProcessingConfig();
- CardProcessingConfigCommon common=new CardProcessingConfigCommon();
+ CardProcessingConfig configurations = new CardProcessingConfig();
+ CardProcessingConfigCommon common = new CardProcessingConfigCommon();
common.merchantCategoryCode("5999");
common.preferCobadgedSecondaryBrand(true);
- Map processors=new HashMap<>();
- CardProcessingConfigCommonProcessors obj5=new CardProcessingConfigCommonProcessors();
- CardProcessingConfigCommonAcquirer acquirer=new CardProcessingConfigCommonAcquirer();
+ Map processors = new HashMap<>();
+ CardProcessingConfigCommonProcessors obj5 = new CardProcessingConfigCommonProcessors();
+ CardProcessingConfigCommonAcquirer acquirer = new CardProcessingConfigCommonAcquirer();
acquirer.countryCode("344_hongkong");
acquirer.institutionId("22344");
obj5.acquirer(acquirer);
- Map currencies=new HashMap<>();
+ Map currencies = new HashMap<>();
- CardProcessingConfigCommonCurrencies1 obj6=new CardProcessingConfigCommonCurrencies1();
+ CardProcessingConfigCommonCurrencies1 obj6 = new CardProcessingConfigCommonCurrencies1();
obj6.enabled(true);
obj6.merchantId("12345612344");
obj6.terminalId("12121212");
currencies.put("AUD",obj6);
obj5.currencies(currencies);
- Map paymentTypes=new HashMap<>();
- CardProcessingConfigCommonPaymentTypes obj7=new CardProcessingConfigCommonPaymentTypes();
+ Map paymentTypes = new HashMap<>();
+ CardProcessingConfigCommonPaymentTypes obj7 = new CardProcessingConfigCommonPaymentTypes();
obj7.enabled(true);
paymentTypes.put("EFTPOS",obj7);
@@ -123,7 +123,7 @@ public static InlineResponse2013 run() {
common.processors(processors);
configurations.common(common);
- CardProcessingConfigFeatures features2=new CardProcessingConfigFeatures();
+ CardProcessingConfigFeatures features2 = new CardProcessingConfigFeatures();
configurations.features(features2);
configurationInformation.configurations(configurations);
@@ -137,7 +137,7 @@ public static InlineResponse2013 run() {
reqObj.productInformation(productInformation);
- InlineResponse2013 result=null;
+ InlineResponse2013 result = null;
try {
//Boarding API support only JWT Auth Type
diff --git a/src/main/java/samples/MerchantBoarding/MerchantBoardingFDIGlobal.java b/src/main/java/samples/MerchantBoarding/MerchantBoardingFDIGlobal.java
index 7b47199..6ca29a9 100644
--- a/src/main/java/samples/MerchantBoarding/MerchantBoardingFDIGlobal.java
+++ b/src/main/java/samples/MerchantBoarding/MerchantBoardingFDIGlobal.java
@@ -33,16 +33,16 @@ public static void main(String args[]) throws Exception {
public static InlineResponse2013 run() {
- PostRegistrationBody reqObj=new PostRegistrationBody();
+ PostRegistrationBody reqObj = new PostRegistrationBody();
- Boardingv1registrationsOrganizationInformation organizationInformation=new Boardingv1registrationsOrganizationInformation();
+ Boardingv1registrationsOrganizationInformation organizationInformation = new Boardingv1registrationsOrganizationInformation();
organizationInformation.parentOrganizationId("apitester00");
organizationInformation.type("MERCHANT");
organizationInformation.configurable(true);
- Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation=new Boardingv1registrationsOrganizationInformationBusinessInformation();
+ Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation = new Boardingv1registrationsOrganizationInformationBusinessInformation();
businessInformation.name("StuartWickedFastEatz");
- Boardingv1registrationsOrganizationInformationBusinessInformationAddress address=new Boardingv1registrationsOrganizationInformationBusinessInformationAddress();
+ Boardingv1registrationsOrganizationInformationBusinessInformationAddress address = new Boardingv1registrationsOrganizationInformationBusinessInformationAddress();
address.country("US");
address.address1("123456 SandMarket");
address.locality("ORMOND BEACH");
@@ -52,7 +52,7 @@ public static InlineResponse2013 run() {
businessInformation.websiteUrl("https://www.StuartWickedEats.com");
businessInformation.phoneNumber("6574567813");
- Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact businessContact=new Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact();
+ Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact businessContact = new Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact();
businessContact.firstName("Stuart");
businessContact.lastName("Stuart");
businessContact.phoneNumber("6574567813");
@@ -63,43 +63,43 @@ public static InlineResponse2013 run() {
reqObj.organizationInformation(organizationInformation);
- Boardingv1registrationsProductInformation productInformation=new Boardingv1registrationsProductInformation();
- Boardingv1registrationsProductInformationSelectedProducts selectedProducts=new Boardingv1registrationsProductInformationSelectedProducts();
+ Boardingv1registrationsProductInformation productInformation = new Boardingv1registrationsProductInformation();
+ Boardingv1registrationsProductInformationSelectedProducts selectedProducts = new Boardingv1registrationsProductInformationSelectedProducts();
- PaymentsProducts payments=new PaymentsProducts();
- PaymentsProductsCardProcessing cardProcessing=new PaymentsProductsCardProcessing();
- PaymentsProductsCardProcessingSubscriptionInformation subscriptionInformation=new PaymentsProductsCardProcessingSubscriptionInformation();
+ PaymentsProducts payments = new PaymentsProducts();
+ PaymentsProductsCardProcessing cardProcessing = new PaymentsProductsCardProcessing();
+ PaymentsProductsCardProcessingSubscriptionInformation subscriptionInformation = new PaymentsProductsCardProcessingSubscriptionInformation();
subscriptionInformation.enabled(true);
- Map features=new HashMap<>();
+ Map features = new HashMap<>();
- PaymentsProductsCardProcessingSubscriptionInformationFeatures obj1=new PaymentsProductsCardProcessingSubscriptionInformationFeatures();
+ PaymentsProductsCardProcessingSubscriptionInformationFeatures obj1 = new PaymentsProductsCardProcessingSubscriptionInformationFeatures();
obj1.enabled(true);
features.put("cardNotPresent",obj1);
features.put("cardPresent",obj1);
subscriptionInformation.features(features);
cardProcessing.subscriptionInformation(subscriptionInformation);
- PaymentsProductsCardProcessingConfigurationInformation configurationInformation=new PaymentsProductsCardProcessingConfigurationInformation();
+ PaymentsProductsCardProcessingConfigurationInformation configurationInformation = new PaymentsProductsCardProcessingConfigurationInformation();
- CardProcessingConfig configurations=new CardProcessingConfig();
- CardProcessingConfigCommon common=new CardProcessingConfigCommon();
+ CardProcessingConfig configurations = new CardProcessingConfig();
+ CardProcessingConfigCommon common = new CardProcessingConfigCommon();
common.merchantCategoryCode("0742");
common.defaultAuthTypeCode("PRE");
common.processLevel3Data("ignored");
common.masterCardAssignedId("123456789");
common.enablePartialAuth(true);
- Map processors=new HashMap<>();
- CardProcessingConfigCommonProcessors obj5=new CardProcessingConfigCommonProcessors();
- CardProcessingConfigCommonAcquirer acquirer=new CardProcessingConfigCommonAcquirer();
+ Map processors = new HashMap<>();
+ CardProcessingConfigCommonProcessors obj5 = new CardProcessingConfigCommonProcessors();
+ CardProcessingConfigCommonAcquirer acquirer = new CardProcessingConfigCommonAcquirer();
obj5.acquirer(acquirer);
- Map currencies=new HashMap<>();
+ Map currencies = new HashMap<>();
- CardProcessingConfigCommonCurrencies1 obj6=new CardProcessingConfigCommonCurrencies1();
+ CardProcessingConfigCommonCurrencies1 obj6 = new CardProcessingConfigCommonCurrencies1();
obj6.enabled(true);
obj6.enabledCardPresent(false);
obj6.enabledCardNotPresent(true);
@@ -113,8 +113,8 @@ public static InlineResponse2013 run() {
obj5.currencies(currencies);
- Map paymentTypes=new HashMap<>();
- CardProcessingConfigCommonPaymentTypes obj7=new CardProcessingConfigCommonPaymentTypes();
+ Map paymentTypes = new HashMap<>();
+ CardProcessingConfigCommonPaymentTypes obj7 = new CardProcessingConfigCommonPaymentTypes();
obj7.enabled(true);
paymentTypes.put("MASTERCARD",obj7);
paymentTypes.put("DISCOVER",obj7);
@@ -123,8 +123,8 @@ public static InlineResponse2013 run() {
paymentTypes.put("AMERICAN_EXPRESS",obj7);
paymentTypes.put("DINERS_CLUB",obj7);
paymentTypes.put("CUP",obj7);
- Map currencies2=new HashMap<>();
- CardProcessingConfigCommonCurrencies ob1=new CardProcessingConfigCommonCurrencies();
+ Map currencies2 = new HashMap<>();
+ CardProcessingConfigCommonCurrencies ob1 = new CardProcessingConfigCommonCurrencies();
ob1.enabled(true);
ob1.terminalId("pint123");
ob1.merchantId("pinm123");
@@ -145,12 +145,12 @@ public static InlineResponse2013 run() {
common.processors(processors);
configurations.common(common);
- CardProcessingConfigFeatures features2=new CardProcessingConfigFeatures();
+ CardProcessingConfigFeatures features2 = new CardProcessingConfigFeatures();
- CardProcessingConfigFeaturesCardNotPresent cardNotPresent=new CardProcessingConfigFeaturesCardNotPresent();
+ CardProcessingConfigFeaturesCardNotPresent cardNotPresent = new CardProcessingConfigFeaturesCardNotPresent();
- Map processors3=new HashMap<>();
- CardProcessingConfigFeaturesCardNotPresentProcessors obj9=new CardProcessingConfigFeaturesCardNotPresentProcessors();
+ Map processors3 = new HashMap<>();
+ CardProcessingConfigFeaturesCardNotPresentProcessors obj9 = new CardProcessingConfigFeaturesCardNotPresentProcessors();
obj9.relaxAddressVerificationSystem(true);
obj9.relaxAddressVerificationSystemAllowExpiredCard(true);
@@ -176,7 +176,7 @@ public static InlineResponse2013 run() {
reqObj.productInformation(productInformation);
- InlineResponse2013 result=null;
+ InlineResponse2013 result = null;
try {
//Boarding API support only JWT Auth Type
diff --git a/src/main/java/samples/MerchantBoarding/MerchantBoardingGPX.java b/src/main/java/samples/MerchantBoarding/MerchantBoardingGPX.java
index 2f421f8..ece706b 100644
--- a/src/main/java/samples/MerchantBoarding/MerchantBoardingGPX.java
+++ b/src/main/java/samples/MerchantBoarding/MerchantBoardingGPX.java
@@ -33,16 +33,16 @@ public static void main(String args[]) throws Exception {
public static InlineResponse2013 run() {
- PostRegistrationBody reqObj=new PostRegistrationBody();
+ PostRegistrationBody reqObj = new PostRegistrationBody();
- Boardingv1registrationsOrganizationInformation organizationInformation=new Boardingv1registrationsOrganizationInformation();
+ Boardingv1registrationsOrganizationInformation organizationInformation = new Boardingv1registrationsOrganizationInformation();
organizationInformation.parentOrganizationId("apitester00");
organizationInformation.type("MERCHANT");
organizationInformation.configurable(true);
- Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation=new Boardingv1registrationsOrganizationInformationBusinessInformation();
+ Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation = new Boardingv1registrationsOrganizationInformationBusinessInformation();
businessInformation.name("StuartWickedFastEatz");
- Boardingv1registrationsOrganizationInformationBusinessInformationAddress address=new Boardingv1registrationsOrganizationInformationBusinessInformationAddress();
+ Boardingv1registrationsOrganizationInformationBusinessInformationAddress address = new Boardingv1registrationsOrganizationInformationBusinessInformationAddress();
address.country("US");
address.address1("123456 SandMarket");
address.locality("ORMOND BEACH");
@@ -52,7 +52,7 @@ public static InlineResponse2013 run() {
businessInformation.websiteUrl("https://www.StuartWickedEats.com");
businessInformation.phoneNumber("6574567813");
- Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact businessContact=new Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact();
+ Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact businessContact = new Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact();
businessContact.firstName("Stuart");
businessContact.lastName("Stuart");
businessContact.phoneNumber("6574567813");
@@ -64,17 +64,17 @@ public static InlineResponse2013 run() {
reqObj.organizationInformation(organizationInformation);
- Boardingv1registrationsProductInformation productInformation=new Boardingv1registrationsProductInformation();
- Boardingv1registrationsProductInformationSelectedProducts selectedProducts=new Boardingv1registrationsProductInformationSelectedProducts();
+ Boardingv1registrationsProductInformation productInformation = new Boardingv1registrationsProductInformation();
+ Boardingv1registrationsProductInformationSelectedProducts selectedProducts = new Boardingv1registrationsProductInformationSelectedProducts();
- PaymentsProducts payments=new PaymentsProducts();
- PaymentsProductsCardProcessing cardProcessing=new PaymentsProductsCardProcessing();
- PaymentsProductsCardProcessingSubscriptionInformation subscriptionInformation=new PaymentsProductsCardProcessingSubscriptionInformation();
+ PaymentsProducts payments = new PaymentsProducts();
+ PaymentsProductsCardProcessing cardProcessing = new PaymentsProductsCardProcessing();
+ PaymentsProductsCardProcessingSubscriptionInformation subscriptionInformation = new PaymentsProductsCardProcessingSubscriptionInformation();
subscriptionInformation.enabled(true);
- Map features=new HashMap<>();
+ Map features = new HashMap<>();
- PaymentsProductsCardProcessingSubscriptionInformationFeatures obj1=new PaymentsProductsCardProcessingSubscriptionInformationFeatures();
+ PaymentsProductsCardProcessingSubscriptionInformationFeatures obj1 = new PaymentsProductsCardProcessingSubscriptionInformationFeatures();
obj1.enabled(true);
features.put("cardNotPresent",obj1);
features.put("cardPresent",obj1);
@@ -82,10 +82,10 @@ public static InlineResponse2013 run() {
cardProcessing.subscriptionInformation(subscriptionInformation);
- PaymentsProductsCardProcessingConfigurationInformation configurationInformation=new PaymentsProductsCardProcessingConfigurationInformation();
+ PaymentsProductsCardProcessingConfigurationInformation configurationInformation = new PaymentsProductsCardProcessingConfigurationInformation();
- CardProcessingConfig configurations=new CardProcessingConfig();
- CardProcessingConfigCommon common=new CardProcessingConfigCommon();
+ CardProcessingConfig configurations = new CardProcessingConfig();
+ CardProcessingConfigCommon common = new CardProcessingConfigCommon();
common.merchantCategoryCode("1799");
organizationInformation.type("MERCHANT");
common.foodAndConsumerServiceId("1456");
@@ -98,9 +98,9 @@ public static InlineResponse2013 run() {
common.businessCenterCreditCardRefundLimitPercent("3");
- Map processors=new HashMap<>();
- CardProcessingConfigCommonProcessors obj5=new CardProcessingConfigCommonProcessors();
- CardProcessingConfigCommonAcquirer acquirer=new CardProcessingConfigCommonAcquirer();
+ Map processors = new HashMap<>();
+ CardProcessingConfigCommonProcessors obj5 = new CardProcessingConfigCommonProcessors();
+ CardProcessingConfigCommonAcquirer acquirer = new CardProcessingConfigCommonAcquirer();
acquirer.countryCode("840_usa");
acquirer.fileDestinationBin("123456");
@@ -110,9 +110,9 @@ public static InlineResponse2013 run() {
obj5.acquirer(acquirer);
- Map currencies=new HashMap<>();
+ Map currencies = new HashMap<>();
- CardProcessingConfigCommonCurrencies1 obj6=new CardProcessingConfigCommonCurrencies1();
+ CardProcessingConfigCommonCurrencies1 obj6 = new CardProcessingConfigCommonCurrencies1();
obj6.enabled(true);
obj6.enabledCardPresent(false);
obj6.enabledCardNotPresent(true);
@@ -123,8 +123,8 @@ public static InlineResponse2013 run() {
obj5.currencies(currencies);
- Map paymentTypes=new HashMap<>();
- CardProcessingConfigCommonPaymentTypes obj7=new CardProcessingConfigCommonPaymentTypes();
+ Map paymentTypes = new HashMap<>();
+ CardProcessingConfigCommonPaymentTypes obj7 = new CardProcessingConfigCommonPaymentTypes();
obj7.enabled(true);
paymentTypes.put("MASTERCARD",obj7);
@@ -153,12 +153,12 @@ public static InlineResponse2013 run() {
configurations.common(common);
- CardProcessingConfigFeatures features2=new CardProcessingConfigFeatures();
+ CardProcessingConfigFeatures features2 = new CardProcessingConfigFeatures();
- CardProcessingConfigFeaturesCardNotPresent cardNotPresent=new CardProcessingConfigFeaturesCardNotPresent();
+ CardProcessingConfigFeaturesCardNotPresent cardNotPresent = new CardProcessingConfigFeaturesCardNotPresent();
- Map processors3=new HashMap<>();
- CardProcessingConfigFeaturesCardNotPresentProcessors obj9=new CardProcessingConfigFeaturesCardNotPresentProcessors();
+ Map processors3 = new HashMap<>();
+ CardProcessingConfigFeaturesCardNotPresentProcessors obj9 = new CardProcessingConfigFeaturesCardNotPresentProcessors();
obj9.enableEmsTransactionRiskScore(true);
obj9.relaxAddressVerificationSystem(true);
@@ -173,10 +173,10 @@ public static InlineResponse2013 run() {
features2.cardNotPresent(cardNotPresent);
- CardProcessingConfigFeaturesCardPresent cardPresent=new CardProcessingConfigFeaturesCardPresent();
+ CardProcessingConfigFeaturesCardPresent cardPresent = new CardProcessingConfigFeaturesCardPresent();
- Map processors2=new HashMap<>();
- CardProcessingConfigFeaturesCardPresentProcessors obj4=new CardProcessingConfigFeaturesCardPresentProcessors();
+ Map processors2 = new HashMap<>();
+ CardProcessingConfigFeaturesCardPresentProcessors obj4 = new CardProcessingConfigFeaturesCardPresentProcessors();
obj4.financialInstitutionId("1347");
obj4.pinDebitNetworkOrder("23456");
@@ -197,8 +197,8 @@ public static InlineResponse2013 run() {
cardProcessing.configurationInformation(configurationInformation);
payments.cardProcessing(cardProcessing);
- PaymentsProductsVirtualTerminal virtualTerminal=new PaymentsProductsVirtualTerminal();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation5=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+ PaymentsProductsVirtualTerminal virtualTerminal = new PaymentsProductsVirtualTerminal();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation5 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
// subscriptionInformation5.enabled(true);
// virtualTerminal.subscriptionInformation(subscriptionInformation5);
@@ -208,9 +208,9 @@ public static InlineResponse2013 run() {
payments.virtualTerminal(virtualTerminal);
- PaymentsProductsTax customerInvoicing=new PaymentsProductsTax();
+ PaymentsProductsTax customerInvoicing = new PaymentsProductsTax();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation6=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation6 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
//
// subscriptionInformation6.enabled(true);
// customerInvoicing.subscriptionInformation(subscriptionInformation6);
@@ -218,19 +218,19 @@ public static InlineResponse2013 run() {
selectedProducts.payments(payments);
- RiskProducts risk=new RiskProducts();
+ RiskProducts risk = new RiskProducts();
selectedProducts.risk(risk);
- CommerceSolutionsProducts commerceSolutions=new CommerceSolutionsProducts();
+ CommerceSolutionsProducts commerceSolutions = new CommerceSolutionsProducts();
- CommerceSolutionsProductsTokenManagement tokenManagement=new CommerceSolutionsProductsTokenManagement();
+ CommerceSolutionsProductsTokenManagement tokenManagement = new CommerceSolutionsProductsTokenManagement();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation7=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation7 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
// subscriptionInformation7.enabled(true);
// tokenManagement.subscriptionInformation(subscriptionInformation7);
- CommerceSolutionsProductsTokenManagementConfigurationInformation configurationInformation7=new CommerceSolutionsProductsTokenManagementConfigurationInformation();
+ CommerceSolutionsProductsTokenManagementConfigurationInformation configurationInformation7 = new CommerceSolutionsProductsTokenManagementConfigurationInformation();
configurationInformation7.templateId("D62BEE20-DCFD-4AA2-8723-BA3725958ABA");
tokenManagement.configurationInformation(configurationInformation7);
@@ -238,17 +238,17 @@ public static InlineResponse2013 run() {
commerceSolutions.tokenManagement(tokenManagement);
selectedProducts.commerceSolutions(commerceSolutions);
- ValueAddedServicesProducts valueAddedServices=new ValueAddedServicesProducts();
+ ValueAddedServicesProducts valueAddedServices = new ValueAddedServicesProducts();
- PaymentsProductsTax transactionSearch=new PaymentsProductsTax();
+ PaymentsProductsTax transactionSearch = new PaymentsProductsTax();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation9=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation9 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
// subscriptionInformation9.enabled(true);
// transactionSearch.subscriptionInformation(subscriptionInformation9);
valueAddedServices.transactionSearch(transactionSearch);
- PaymentsProductsTax reporting=new PaymentsProductsTax();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation3=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+ PaymentsProductsTax reporting = new PaymentsProductsTax();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation3 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
// subscriptionInformation3.enabled(true);
// reporting.subscriptionInformation(subscriptionInformation3);
valueAddedServices.reporting(reporting);
@@ -259,7 +259,7 @@ public static InlineResponse2013 run() {
reqObj.productInformation(productInformation);
- InlineResponse2013 result=null;
+ InlineResponse2013 result = null;
try {
//Boarding API support only JWT Auth Type
diff --git a/src/main/java/samples/MerchantBoarding/MerchantBoardingSmartFDC.java b/src/main/java/samples/MerchantBoarding/MerchantBoardingSmartFDC.java
index a8bd7d3..d9b8853 100644
--- a/src/main/java/samples/MerchantBoarding/MerchantBoardingSmartFDC.java
+++ b/src/main/java/samples/MerchantBoarding/MerchantBoardingSmartFDC.java
@@ -34,16 +34,16 @@ public static void main(String args[]) throws Exception {
public static InlineResponse2013 run() {
- PostRegistrationBody reqObj=new PostRegistrationBody();
+ PostRegistrationBody reqObj = new PostRegistrationBody();
- Boardingv1registrationsOrganizationInformation organizationInformation=new Boardingv1registrationsOrganizationInformation();
+ Boardingv1registrationsOrganizationInformation organizationInformation = new Boardingv1registrationsOrganizationInformation();
organizationInformation.parentOrganizationId("apitester00");
organizationInformation.type("MERCHANT");
organizationInformation.configurable(true);
- Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation=new Boardingv1registrationsOrganizationInformationBusinessInformation();
+ Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation = new Boardingv1registrationsOrganizationInformationBusinessInformation();
businessInformation.name("StuartWickedFastEatz");
- Boardingv1registrationsOrganizationInformationBusinessInformationAddress address=new Boardingv1registrationsOrganizationInformationBusinessInformationAddress();
+ Boardingv1registrationsOrganizationInformationBusinessInformationAddress address = new Boardingv1registrationsOrganizationInformationBusinessInformationAddress();
address.country("US");
address.address1("123456 SandMarket");
address.locality("ORMOND BEACH");
@@ -53,7 +53,7 @@ public static InlineResponse2013 run() {
businessInformation.websiteUrl("https://www.StuartWickedEats.com");
businessInformation.phoneNumber("6574567813");
- Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact businessContact=new Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact();
+ Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact businessContact = new Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact();
businessContact.firstName("Stuart");
businessContact.lastName("Stuart");
businessContact.phoneNumber("6574567813");
@@ -65,39 +65,39 @@ public static InlineResponse2013 run() {
reqObj.organizationInformation(organizationInformation);
- Boardingv1registrationsProductInformation productInformation=new Boardingv1registrationsProductInformation();
- Boardingv1registrationsProductInformationSelectedProducts selectedProducts=new Boardingv1registrationsProductInformationSelectedProducts();
+ Boardingv1registrationsProductInformation productInformation = new Boardingv1registrationsProductInformation();
+ Boardingv1registrationsProductInformationSelectedProducts selectedProducts = new Boardingv1registrationsProductInformationSelectedProducts();
- PaymentsProducts payments=new PaymentsProducts();
- PaymentsProductsCardProcessing cardProcessing=new PaymentsProductsCardProcessing();
- PaymentsProductsCardProcessingSubscriptionInformation subscriptionInformation=new PaymentsProductsCardProcessingSubscriptionInformation();
+ PaymentsProducts payments = new PaymentsProducts();
+ PaymentsProductsCardProcessing cardProcessing = new PaymentsProductsCardProcessing();
+ PaymentsProductsCardProcessingSubscriptionInformation subscriptionInformation = new PaymentsProductsCardProcessingSubscriptionInformation();
subscriptionInformation.enabled(true);
- Map features=new HashMap<>();
+ Map features = new HashMap<>();
- PaymentsProductsCardProcessingSubscriptionInformationFeatures obj1=new PaymentsProductsCardProcessingSubscriptionInformationFeatures();
+ PaymentsProductsCardProcessingSubscriptionInformationFeatures obj1 = new PaymentsProductsCardProcessingSubscriptionInformationFeatures();
obj1.enabled(true);
features.put("cardNotPresent",obj1);
features.put("cardPresent",obj1);
subscriptionInformation.features(features);
cardProcessing.subscriptionInformation(subscriptionInformation);
- PaymentsProductsCardProcessingConfigurationInformation configurationInformation=new PaymentsProductsCardProcessingConfigurationInformation();
+ PaymentsProductsCardProcessingConfigurationInformation configurationInformation = new PaymentsProductsCardProcessingConfigurationInformation();
- CardProcessingConfig configurations=new CardProcessingConfig();
- CardProcessingConfigCommon common=new CardProcessingConfigCommon();
+ CardProcessingConfig configurations = new CardProcessingConfig();
+ CardProcessingConfigCommon common = new CardProcessingConfigCommon();
common.merchantCategoryCode("1799");
organizationInformation.type("MERCHANT");
common.enablePartialAuth(true);
- Map processors=new HashMap<>();
- CardProcessingConfigCommonProcessors obj5=new CardProcessingConfigCommonProcessors();
- CardProcessingConfigCommonAcquirer acquirer=new CardProcessingConfigCommonAcquirer();
+ Map processors = new HashMap<>();
+ CardProcessingConfigCommonProcessors obj5 = new CardProcessingConfigCommonProcessors();
+ CardProcessingConfigCommonAcquirer acquirer = new CardProcessingConfigCommonAcquirer();
obj5.acquirer(acquirer);
- Map paymentTypes=new HashMap<>();
- CardProcessingConfigCommonPaymentTypes obj7=new CardProcessingConfigCommonPaymentTypes();
+ Map paymentTypes = new HashMap<>();
+ CardProcessingConfigCommonPaymentTypes obj7 = new CardProcessingConfigCommonPaymentTypes();
obj7.enabled(true);
paymentTypes.put("MASTERCARD",obj7);
@@ -127,8 +127,8 @@ public static InlineResponse2013 run() {
cardProcessing.configurationInformation(configurationInformation);
payments.cardProcessing(cardProcessing);
- PaymentsProductsVirtualTerminal virtualTerminal=new PaymentsProductsVirtualTerminal();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation5=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+ PaymentsProductsVirtualTerminal virtualTerminal = new PaymentsProductsVirtualTerminal();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation5 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
// subscriptionInformation5.enabled(true);
// virtualTerminal.subscriptionInformation(subscriptionInformation5);
@@ -138,9 +138,9 @@ public static InlineResponse2013 run() {
payments.virtualTerminal(virtualTerminal);
- PaymentsProductsTax customerInvoicing=new PaymentsProductsTax();
+ PaymentsProductsTax customerInvoicing = new PaymentsProductsTax();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation6=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation6 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
//
// subscriptionInformation6.enabled(true);
// customerInvoicing.subscriptionInformation(subscriptionInformation6);
@@ -148,19 +148,19 @@ public static InlineResponse2013 run() {
selectedProducts.payments(payments);
- RiskProducts risk=new RiskProducts();
+ RiskProducts risk = new RiskProducts();
selectedProducts.risk(risk);
- CommerceSolutionsProducts commerceSolutions=new CommerceSolutionsProducts();
+ CommerceSolutionsProducts commerceSolutions = new CommerceSolutionsProducts();
- CommerceSolutionsProductsTokenManagement tokenManagement=new CommerceSolutionsProductsTokenManagement();
+ CommerceSolutionsProductsTokenManagement tokenManagement = new CommerceSolutionsProductsTokenManagement();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation7=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation7 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
// subscriptionInformation7.enabled(true);
// tokenManagement.subscriptionInformation(subscriptionInformation7);
- CommerceSolutionsProductsTokenManagementConfigurationInformation configurationInformation7=new CommerceSolutionsProductsTokenManagementConfigurationInformation();
+ CommerceSolutionsProductsTokenManagementConfigurationInformation configurationInformation7 = new CommerceSolutionsProductsTokenManagementConfigurationInformation();
configurationInformation7.templateId("D62BEE20-DCFD-4AA2-8723-BA3725958ABA");
tokenManagement.configurationInformation(configurationInformation7);
@@ -168,17 +168,17 @@ public static InlineResponse2013 run() {
commerceSolutions.tokenManagement(tokenManagement);
selectedProducts.commerceSolutions(commerceSolutions);
- ValueAddedServicesProducts valueAddedServices=new ValueAddedServicesProducts();
+ ValueAddedServicesProducts valueAddedServices = new ValueAddedServicesProducts();
- PaymentsProductsTax transactionSearch=new PaymentsProductsTax();
+ PaymentsProductsTax transactionSearch = new PaymentsProductsTax();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation9=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation9 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
// subscriptionInformation9.enabled(true);
// transactionSearch.subscriptionInformation(subscriptionInformation9);
valueAddedServices.transactionSearch(transactionSearch);
- PaymentsProductsTax reporting=new PaymentsProductsTax();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation3=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+ PaymentsProductsTax reporting = new PaymentsProductsTax();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation3 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
// subscriptionInformation3.enabled(true);
// reporting.subscriptionInformation(subscriptionInformation3);
valueAddedServices.reporting(reporting);
@@ -189,7 +189,7 @@ public static InlineResponse2013 run() {
reqObj.productInformation(productInformation);
- InlineResponse2013 result=null;
+ InlineResponse2013 result = null;
try {
//Boarding API support only JWT Auth Type
diff --git a/src/main/java/samples/MerchantBoarding/MerchantBoardingTSYS.java b/src/main/java/samples/MerchantBoarding/MerchantBoardingTSYS.java
index cea818d..2b430f0 100644
--- a/src/main/java/samples/MerchantBoarding/MerchantBoardingTSYS.java
+++ b/src/main/java/samples/MerchantBoarding/MerchantBoardingTSYS.java
@@ -33,16 +33,16 @@ public static void main(String args[]) throws Exception {
public static InlineResponse2013 run() {
- PostRegistrationBody reqObj=new PostRegistrationBody();
+ PostRegistrationBody reqObj = new PostRegistrationBody();
- Boardingv1registrationsOrganizationInformation organizationInformation=new Boardingv1registrationsOrganizationInformation();
+ Boardingv1registrationsOrganizationInformation organizationInformation = new Boardingv1registrationsOrganizationInformation();
organizationInformation.parentOrganizationId("apitester00");
organizationInformation.type("MERCHANT");
organizationInformation.configurable(true);
- Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation=new Boardingv1registrationsOrganizationInformationBusinessInformation();
+ Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation = new Boardingv1registrationsOrganizationInformationBusinessInformation();
businessInformation.name("StuartWickedFastEatz");
- Boardingv1registrationsOrganizationInformationBusinessInformationAddress address=new Boardingv1registrationsOrganizationInformationBusinessInformationAddress();
+ Boardingv1registrationsOrganizationInformationBusinessInformationAddress address = new Boardingv1registrationsOrganizationInformationBusinessInformationAddress();
address.country("US");
address.address1("123456 SandMarket");
address.locality("ORMOND BEACH");
@@ -52,7 +52,7 @@ public static InlineResponse2013 run() {
businessInformation.websiteUrl("https://www.StuartWickedEats.com");
businessInformation.phoneNumber("6574567813");
- Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact businessContact=new Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact();
+ Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact businessContact = new Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact();
businessContact.firstName("Stuart");
businessContact.lastName("Stuart");
businessContact.phoneNumber("6574567813");
@@ -64,17 +64,17 @@ public static InlineResponse2013 run() {
reqObj.organizationInformation(organizationInformation);
- Boardingv1registrationsProductInformation productInformation=new Boardingv1registrationsProductInformation();
- Boardingv1registrationsProductInformationSelectedProducts selectedProducts=new Boardingv1registrationsProductInformationSelectedProducts();
+ Boardingv1registrationsProductInformation productInformation = new Boardingv1registrationsProductInformation();
+ Boardingv1registrationsProductInformationSelectedProducts selectedProducts = new Boardingv1registrationsProductInformationSelectedProducts();
- PaymentsProducts payments=new PaymentsProducts();
- PaymentsProductsCardProcessing cardProcessing=new PaymentsProductsCardProcessing();
- PaymentsProductsCardProcessingSubscriptionInformation subscriptionInformation=new PaymentsProductsCardProcessingSubscriptionInformation();
+ PaymentsProducts payments = new PaymentsProducts();
+ PaymentsProductsCardProcessing cardProcessing = new PaymentsProductsCardProcessing();
+ PaymentsProductsCardProcessingSubscriptionInformation subscriptionInformation = new PaymentsProductsCardProcessingSubscriptionInformation();
subscriptionInformation.enabled(true);
- Map features=new HashMap<>();
+ Map features = new HashMap<>();
- PaymentsProductsCardProcessingSubscriptionInformationFeatures obj1=new PaymentsProductsCardProcessingSubscriptionInformationFeatures();
+ PaymentsProductsCardProcessingSubscriptionInformationFeatures obj1 = new PaymentsProductsCardProcessingSubscriptionInformationFeatures();
obj1.enabled(true);
features.put("cardNotPresent",obj1);
features.put("cardPresent",obj1);
@@ -82,17 +82,17 @@ public static InlineResponse2013 run() {
cardProcessing.subscriptionInformation(subscriptionInformation);
- PaymentsProductsCardProcessingConfigurationInformation configurationInformation=new PaymentsProductsCardProcessingConfigurationInformation();
+ PaymentsProductsCardProcessingConfigurationInformation configurationInformation = new PaymentsProductsCardProcessingConfigurationInformation();
- CardProcessingConfig configurations=new CardProcessingConfig();
- CardProcessingConfigCommon common=new CardProcessingConfigCommon();
+ CardProcessingConfig configurations = new CardProcessingConfig();
+ CardProcessingConfigCommon common = new CardProcessingConfigCommon();
common.merchantCategoryCode("5999");
common.processLevel3Data("ignored");
organizationInformation.type("MERCHANT");
common.enablePartialAuth(false);
common.amexVendorCode("2233");
- CardProcessingConfigCommonMerchantDescriptorInformation merchantDescriptorInformation=new CardProcessingConfigCommonMerchantDescriptorInformation();
+ CardProcessingConfigCommonMerchantDescriptorInformation merchantDescriptorInformation = new CardProcessingConfigCommonMerchantDescriptorInformation();
merchantDescriptorInformation.city("cpertino");
merchantDescriptorInformation.country("USA");
@@ -104,16 +104,16 @@ public static InlineResponse2013 run() {
common.merchantDescriptorInformation(merchantDescriptorInformation);
- Map processors=new HashMap<>();
- CardProcessingConfigCommonProcessors obj5=new CardProcessingConfigCommonProcessors();
- CardProcessingConfigCommonAcquirer acquirer=new CardProcessingConfigCommonAcquirer();
+ Map processors = new HashMap<>();
+ CardProcessingConfigCommonProcessors obj5 = new CardProcessingConfigCommonProcessors();
+ CardProcessingConfigCommonAcquirer acquirer = new CardProcessingConfigCommonAcquirer();
obj5.acquirer(acquirer);
- Map currencies=new HashMap<>();
+ Map currencies = new HashMap<>();
- CardProcessingConfigCommonCurrencies1 obj6=new CardProcessingConfigCommonCurrencies1();
+ CardProcessingConfigCommonCurrencies1 obj6 = new CardProcessingConfigCommonCurrencies1();
obj6.enabled(true);
obj6.enabledCardPresent(true);
obj6.enabledCardNotPresent(true);
@@ -124,8 +124,8 @@ public static InlineResponse2013 run() {
obj5.currencies(currencies);
- Map paymentTypes=new HashMap<>();
- CardProcessingConfigCommonPaymentTypes obj7=new CardProcessingConfigCommonPaymentTypes();
+ Map paymentTypes = new HashMap<>();
+ CardProcessingConfigCommonPaymentTypes obj7 = new CardProcessingConfigCommonPaymentTypes();
obj7.enabled(true);
paymentTypes.put("MASTERCARD",obj7);
@@ -155,9 +155,9 @@ public static InlineResponse2013 run() {
configurations.common(common);
- CardProcessingConfigFeatures features2=new CardProcessingConfigFeatures();
+ CardProcessingConfigFeatures features2 = new CardProcessingConfigFeatures();
- CardProcessingConfigFeaturesCardNotPresent cardNotPresent=new CardProcessingConfigFeaturesCardNotPresent();
+ CardProcessingConfigFeaturesCardNotPresent cardNotPresent = new CardProcessingConfigFeaturesCardNotPresent();
cardNotPresent.visaStraightThroughProcessingOnly(false);
cardNotPresent.amexTransactionAdviceAddendum1(null);
@@ -172,8 +172,8 @@ public static InlineResponse2013 run() {
cardProcessing.configurationInformation(configurationInformation);
payments.cardProcessing(cardProcessing);
- PaymentsProductsVirtualTerminal virtualTerminal=new PaymentsProductsVirtualTerminal();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation5=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+ PaymentsProductsVirtualTerminal virtualTerminal = new PaymentsProductsVirtualTerminal();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation5 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
// subscriptionInformation5.enabled(true);
// virtualTerminal.subscriptionInformation(subscriptionInformation5);
@@ -183,9 +183,9 @@ public static InlineResponse2013 run() {
payments.virtualTerminal(virtualTerminal);
- PaymentsProductsTax customerInvoicing=new PaymentsProductsTax();
+ PaymentsProductsTax customerInvoicing = new PaymentsProductsTax();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation6=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation6 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
//
// subscriptionInformation6.enabled(true);
// customerInvoicing.subscriptionInformation(subscriptionInformation6);
@@ -193,19 +193,19 @@ public static InlineResponse2013 run() {
selectedProducts.payments(payments);
- RiskProducts risk=new RiskProducts();
+ RiskProducts risk = new RiskProducts();
selectedProducts.risk(risk);
- CommerceSolutionsProducts commerceSolutions=new CommerceSolutionsProducts();
+ CommerceSolutionsProducts commerceSolutions = new CommerceSolutionsProducts();
- CommerceSolutionsProductsTokenManagement tokenManagement=new CommerceSolutionsProductsTokenManagement();
+ CommerceSolutionsProductsTokenManagement tokenManagement = new CommerceSolutionsProductsTokenManagement();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation7=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation7 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
// subscriptionInformation7.enabled(true);
// tokenManagement.subscriptionInformation(subscriptionInformation7);
- CommerceSolutionsProductsTokenManagementConfigurationInformation configurationInformation7=new CommerceSolutionsProductsTokenManagementConfigurationInformation();
+ CommerceSolutionsProductsTokenManagementConfigurationInformation configurationInformation7 = new CommerceSolutionsProductsTokenManagementConfigurationInformation();
configurationInformation7.templateId("D62BEE20-DCFD-4AA2-8723-BA3725958ABA");
tokenManagement.configurationInformation(configurationInformation7);
@@ -213,17 +213,17 @@ public static InlineResponse2013 run() {
commerceSolutions.tokenManagement(tokenManagement);
selectedProducts.commerceSolutions(commerceSolutions);
- ValueAddedServicesProducts valueAddedServices=new ValueAddedServicesProducts();
+ ValueAddedServicesProducts valueAddedServices = new ValueAddedServicesProducts();
- PaymentsProductsTax transactionSearch=new PaymentsProductsTax();
+ PaymentsProductsTax transactionSearch = new PaymentsProductsTax();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation9=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation9 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
// subscriptionInformation9.enabled(true);
// transactionSearch.subscriptionInformation(subscriptionInformation9);
valueAddedServices.transactionSearch(transactionSearch);
- PaymentsProductsTax reporting=new PaymentsProductsTax();
-// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation3=new PaymentsProductsPayerAuthenticationSubscriptionInformation();
+ PaymentsProductsTax reporting = new PaymentsProductsTax();
+// PaymentsProductsPayerAuthenticationSubscriptionInformation subscriptionInformation3 = new PaymentsProductsPayerAuthenticationSubscriptionInformation();
// subscriptionInformation3.enabled(true);
// reporting.subscriptionInformation(subscriptionInformation3);
valueAddedServices.reporting(reporting);
@@ -234,7 +234,7 @@ public static InlineResponse2013 run() {
reqObj.productInformation(productInformation);
- InlineResponse2013 result=null;
+ InlineResponse2013 result = null;
try {
//Boarding API support only JWT Auth Type
diff --git a/src/main/java/samples/UnifiedCheckout/GenerateCaptureContextForClickToPayDropInUI.java b/src/main/java/samples/UnifiedCheckout/GenerateCaptureContextForClickToPayDropInUI.java
index dca45fe..981938a 100644
--- a/src/main/java/samples/UnifiedCheckout/GenerateCaptureContextForClickToPayDropInUI.java
+++ b/src/main/java/samples/UnifiedCheckout/GenerateCaptureContextForClickToPayDropInUI.java
@@ -6,6 +6,8 @@
import Data.Configuration;
import Invokers.ApiClient;
import Model.*;
+import com.google.gson.JsonObject;
+import utilities.capturecontext.utility.CaptureContextParsingUtility;
public class GenerateCaptureContextForClickToPayDropInUI {
private static String responseCode = null;
@@ -93,6 +95,13 @@ public static void run() {
System.out.println("ResponseCode :" + responseCode);
System.out.println("ResponseMessage :" + status);
System.out.println("Response Body :" + response);
+
+ try {
+ JsonObject payload = CaptureContextParsingUtility.parseCaptureContextResponse(response, merchantConfig, true);
+ System.out.println(payload.toString());
+ } catch (Exception e) {
+ System.out.println(e.getMessage());
+ }
} catch (Exception e) {
e.printStackTrace();
}
diff --git a/src/main/java/samples/UnifiedCheckout/GenerateUnifiedCheckoutCaptureContext.java b/src/main/java/samples/UnifiedCheckout/GenerateUnifiedCheckoutCaptureContext.java
index bab23d2..fddaa46 100644
--- a/src/main/java/samples/UnifiedCheckout/GenerateUnifiedCheckoutCaptureContext.java
+++ b/src/main/java/samples/UnifiedCheckout/GenerateUnifiedCheckoutCaptureContext.java
@@ -6,6 +6,8 @@
import Data.Configuration;
import Invokers.ApiClient;
import Model.*;
+import com.google.gson.JsonObject;
+import utilities.capturecontext.utility.CaptureContextParsingUtility;
public class GenerateUnifiedCheckoutCaptureContext {
private static String responseCode = null;
@@ -95,6 +97,13 @@ public static void run() {
System.out.println("ResponseCode :" + responseCode);
System.out.println("ResponseMessage :" + status);
System.out.println("Response Body :" + response);
+
+ try {
+ JsonObject payload = CaptureContextParsingUtility.parseCaptureContextResponse(response, merchantConfig, true);
+ System.out.println(payload.toString());
+ } catch (Exception e) {
+ System.out.println(e.getMessage());
+ }
} catch (Exception e) {
e.printStackTrace();
}
diff --git a/src/main/java/samples/UnifiedCheckout/GenerateUnifiedCheckoutCaptureContextPassingBillingShipping.java b/src/main/java/samples/UnifiedCheckout/GenerateUnifiedCheckoutCaptureContextPassingBillingShipping.java
index 52b2a15..390df77 100644
--- a/src/main/java/samples/UnifiedCheckout/GenerateUnifiedCheckoutCaptureContextPassingBillingShipping.java
+++ b/src/main/java/samples/UnifiedCheckout/GenerateUnifiedCheckoutCaptureContextPassingBillingShipping.java
@@ -12,6 +12,8 @@
import Model.Upv1capturecontextsOrderInformationBillToCompany;
import Model.Upv1capturecontextsOrderInformationShipTo;
import Model.Upv1capturecontextsCompleteMandate;
+import com.google.gson.JsonObject;
+import utilities.capturecontext.utility.CaptureContextParsingUtility;
import java.util.ArrayList;
import java.util.List;
@@ -158,6 +160,13 @@ public static void run() {
System.out.println("ResponseCode :" + responseCode);
System.out.println("ResponseMessage :" + status);
System.out.println("Response Body :" + response);
+
+ try {
+ JsonObject payload = CaptureContextParsingUtility.parseCaptureContextResponse(response, merchantConfig, true);
+ System.out.println(payload.toString());
+ } catch (Exception e) {
+ System.out.println(e.getMessage());
+ }
} catch (Exception e) {
e.printStackTrace();
}