Class ProductsClient
Products client. Thread-safe.
Inherited Members
Namespace: Worldline.Connect.Sdk.V1.Merchant.Products
Assembly: Worldline.Connect.Sdk.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 | 
|---|---|
| IdempotenceException | if an idempotent request caused a conflict (HTTP status code 409)  | 
      
| ValidationException | if the request was not correct and couldn't be processed (HTTP status code 400)  | 
      
| AuthorizationException | if the request was not allowed (HTTP status code 403)  | 
      
| 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 404, 409 or 410)  | 
      
| PlatformException | if something went wrong at the Worldline Global Collect platform, the Worldline Global Collect 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 500, 502 or 503)  | 
      
| ApiException | if the Worldline Global Collect 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 | 
|---|---|
| IdempotenceException | if an idempotent request caused a conflict (HTTP status code 409)  | 
      
| ValidationException | if the request was not correct and couldn't be processed (HTTP status code 400)  | 
      
| AuthorizationException | if the request was not allowed (HTTP status code 403)  | 
      
| 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 404, 409 or 410)  | 
      
| PlatformException | if something went wrong at the Worldline Global Collect platform, the Worldline Global Collect 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 500, 502 or 503)  | 
      
| ApiException | if the Worldline Global Collect 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 | 
|---|---|
| IdempotenceException | if an idempotent request caused a conflict (HTTP status code 409)  | 
      
| ValidationException | if the request was not correct and couldn't be processed (HTTP status code 400)  | 
      
| AuthorizationException | if the request was not allowed (HTTP status code 403)  | 
      
| 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 404, 409 or 410)  | 
      
| PlatformException | if something went wrong at the Worldline Global Collect platform, the Worldline Global Collect 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 500, 502 or 503)  | 
      
| ApiException | if the Worldline Global Collect 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 | 
|---|---|
| IdempotenceException | if an idempotent request caused a conflict (HTTP status code 409)  | 
      
| ValidationException | if the request was not correct and couldn't be processed (HTTP status code 400)  | 
      
| AuthorizationException | if the request was not allowed (HTTP status code 403)  | 
      
| 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 404, 409 or 410)  | 
      
| PlatformException | if something went wrong at the Worldline Global Collect platform, the Worldline Global Collect 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 500, 502 or 503)  | 
      
| ApiException | if the Worldline Global Collect 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 | 
|---|---|
| IdempotenceException | if an idempotent request caused a conflict (HTTP status code 409)  | 
      
| ValidationException | if the request was not correct and couldn't be processed (HTTP status code 400)  | 
      
| AuthorizationException | if the request was not allowed (HTTP status code 403)  | 
      
| 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 404, 409 or 410)  | 
      
| PlatformException | if something went wrong at the Worldline Global Collect platform, the Worldline Global Collect 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 500, 502 or 503)  | 
      
| ApiException | if the Worldline Global Collect 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 | 
|---|---|
| IdempotenceException | if an idempotent request caused a conflict (HTTP status code 409)  | 
      
| ValidationException | if the request was not correct and couldn't be processed (HTTP status code 400)  | 
      
| AuthorizationException | if the request was not allowed (HTTP status code 403)  | 
      
| 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 404, 409 or 410)  | 
      
| PlatformException | if something went wrong at the Worldline Global Collect platform, the Worldline Global Collect 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 500, 502 or 503)  | 
      
| ApiException | if the Worldline Global Collect 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 | 
|---|---|
| IdempotenceException | if an idempotent request caused a conflict (HTTP status code 409)  | 
      
| ValidationException | if the request was not correct and couldn't be processed (HTTP status code 400)  | 
      
| AuthorizationException | if the request was not allowed (HTTP status code 403)  | 
      
| 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 404, 409 or 410)  | 
      
| PlatformException | if something went wrong at the Worldline Global Collect platform, the Worldline Global Collect 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 500, 502 or 503)  | 
      
| ApiException | if the Worldline Global Collect platform returned any other error  |