Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Release 6.19.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
IngenicoEPayments authored and jenkins committed Mar 3, 2021
1 parent e84062a commit 2ca1359
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 10 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.ingenico.connect.gateway</groupId>
<artifactId>connect-sdk-java</artifactId>
<version>6.18.1</version>
<version>6.19.0</version>
<packaging>jar</packaging>

<name>connect-sdk-java</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public void example() throws URISyntaxException, IOException {
CardWithoutCvv card = new CardWithoutCvv();
card.setCardNumber("67030000000000003");
card.setCardholderName("Wile E. Coyote");
card.setExpiryDate("1220");
card.setExpiryDate("1299");

CompletePaymentCardPaymentMethodSpecificInput cardPaymentMethodSpecificInput = new CompletePaymentCardPaymentMethodSpecificInput();
cardPaymentMethodSpecificInput.setCard(card);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void example() throws URISyntaxException, IOException {
card.setCardNumber("4567350000427977");
card.setCardholderName("Wile E. Coyote");
card.setCvv("123");
card.setExpiryDate("1220");
card.setExpiryDate("1299");

AmountOfMoney authenticationAmount = new AmountOfMoney();
authenticationAmount.setAmount(2980L);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void example() throws URISyntaxException, IOException {
Card card = new Card();
card.setCardNumber("4567350000427977");
card.setCvv("123");
card.setExpiryDate("0820");
card.setExpiryDate("1299");

List<AirlineFlightLeg> flightLegs = new ArrayList<AirlineFlightLeg>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void example() throws URISyntaxException, IOException {
CardWithoutCvv cardWithoutCvv = new CardWithoutCvv();
cardWithoutCvv.setCardNumber("4567350000427977");
cardWithoutCvv.setCardholderName("Wile E. Coyote");
cardWithoutCvv.setExpiryDate("0820");
cardWithoutCvv.setExpiryDate("1299");
cardWithoutCvv.setIssueNumber("12");

TokenCardData data = new TokenCardData();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,28 @@ public class CardRecurrenceDetails {
private String recurringPaymentSequenceIndicator = null;

/**
* Date in YYYYMMDD after which there will be no further charges.
* Date in YYYYMMDD after which there will be no further charges. If no value is provided we will set a default value of five years after we processed the first recurring transaction.
*/
public String getEndDate() {
return endDate;
}

/**
* Date in YYYYMMDD after which there will be no further charges.
* Date in YYYYMMDD after which there will be no further charges. If no value is provided we will set a default value of five years after we processed the first recurring transaction.
*/
public void setEndDate(String value) {
this.endDate = value;
}

/**
* Minimum number of days between authorizations.
* Minimum number of days between authorizations. If no value is provided we will set a default value of 30 days.
*/
public Integer getMinFrequency() {
return minFrequency;
}

/**
* Minimum number of days between authorizations.
* Minimum number of days between authorizations. If no value is provided we will set a default value of 30 days.
*/
public void setMinFrequency(Integer value) {
this.minFrequency = value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ public class NonSepaDirectDebitPaymentMethodSpecificInput extends AbstractPaymen

private String recurringPaymentSequenceIndicator = null;

private Boolean requiresApproval = null;

private String token = null;

private Boolean tokenize = null;
Expand Down Expand Up @@ -122,6 +124,24 @@ public void setRecurringPaymentSequenceIndicator(String value) {
this.recurringPaymentSequenceIndicator = value;
}

/**
* <ul class="paragraph-width"><li>true - The payment requires approval before the funds will be captured using the Approve payment or Capture payment API.
* <li>false - The payment does not require approval, and the funds will be captured automatically.
* </ul>
*/
public Boolean getRequiresApproval() {
return requiresApproval;
}

/**
* <ul class="paragraph-width"><li>true - The payment requires approval before the funds will be captured using the Approve payment or Capture payment API.
* <li>false - The payment does not require approval, and the funds will be captured automatically.
* </ul>
*/
public void setRequiresApproval(Boolean value) {
this.requiresApproval = value;
}

/**
* ID of the stored token that contains the bank account details to be debited
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ public class SepaDirectDebitPaymentMethodSpecificInput extends AbstractSepaDirec

private String recurringPaymentSequenceIndicator = null;

private Boolean requiresApproval = null;

private String token = null;

private Boolean tokenize = null;
Expand Down Expand Up @@ -104,6 +106,24 @@ public void setRecurringPaymentSequenceIndicator(String value) {
this.recurringPaymentSequenceIndicator = value;
}

/**
* <ul class="paragraph-width"><li>true - The payment requires approval before the funds will be captured using the Approve payment or Capture payment API.
* <li>false - The payment does not require approval, and the funds will be captured automatically.
* </ul>
*/
public Boolean getRequiresApproval() {
return requiresApproval;
}

/**
* <ul class="paragraph-width"><li>true - The payment requires approval before the funds will be captured using the Approve payment or Capture payment API.
* <li>false - The payment does not require approval, and the funds will be captured automatically.
* </ul>
*/
public void setRequiresApproval(Boolean value) {
this.requiresApproval = value;
}

/**
* ID of the token that holds previously stored SEPA Direct Debit account and mandate data. Only relevant for legacy SEPA Direct Debit.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/
public class MetaDataProvider {

private static final String SDK_VERSION = "6.18.1";
private static final String SDK_VERSION = "6.19.0";

private static final String SERVER_META_INFO_HEADER = "X-GCS-ServerMetaInfo";
static final Set<String> PROHIBITED_HEADERS;
Expand Down

0 comments on commit 2ca1359

Please sign in to comment.