com.ingenico.connect.gateway.sdk.java.merchant.MerchantClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of connect-sdk-java Show documentation
Show all versions of connect-sdk-java Show documentation
SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API
/*
* This class was auto-generated from the API references found at
* https://epayments-api.developer-ingenico.com/s2sapi/v1/
*/
package com.ingenico.connect.gateway.sdk.java.merchant;
import java.util.Map;
import com.ingenico.connect.gateway.sdk.java.ApiResource;
import com.ingenico.connect.gateway.sdk.java.merchant.captures.CapturesClient;
import com.ingenico.connect.gateway.sdk.java.merchant.hostedcheckouts.HostedcheckoutsClient;
import com.ingenico.connect.gateway.sdk.java.merchant.hostedmandatemanagements.HostedmandatemanagementsClient;
import com.ingenico.connect.gateway.sdk.java.merchant.mandates.MandatesClient;
import com.ingenico.connect.gateway.sdk.java.merchant.payments.PaymentsClient;
import com.ingenico.connect.gateway.sdk.java.merchant.payouts.PayoutsClient;
import com.ingenico.connect.gateway.sdk.java.merchant.productgroups.ProductgroupsClient;
import com.ingenico.connect.gateway.sdk.java.merchant.products.ProductsClient;
import com.ingenico.connect.gateway.sdk.java.merchant.refunds.RefundsClient;
import com.ingenico.connect.gateway.sdk.java.merchant.riskassessments.RiskassessmentsClient;
import com.ingenico.connect.gateway.sdk.java.merchant.services.ServicesClient;
import com.ingenico.connect.gateway.sdk.java.merchant.sessions.SessionsClient;
import com.ingenico.connect.gateway.sdk.java.merchant.tokens.TokensClient;
/**
* Merchant client. Thread-safe.
*/
public class MerchantClient extends ApiResource {
public MerchantClient(ApiResource parent, Map pathContext) {
super(parent, pathContext);
}
/**
* Resource /{merchantId}/hostedcheckouts
* Create new hosted checkout
*
* @return HostedcheckoutsClient
*/
public HostedcheckoutsClient hostedcheckouts() {
return new HostedcheckoutsClient(this, null);
}
/**
* Resource /{merchantId}/hostedmandatemanagements
* Create new hosted mandate management
*
* @return HostedmandatemanagementsClient
*/
public HostedmandatemanagementsClient hostedmandatemanagements() {
return new HostedmandatemanagementsClient(this, null);
}
/**
* Resource /{merchantId}/payments
* Create, cancel and approve payments
*
* @return PaymentsClient
*/
public PaymentsClient payments() {
return new PaymentsClient(this, null);
}
/**
* Resource /{merchantId}/captures
* Get capture
*
* @return CapturesClient
*/
public CapturesClient captures() {
return new CapturesClient(this, null);
}
/**
* Resource /{merchantId}/refunds
* Create, cancel and approve refunds
*
* @return RefundsClient
*/
public RefundsClient refunds() {
return new RefundsClient(this, null);
}
/**
* Resource /{merchantId}/payouts
* Create, cancel and approve payouts
*
* @return PayoutsClient
*/
public PayoutsClient payouts() {
return new PayoutsClient(this, null);
}
/**
* Resource /{merchantId}/productgroups
* Get information about payment product groups
*
* @return ProductgroupsClient
*/
public ProductgroupsClient productgroups() {
return new ProductgroupsClient(this, null);
}
/**
* Resource /{merchantId}/products
* Get information about payment products
*
* @return ProductsClient
*/
public ProductsClient products() {
return new ProductsClient(this, null);
}
/**
* Resource /{merchantId}/riskassessments
* Perform risk assessments on your customer data
*
* @return RiskassessmentsClient
*/
public RiskassessmentsClient riskassessments() {
return new RiskassessmentsClient(this, null);
}
/**
* Resource /{merchantId}/services
* Several services to help you
*
* @return ServicesClient
*/
public ServicesClient services() {
return new ServicesClient(this, null);
}
/**
* Resource /{merchantId}/tokens
* Create, delete and update tokens
*
* @return TokensClient
*/
public TokensClient tokens() {
return new TokensClient(this, null);
}
/**
* Resource /{merchantId}/mandates
* Create, get and update mandates
*
* @return MandatesClient
*/
public MandatesClient mandates() {
return new MandatesClient(this, null);
}
/**
* Resource /{merchantId}/sessions
* Create new Session for Client2Server API calls
*
* @return SessionsClient
*/
public SessionsClient sessions() {
return new SessionsClient(this, null);
}
}