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

Commit

Permalink
Release 6.37.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
IngenicoEPayments committed Apr 11, 2023
1 parent 083add3 commit af43695
Show file tree
Hide file tree
Showing 5 changed files with 34 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.36.0</version>
<version>6.37.0</version>
<packaging>jar</packaging>

<name>connect-sdk-java</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,14 @@ public void setDisplayedDataType(String value) {
* <p>This service will be available at the following endpoint:
* http(s)://{{merchant specific subdomain}}.{{base MyCheckout hosted payment pages domain}}/instructions/{{merchantId}}/{{clientSessionId}}
* <p>This instructions page rendering service accepts the following parameters:
* <ul class="paragraph-width"><li>renderingData (required, the content of this property)
* <ul class="paragraph-width"><li>instructionsRenderingData (required, the content of this property)
* <li>locale (optional, if present overrides default locale, e.g. "en_GB")
* <li>variant (optional, code of a variant, if present overrides default variant, e.g. "100")
* <li>customerId (required for Pix, otherwise optional, the customerId from a client session)
* </ul>
* You can offer a link to a customer to see an instructions page for a payment done earlier. Because of the size of the renderingData this will need to be set in a web form as a value of a hidden field. Before presenting the link you need to obtain a clientSessionId by creating a session using the S2S API. You will need to use the MyCheckout hosted payment pages domain hosted in the same region as the API domain used for the createClientSession call.
* <p>The renderingData is a String blob that is presented to you via the Server API as part of the merchantAction (if available, and non-redirect) in the JSON return values for the createPayment call or the getHostedCheckoutStatus call (merchantAction inside createdPaymentOutput when available).
* You are responsible to store the renderingData blob in order to be able to present the instructions page at a later time, when this information might no longer be available through Server API calls.
* You can offer a link to a customer to see an instructions page for a payment done earlier. Because of the size of the instructionsRenderingData this will need to be set in a web form as a value of a hidden field. Before presenting the link you need to obtain a clientSessionId by creating a session using the S2S API. You will need to use the MyCheckout hosted payment pages domain hosted in the same region as the API domain used for the createClientSession call.
* <p>The instructionsRenderingData is a String blob that is presented to you via the Server API as part of the merchantAction (if available, and non-redirect) in the JSON return values for the createPayment call or the getHostedCheckoutStatus call (merchantAction inside createdPaymentOutput when available).
* You are responsible to store the instructionsRenderingData blob in order to be able to present the instructions page at a later time, when this information might no longer be available through Server API calls.
*/
public String getRenderingData() {
return renderingData;
Expand All @@ -60,13 +61,14 @@ public String getRenderingData() {
* <p>This service will be available at the following endpoint:
* http(s)://{{merchant specific subdomain}}.{{base MyCheckout hosted payment pages domain}}/instructions/{{merchantId}}/{{clientSessionId}}
* <p>This instructions page rendering service accepts the following parameters:
* <ul class="paragraph-width"><li>renderingData (required, the content of this property)
* <ul class="paragraph-width"><li>instructionsRenderingData (required, the content of this property)
* <li>locale (optional, if present overrides default locale, e.g. "en_GB")
* <li>variant (optional, code of a variant, if present overrides default variant, e.g. "100")
* <li>customerId (required for Pix, otherwise optional, the customerId from a client session)
* </ul>
* You can offer a link to a customer to see an instructions page for a payment done earlier. Because of the size of the renderingData this will need to be set in a web form as a value of a hidden field. Before presenting the link you need to obtain a clientSessionId by creating a session using the S2S API. You will need to use the MyCheckout hosted payment pages domain hosted in the same region as the API domain used for the createClientSession call.
* <p>The renderingData is a String blob that is presented to you via the Server API as part of the merchantAction (if available, and non-redirect) in the JSON return values for the createPayment call or the getHostedCheckoutStatus call (merchantAction inside createdPaymentOutput when available).
* You are responsible to store the renderingData blob in order to be able to present the instructions page at a later time, when this information might no longer be available through Server API calls.
* You can offer a link to a customer to see an instructions page for a payment done earlier. Because of the size of the instructionsRenderingData this will need to be set in a web form as a value of a hidden field. Before presenting the link you need to obtain a clientSessionId by creating a session using the S2S API. You will need to use the MyCheckout hosted payment pages domain hosted in the same region as the API domain used for the createClientSession call.
* <p>The instructionsRenderingData is a String blob that is presented to you via the Server API as part of the merchantAction (if available, and non-redirect) in the JSON return values for the createPayment call or the getHostedCheckoutStatus call (merchantAction inside createdPaymentOutput when available).
* You are responsible to store the instructionsRenderingData blob in order to be able to present the instructions page at a later time, when this information might no longer be available through Server API calls.
*/
public void setRenderingData(String value) {
this.renderingData = value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ public void setRedirectData(RedirectData value) {
* <ul class="paragraph-width"><li>instructionsRenderingData (required, the content of this property)
* <li>locale (optional, if present overrides default locale, e.g. "en_GB")
* <li>variant (optional, code of a variant, if present overrides default variant, e.g. "100")
* <li>customerId (required for Pix, otherwise optional, the customerId from a client session)
* </ul>
* You can offer a link to a customer to see an instructions page for a payment done earlier. Because of the size of the instructionsRenderingData this will need to be set in a web form as a value of a hidden field. Before presenting the link you need to obtain a clientSessionId by creating a session using the S2S API. You will need to use the MyCheckout hosted payment pages domain hosted in the same region as the API domain used for the createClientSession call.
* <p>The instructionsRenderingData is a String blob that is presented to you via the Server API as part of the merchantAction (if available, and non-redirect) in the JSON return values for the createPayment call or the getHostedCheckoutStatus call (merchantAction inside createdPaymentOutput when available).
Expand All @@ -130,6 +131,7 @@ public String getRenderingData() {
* <ul class="paragraph-width"><li>instructionsRenderingData (required, the content of this property)
* <li>locale (optional, if present overrides default locale, e.g. "en_GB")
* <li>variant (optional, code of a variant, if present overrides default variant, e.g. "100")
* <li>customerId (required for Pix, otherwise optional, the customerId from a client session)
* </ul>
* You can offer a link to a customer to see an instructions page for a payment done earlier. Because of the size of the instructionsRenderingData this will need to be set in a web form as a value of a hidden field. Before presenting the link you need to obtain a clientSessionId by creating a session using the S2S API. You will need to use the MyCheckout hosted payment pages domain hosted in the same region as the API domain used for the createClientSession call.
* <p>The instructionsRenderingData is a String blob that is presented to you via the Server API as part of the merchantAction (if available, and non-redirect) in the JSON return values for the createPayment call or the getHostedCheckoutStatus call (merchantAction inside createdPaymentOutput when available).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ public class Seller {

private String invoiceNumber = null;

private Boolean isForeignRetailer = null;

private String mcc = null;

private String name = null;
Expand Down Expand Up @@ -128,6 +130,24 @@ public void setInvoiceNumber(String value) {
this.invoiceNumber = value;
}

/**
* Indicates if the retailer is considered foreign or domestic when compared to the location of the marketplace. Possible values:
* <ul class="paragraph-width"><li>true - The retailer is considered foreign because they are located in a different country than the marketplace. For marketplaces located in the European Economic Area (EEA) and UK (and Gibraltar), this includes transactions where the marketplace is within the EEA and UK (and Gibraltar), but the retailer is located outside of the EEA and UK (and Gibraltar)
* <li>false - The retailer is considered domestic because they are located in the same country as the marketplace. For marketplaces located in the European Economic Area (EEA) and UK (and Gibraltar), this includes transactions where the retailer is also located within the EEA and UK (and Gibraltar).</ul>
*/
public Boolean getIsForeignRetailer() {
return isForeignRetailer;
}

/**
* Indicates if the retailer is considered foreign or domestic when compared to the location of the marketplace. Possible values:
* <ul class="paragraph-width"><li>true - The retailer is considered foreign because they are located in a different country than the marketplace. For marketplaces located in the European Economic Area (EEA) and UK (and Gibraltar), this includes transactions where the marketplace is within the EEA and UK (and Gibraltar), but the retailer is located outside of the EEA and UK (and Gibraltar)
* <li>false - The retailer is considered domestic because they are located in the same country as the marketplace. For marketplaces located in the European Economic Area (EEA) and UK (and Gibraltar), this includes transactions where the retailer is also located within the EEA and UK (and Gibraltar).</ul>
*/
public void setIsForeignRetailer(Boolean value) {
this.isForeignRetailer = value;
}

/**
* Merchant category code
*/
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.36.0";
private static final String SDK_VERSION = "6.37.0";

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

0 comments on commit af43695

Please sign in to comment.