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

Commit

Permalink
Release 6.47.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
IngenicoEPayments committed Feb 14, 2024
1 parent 5e7f1e8 commit 1a2f7a9
Show file tree
Hide file tree
Showing 13 changed files with 155 additions and 4 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deploy

on:
push:
tags: ['[0-9]+.[0-9]+*']

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Setup Java
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
cache: 'maven'
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
server-id: ossrh
server-username: OSSRH_USERNAME
server-password: OSSRH_PASSWORD
- name: Deploy
run: mvn deploy -Prelease -DskipTests -DstagingProgressTimeoutMinutes=60
env:
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
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.46.0</version>
<version>6.47.0</version>
<packaging>jar</packaging>

<name>connect-sdk-java</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public void example() throws URISyntaxException, IOException {
query.setLocale("en_US");
query.setAmount(1000L);
query.setIsRecurring(true);
query.setIsInstallments(true);
query.addHide("fields");

PaymentProductGroupResponse response = client.merchant("merchantId").productgroups().get("cards", query);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public void example() throws URISyntaxException, IOException {
query.setLocale("en_US");
query.setAmount(1000L);
query.setIsRecurring(true);
query.setIsInstallments(true);
query.addHide("fields");

PaymentProductGroups response = client.merchant("merchantId").productgroups().find(query);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public void example() throws URISyntaxException, IOException {
query.setLocale("en_US");
query.setAmount(1000L);
query.setIsRecurring(true);
query.setIsInstallments(true);
query.setForceBasicFlow(false);
query.addHide("fields");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public void example() throws URISyntaxException, IOException {
query.setLocale("en_US");
query.setAmount(1000L);
query.setIsRecurring(true);
query.setIsInstallments(true);
query.addHide("fields");

PaymentProducts response = client.merchant("merchantId").products().find(query);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public void setAccountNumber(String value) {
* <li>routingNumber = Routing Transit Number is a code used by financial institutions to identify other financial institutions.
* <li>iban = International Bank Account Number, is a standard international numbering system for identifying bank accounts.
* <li>bicNumber = Bank Identification Code is a number that is used to identify a specific bank.
* <li>giftCard = Gift card is a type of prepaid card that contains a specific amount of money that can be used at participating stores and marketplaces.
* </ul>
*/
public String getAccountNumberType() {
Expand All @@ -60,6 +61,7 @@ public String getAccountNumberType() {
* <li>routingNumber = Routing Transit Number is a code used by financial institutions to identify other financial institutions.
* <li>iban = International Bank Account Number, is a standard international numbering system for identifying bank accounts.
* <li>bicNumber = Bank Identification Code is a number that is used to identify a specific bank.
* <li>giftCard = Gift card is a type of prepaid card that contains a specific amount of money that can be used at participating stores and marketplaces.
* </ul>
*/
public void setAccountNumberType(String value) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ public class OrderTypeInformation {
* <li>agentCashOut = When fund is being paid out to final recipient in Cash by company's agent.
* <li>businessToConsumer = When fund is being transferred from business to consumer (B2C)
* <li>businessToBusiness = When fund is being transferred from business to business (B2B)
* <li>prefundingStagedWallet = When funding is being used to load the funds into the wallet account.</ul>
* <li>prefundingStagedWallet = When funding is being used to load the funds into the wallet account.
* <li>storedValueDigitalWallet = When funding is being used to load the funds into a stored value digital wallet.
* <li>fundingGiftCardForPersonalUse = When funding a gift card for personal use.
* <li>fundingGiftCardForSomeoneElse = When funding a gift card for someone else.</ul>
*/
public String getFundingType() {
return fundingType;
Expand All @@ -33,7 +36,10 @@ public String getFundingType() {
* <li>agentCashOut = When fund is being paid out to final recipient in Cash by company's agent.
* <li>businessToConsumer = When fund is being transferred from business to consumer (B2C)
* <li>businessToBusiness = When fund is being transferred from business to business (B2B)
* <li>prefundingStagedWallet = When funding is being used to load the funds into the wallet account.</ul>
* <li>prefundingStagedWallet = When funding is being used to load the funds into the wallet account.
* <li>storedValueDigitalWallet = When funding is being used to load the funds into a stored value digital wallet.
* <li>fundingGiftCardForPersonalUse = When funding a gift card for personal use.
* <li>fundingGiftCardForSomeoneElse = When funding a gift card for someone else.</ul>
*/
public void setFundingType(String value) {
this.fundingType = value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ public class FindProductgroupsParams implements ParamRequest {

private Boolean isRecurring;

private Boolean isInstallments;

private List<String> hide;

/**
Expand Down Expand Up @@ -105,6 +107,28 @@ public void setIsRecurring(Boolean value) {
this.isRecurring = value;
}

/**
* This allows you to filter payment products based on their support for installments or not
* <ul class="paragraph-width"><li>true
* <li>false
* </ul>
* If this is omitted all payment products are returned.
*/
public Boolean getIsInstallments() {
return isInstallments;
}

/**
* This allows you to filter payment products based on their support for installments or not
* <ul class="paragraph-width"><li>true
* <li>false
* </ul>
* If this is omitted all payment products are returned.
*/
public void setIsInstallments(Boolean value) {
this.isInstallments = value;
}

/**
* Allows you to hide elements from the response, reducing the amount of data that needs to be returned to your client. Possible options are:
* <ul class="paragraph-width">
Expand Down Expand Up @@ -162,6 +186,9 @@ public List<RequestParam> toRequestParameters() {
if (isRecurring != null) {
result.add(new RequestParam("isRecurring", isRecurring.toString()));
}
if (isInstallments != null) {
result.add(new RequestParam("isInstallments", isInstallments.toString()));
}
if (hide != null) {
for (String hideElement : hide) {
if (hideElement != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ public class GetProductgroupParams implements ParamRequest {

private Boolean isRecurring;

private Boolean isInstallments;

private List<String> hide;

/**
Expand Down Expand Up @@ -107,6 +109,28 @@ public void setIsRecurring(Boolean value) {
this.isRecurring = value;
}

/**
* This allows you to filter payment products based on their support for installments or not
* <ul class="paragraph-width"><li>true
* <li>false
* </ul>
* If this is omitted all payment products are returned.
*/
public Boolean getIsInstallments() {
return isInstallments;
}

/**
* This allows you to filter payment products based on their support for installments or not
* <ul class="paragraph-width"><li>true
* <li>false
* </ul>
* If this is omitted all payment products are returned.
*/
public void setIsInstallments(Boolean value) {
this.isInstallments = value;
}

/**
* Allows you to hide elements from the response, reducing the amount of data that needs to be returned to your client. Possible options are:
* <ul class="paragraph-width">
Expand Down Expand Up @@ -164,6 +188,9 @@ public List<RequestParam> toRequestParameters() {
if (isRecurring != null) {
result.add(new RequestParam("isRecurring", isRecurring.toString()));
}
if (isInstallments != null) {
result.add(new RequestParam("isInstallments", isInstallments.toString()));
}
if (hide != null) {
for (String hideElement : hide) {
if (hideElement != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ public class FindProductsParams implements ParamRequest {

private Boolean isRecurring;

private Boolean isInstallments;

private List<String> hide;

/**
Expand Down Expand Up @@ -107,6 +109,28 @@ public void setIsRecurring(Boolean value) {
this.isRecurring = value;
}

/**
* This allows you to filter payment products based on their support for installments or not
* <ul class="paragraph-width"><li>true
* <li>false
* </ul>
* If this is omitted all payment products are returned.
*/
public Boolean getIsInstallments() {
return isInstallments;
}

/**
* This allows you to filter payment products based on their support for installments or not
* <ul class="paragraph-width"><li>true
* <li>false
* </ul>
* If this is omitted all payment products are returned.
*/
public void setIsInstallments(Boolean value) {
this.isInstallments = value;
}

/**
* Allows you to hide elements from the response, reducing the amount of data that needs to be returned to your client. Possible options are:
* <ul class="paragraph-width">
Expand Down Expand Up @@ -173,6 +197,9 @@ public List<RequestParam> toRequestParameters() {
if (isRecurring != null) {
result.add(new RequestParam("isRecurring", isRecurring.toString()));
}
if (isInstallments != null) {
result.add(new RequestParam("isInstallments", isInstallments.toString()));
}
if (hide != null) {
for (String hideElement : hide) {
if (hideElement != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ public class GetProductParams implements ParamRequest {

private Boolean isRecurring;

private Boolean isInstallments;

private List<String> hide;

private Boolean forceBasicFlow;
Expand Down Expand Up @@ -109,6 +111,28 @@ public void setIsRecurring(Boolean value) {
this.isRecurring = value;
}

/**
* This allows you to filter payment products based on their support for installments or not
* <ul class="paragraph-width"><li>true
* <li>false
* </ul>
* If this is omitted all payment products are returned.
*/
public Boolean getIsInstallments() {
return isInstallments;
}

/**
* This allows you to filter payment products based on their support for installments or not
* <ul class="paragraph-width"><li>true
* <li>false
* </ul>
* If this is omitted all payment products are returned.
*/
public void setIsInstallments(Boolean value) {
this.isInstallments = value;
}

/**
* Allows you to hide elements from the response, reducing the amount of data that needs to be returned to your client. Possible options are:
* <ul class="paragraph-width">
Expand Down Expand Up @@ -180,6 +204,9 @@ public List<RequestParam> toRequestParameters() {
if (isRecurring != null) {
result.add(new RequestParam("isRecurring", isRecurring.toString()));
}
if (isInstallments != null) {
result.add(new RequestParam("isInstallments", isInstallments.toString()));
}
if (hide != null) {
for (String hideElement : hide) {
if (hideElement != null) {
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.46.0";
private static final String SDK_VERSION = "6.47.0";

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

0 comments on commit 1a2f7a9

Please sign in to comment.