Class GetProductGroupParams
java.lang.Object
com.onlinepayments.merchant.productgroups.GetProductGroupParams
- All Implemented Interfaces:
ParamRequest
Query parameters for
Get product group (/v2/{merchantId}/productgroups/{paymentProductGroupId})
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAllows you to hide elements from the response, reducing the amount of data that needs to be returned to your client.Whole amount in cents (not containing any decimals)ISO 3166-1 alpha-2 country code of the transactionThree-letter ISO currency code representing the currency for the amountgetHide()Allows you to hide elements from the response, reducing the amount of data that needs to be returned to your client.This allows you to filter payment products based on their support for recurring payments.Deprecated: This field has no effect.voidWhole amount in cents (not containing any decimals)voidsetCountryCode(String value) ISO 3166-1 alpha-2 country code of the transactionvoidsetCurrencyCode(String value) Three-letter ISO currency code representing the currency for the amountvoidAllows you to hide elements from the response, reducing the amount of data that needs to be returned to your client.voidsetIsRecurring(Boolean value) This allows you to filter payment products based on their support for recurring payments.voidDeprecated: This field has no effect.withAmount(Long value) Whole amount in cents (not containing any decimals)withCountryCode(String value) ISO 3166-1 alpha-2 country code of the transactionwithCurrencyCode(String value) Three-letter ISO currency code representing the currency for the amountAllows you to hide elements from the response, reducing the amount of data that needs to be returned to your client.withIsRecurring(Boolean value) This allows you to filter payment products based on their support for recurring payments.withLocale(String value) Deprecated: This field has no effect.
-
Constructor Details
-
GetProductGroupParams
public GetProductGroupParams()
-
-
Method Details
-
getCountryCode
ISO 3166-1 alpha-2 country code of the transaction -
setCountryCode
ISO 3166-1 alpha-2 country code of the transaction -
withCountryCode
ISO 3166-1 alpha-2 country code of the transaction -
getCurrencyCode
Three-letter ISO currency code representing the currency for the amount -
setCurrencyCode
Three-letter ISO currency code representing the currency for the amount -
withCurrencyCode
Three-letter ISO currency code representing the currency for the amount -
getLocale
Deprecated: This field has no effect. -
setLocale
Deprecated: This field has no effect. -
withLocale
Deprecated: This field has no effect. -
getAmount
Whole amount in cents (not containing any decimals) -
setAmount
Whole amount in cents (not containing any decimals) -
withAmount
Whole amount in cents (not containing any decimals) -
getIsRecurring
This allows you to filter payment products based on their support for recurring payments.- true - return only payment products that support recurring payments,
- false - return all payment products that support one-time transactions. Payment products that support recurring products are usually also part of this list.
-
setIsRecurring
This allows you to filter payment products based on their support for recurring payments.- true - return only payment products that support recurring payments,
- false - return all payment products that support one-time transactions. Payment products that support recurring products are usually also part of this list.
-
withIsRecurring
This allows you to filter payment products based on their support for recurring payments.- true - return only payment products that support recurring payments,
- false - return all payment products that support one-time transactions. Payment products that support recurring products are usually also part of this list.
-
getHide
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 - Do not return any data on fields of the payment product
- accountsOnFile - Do not return any accounts on file data
- translations - Do not return any label texts associated with the payment products
- productsWithoutFields - Do not return products that require any additional data to be captured
- productsWithoutInstructions - Do not return products that show instructions
- productsWithRedirects - Do not return products that require a redirect to a 3rd party. Note that products that involve potential redirects related to 3D Secure authentication are not hidden
-
setHide
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 - Do not return any data on fields of the payment product
- accountsOnFile - Do not return any accounts on file data
- translations - Do not return any label texts associated with the payment products
- productsWithoutFields - Do not return products that require any additional data to be captured
- productsWithoutInstructions - Do not return products that show instructions
- productsWithRedirects - Do not return products that require a redirect to a 3rd party. Note that products that involve potential redirects related to 3D Secure authentication are not hidden
-
withHide
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 - Do not return any data on fields of the payment product
- accountsOnFile - Do not return any accounts on file data
- translations - Do not return any label texts associated with the payment products
- productsWithoutFields - Do not return products that require any additional data to be captured
- productsWithoutInstructions - Do not return products that show instructions
- productsWithRedirects - Do not return products that require a redirect to a 3rd party. Note that products that involve potential redirects related to 3D Secure authentication are not hidden
-
addHide
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 - Do not return any data on fields of the payment product
- accountsOnFile - Do not return any accounts on file data
- translations - Do not return any label texts associated with the payment products
- productsWithoutFields - Do not return products that require any additional data to be captured
- productsWithoutInstructions - Do not return products that show instructions
- productsWithRedirects - Do not return products that require a redirect to a 3rd party. Note that products that involve potential redirects related to 3D Secure authentication are not hidden
-
toRequestParameters
- Specified by:
toRequestParametersin interfaceParamRequest
-