Class GetProductParams
Inheritance
GetProductParams
Assembly: connect-sdk-dotnet.dll
Syntax
public class GetProductParams : AbstractParamRequest
Properties
Amount
Amount in cents and always having 2 decimals
Declaration
public long? Amount { get; set; }
Property Value
CountryCode
ISO 3166-1 alpha-2 country code
Declaration
public string CountryCode { get; set; }
Property Value
CurrencyCode
Three-letter ISO currency code representing the currency for the amount
Declaration
public string CurrencyCode { get; set; }
Property Value
ForceBasicFlow
Relevant only for payment product 3012 (Bancontact). A boolean that indicates if you want to force the response to return the fields of the basic flow. This can be useful in corner cases where you have enabled the enhanced flow which supports payment with the Bancontact app, but need access to the product fields without creating a payment first.
Declaration
public bool? ForceBasicFlow { get; set; }
Property Value
Hide
Allows you to hide elements from the response, reducing the amount of data that needs to be returned to your client. Possible options are:
- fields - Don't return any data on fields of the payment product
- accountsOnFile - Don't return any accounts on file data
- translations - Don't return any label texts associated with the payment products
Declaration
public IList<string> Hide { get; set; }
Property Value
IsInstallments
This allows you to filter payment products based on their support for installments or not
If this is omitted all payment products are returned.
Declaration
public bool? IsInstallments { get; set; }
Property Value
IsRecurring
This allows you to filter payment products based on their support for recurring or not
If this is omitted all payment products are returned.
Declaration
public bool? IsRecurring { get; set; }
Property Value
Locale
Locale used in the GUI towards the consumer. Please make sure that a language pack is configured for the locale you are submitting. If you submit a locale that is not setup on your account we will use the default language pack for your account. You can easily upload additional language packs and set the default language pack in the Configuration Center.
Declaration
public string Locale { get; set; }
Property Value
Methods
AddHide(string)
Declaration
public void AddHide(string value)
Parameters
Type |
Name |
Description |
string |
value |
|
ToRequestParameters()
Declaration
public override IEnumerable<RequestParam> ToRequestParameters()
Returns
Overrides