Skip to content

Commit

Permalink
Merge 9c823e7 into b480cc0
Browse files Browse the repository at this point in the history
  • Loading branch information
arao6 committed Sep 11, 2020
2 parents b480cc0 + 9c823e7 commit d8629a8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@ public Field setSelectionChoices(List<SelectionChoice> selectionChoices) {
private List<String> countries = new ArrayList<String>();
private List<String> currencies = new ArrayList<String>();
private HyperwalletTransferMethod.Type type;
private String fee;
private String processingTime;
private HyperwalletUser.ProfileType profileType;
private List<Field> fields = new ArrayList<Field>();
private List<HyperwalletLink> links;
Expand Down Expand Up @@ -168,22 +166,6 @@ public HyperwalletTransferMethodConfiguration setType(HyperwalletTransferMethod.
return this;
}

public String getFee() {
return fee;
}

public void setFee(String fee) {
this.fee = fee;
}

public String getProcessingTime() {
return processingTime;
}

public void setProcessingTime(String processingTime) {
this.processingTime = processingTime;
}

public HyperwalletUser.ProfileType getProfileType() {
return profileType;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ public void testHyperwalletTransferMethodConfiguration() {
assertThat(configuration.getCurrencies(), is(Matchers.<String>empty()));
assertThat(configuration.getFields(), is(Matchers.<HyperwalletTransferMethodConfiguration.Field>empty()));
assertThat(configuration.getProfileType(), is(nullValue()));
assertThat(configuration.getFee(), is(nullValue()));
assertThat(configuration.getProcessingTime(), is(nullValue()));
assertThat(configuration.getType(), is(nullValue()));
assertThat(configuration.getLinks(), is(nullValue()));

Expand All @@ -86,8 +84,6 @@ public void testHyperwalletTransferMethodConfiguration() {

List<HyperwalletTransferMethodConfiguration.Field> fieldList = new ArrayList<HyperwalletTransferMethodConfiguration.Field>();
fieldList.add(new HyperwalletTransferMethodConfiguration.Field());
String fee = "$100.00";
String processingTime = "1-3 Business days";

HyperwalletLink link = new HyperwalletLink();
link.setHref("https://localhost:8181/test");
Expand All @@ -100,16 +96,12 @@ public void testHyperwalletTransferMethodConfiguration() {
configuration.setCountries(countryList);
configuration.setCurrencies(currencyList);
configuration.setFields(fieldList);
configuration.setFee(fee);
configuration.setProcessingTime(processingTime);
configuration.setProfileType(HyperwalletUser.ProfileType.INDIVIDUAL);
configuration.setType(HyperwalletTransferMethod.Type.BANK_ACCOUNT);
configuration.setLinks(links);

assertThat(configuration.getCountries(), is(equalTo(countryList)));
assertThat(configuration.getCurrencies(), is(equalTo(currencyList)));
assertThat(configuration.getFee(), is(equalTo(fee)));
assertThat(configuration.getProcessingTime(), is(equalTo(processingTime)));
assertThat(configuration.getFields(), is(equalTo(fieldList)));
assertThat(configuration.getProfileType(), is(equalTo(HyperwalletUser.ProfileType.INDIVIDUAL)));
assertThat(configuration.getType(), is(equalTo(HyperwalletTransferMethod.Type.BANK_ACCOUNT)));
Expand Down

0 comments on commit d8629a8

Please sign in to comment.