Class ProductsClient
Products client. Thread-safe.
Inherited Members
Namespace: Ingenico.Connect.Sdk.Merchant.Products
Assembly: connect-sdk-dotnet.dll
Syntax
public class ProductsClient : ApiResource
Constructors
ProductsClient(ApiResource, IDictionary<string, string>)
Declaration
public ProductsClient(ApiResource parent, IDictionary<string, string> pathContext)
Parameters
Type | Name | Description |
---|---|---|
ApiResource | parent | |
IDictionary<string, string> | pathContext |
Methods
CustomerDetails(int?, GetCustomerDetailsRequest, CallContext)
Resource /{merchantId}/products/{paymentProductId}/customerDetails
Declaration
public Task<GetCustomerDetailsResponse> CustomerDetails(int? paymentProductId, GetCustomerDetailsRequest body, CallContext context = null)
Parameters
Type | Name | Description |
---|---|---|
int? | paymentProductId | int? |
GetCustomerDetailsRequest | body | GetCustomerDetailsRequest |
CallContext | context | CallContext |
Returns
Type | Description |
---|---|
Task<GetCustomerDetailsResponse> | GetCustomerDetailsResponse |
Exceptions
Type | Condition |
---|---|
ValidationException | if the request was not correct and couldn't be processed (HTTP status code BadRequest) |
AuthorizationException | if the request was not allowed (HTTP status code Forbidden) |
IdempotenceException | if an idempotent request caused a conflict (HTTP status code Conflict) |
ReferenceException | if an object was attempted to be referenced that doesn't exist or has been removed, or there was a conflict (HTTP status code NotFound, Conflict or Gone) |
GlobalCollectException | if something went wrong at the Ingenico ePayments platform, the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer, or the service that you're trying to reach is temporary unavailable (HTTP status code InternalServerError, BadGateway or ServiceUnavailable) |
ApiException | if the Ingenico ePayments platform returned any other error |
DeviceFingerprint(int?, DeviceFingerprintRequest, CallContext)
Resource /{merchantId}/products/{paymentProductId}/deviceFingerprint
Declaration
public Task<DeviceFingerprintResponse> DeviceFingerprint(int? paymentProductId, DeviceFingerprintRequest body, CallContext context = null)
Parameters
Type | Name | Description |
---|---|---|
int? | paymentProductId | int? |
DeviceFingerprintRequest | body | DeviceFingerprintRequest |
CallContext | context | CallContext |
Returns
Type | Description |
---|---|
Task<DeviceFingerprintResponse> | DeviceFingerprintResponse |
Exceptions
Type | Condition |
---|---|
ValidationException | if the request was not correct and couldn't be processed (HTTP status code BadRequest) |
AuthorizationException | if the request was not allowed (HTTP status code Forbidden) |
IdempotenceException | if an idempotent request caused a conflict (HTTP status code Conflict) |
ReferenceException | if an object was attempted to be referenced that doesn't exist or has been removed, or there was a conflict (HTTP status code NotFound, Conflict or Gone) |
GlobalCollectException | if something went wrong at the Ingenico ePayments platform, the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer, or the service that you're trying to reach is temporary unavailable (HTTP status code InternalServerError, BadGateway or ServiceUnavailable) |
ApiException | if the Ingenico ePayments platform returned any other error |
Directory(int?, DirectoryParams, CallContext)
Resource /{merchantId}/products/{paymentProductId}/directory
Declaration
public Task<Directory> Directory(int? paymentProductId, DirectoryParams query, CallContext context = null)
Parameters
Type | Name | Description |
---|---|---|
int? | paymentProductId | int? |
DirectoryParams | query | DirectoryParams |
CallContext | context | CallContext |
Returns
Type | Description |
---|---|
Task<Directory> | Directory |
Exceptions
Type | Condition |
---|---|
ValidationException | if the request was not correct and couldn't be processed (HTTP status code BadRequest) |
AuthorizationException | if the request was not allowed (HTTP status code Forbidden) |
IdempotenceException | if an idempotent request caused a conflict (HTTP status code Conflict) |
ReferenceException | if an object was attempted to be referenced that doesn't exist or has been removed, or there was a conflict (HTTP status code NotFound, Conflict or Gone) |
GlobalCollectException | if something went wrong at the Ingenico ePayments platform, the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer, or the service that you're trying to reach is temporary unavailable (HTTP status code InternalServerError, BadGateway or ServiceUnavailable) |
ApiException | if the Ingenico ePayments platform returned any other error |
Find(FindProductsParams, CallContext)
Resource /{merchantId}/products
Declaration
public Task<PaymentProducts> Find(FindProductsParams query, CallContext context = null)
Parameters
Type | Name | Description |
---|---|---|
FindProductsParams | query | FindProductsParams |
CallContext | context | CallContext |
Returns
Type | Description |
---|---|
Task<PaymentProducts> | PaymentProducts |
Exceptions
Type | Condition |
---|---|
ValidationException | if the request was not correct and couldn't be processed (HTTP status code BadRequest) |
AuthorizationException | if the request was not allowed (HTTP status code Forbidden) |
IdempotenceException | if an idempotent request caused a conflict (HTTP status code Conflict) |
ReferenceException | if an object was attempted to be referenced that doesn't exist or has been removed, or there was a conflict (HTTP status code NotFound, Conflict or Gone) |
GlobalCollectException | if something went wrong at the Ingenico ePayments platform, the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer, or the service that you're trying to reach is temporary unavailable (HTTP status code InternalServerError, BadGateway or ServiceUnavailable) |
ApiException | if the Ingenico ePayments platform returned any other error |
Get(int?, GetProductParams, CallContext)
Resource /{merchantId}/products/{paymentProductId}
Declaration
public Task<PaymentProductResponse> Get(int? paymentProductId, GetProductParams query, CallContext context = null)
Parameters
Type | Name | Description |
---|---|---|
int? | paymentProductId | int? |
GetProductParams | query | GetProductParams |
CallContext | context | CallContext |
Returns
Type | Description |
---|---|
Task<PaymentProductResponse> | PaymentProductResponse |
Exceptions
Type | Condition |
---|---|
ValidationException | if the request was not correct and couldn't be processed (HTTP status code BadRequest) |
AuthorizationException | if the request was not allowed (HTTP status code Forbidden) |
IdempotenceException | if an idempotent request caused a conflict (HTTP status code Conflict) |
ReferenceException | if an object was attempted to be referenced that doesn't exist or has been removed, or there was a conflict (HTTP status code NotFound, Conflict or Gone) |
GlobalCollectException | if something went wrong at the Ingenico ePayments platform, the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer, or the service that you're trying to reach is temporary unavailable (HTTP status code InternalServerError, BadGateway or ServiceUnavailable) |
ApiException | if the Ingenico ePayments platform returned any other error |
Networks(int?, NetworksParams, CallContext)
Resource /{merchantId}/products/{paymentProductId}/networks
Declaration
public Task<PaymentProductNetworksResponse> Networks(int? paymentProductId, NetworksParams query, CallContext context = null)
Parameters
Type | Name | Description |
---|---|---|
int? | paymentProductId | int? |
NetworksParams | query | NetworksParams |
CallContext | context | CallContext |
Returns
Type | Description |
---|---|
Task<PaymentProductNetworksResponse> | PaymentProductNetworksResponse |
Exceptions
Type | Condition |
---|---|
ValidationException | if the request was not correct and couldn't be processed (HTTP status code BadRequest) |
AuthorizationException | if the request was not allowed (HTTP status code Forbidden) |
IdempotenceException | if an idempotent request caused a conflict (HTTP status code Conflict) |
ReferenceException | if an object was attempted to be referenced that doesn't exist or has been removed, or there was a conflict (HTTP status code NotFound, Conflict or Gone) |
GlobalCollectException | if something went wrong at the Ingenico ePayments platform, the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer, or the service that you're trying to reach is temporary unavailable (HTTP status code InternalServerError, BadGateway or ServiceUnavailable) |
ApiException | if the Ingenico ePayments platform returned any other error |
Sessions(int?, CreatePaymentProductSessionRequest, CallContext)
Resource /{merchantId}/products/{paymentProductId}/sessions
Declaration
public Task<CreatePaymentProductSessionResponse> Sessions(int? paymentProductId, CreatePaymentProductSessionRequest body, CallContext context = null)
Parameters
Type | Name | Description |
---|---|---|
int? | paymentProductId | int? |
CreatePaymentProductSessionRequest | body | CreatePaymentProductSessionRequest |
CallContext | context | CallContext |
Returns
Type | Description |
---|---|
Task<CreatePaymentProductSessionResponse> | CreatePaymentProductSessionResponse |
Exceptions
Type | Condition |
---|---|
ValidationException | if the request was not correct and couldn't be processed (HTTP status code BadRequest) |
AuthorizationException | if the request was not allowed (HTTP status code Forbidden) |
IdempotenceException | if an idempotent request caused a conflict (HTTP status code Conflict) |
ReferenceException | if an object was attempted to be referenced that doesn't exist or has been removed, or there was a conflict (HTTP status code NotFound, Conflict or Gone) |
GlobalCollectException | if something went wrong at the Ingenico ePayments platform, the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer, or the service that you're trying to reach is temporary unavailable (HTTP status code InternalServerError, BadGateway or ServiceUnavailable) |
ApiException | if the Ingenico ePayments platform returned any other error |