public class GetPaymentProductsParams extends Object implements ParamRequest
| Constructor and Description |
|---|
GetPaymentProductsParams() |
| Modifier and Type | Method and Description |
|---|---|
void |
addHide(String value)
Allows you to hide elements from the response, reducing the amount of data that needs to be returned to your client.
|
Long |
getAmount()
Whole amount in cents (not containing any decimals)
|
String |
getCountryCode()
ISO 3166-1 alpha-2 country code of the transaction
|
String |
getCurrencyCode()
Three-letter ISO currency code representing the currency for the amount
|
List<String> |
getHide()
Allows you to hide elements from the response, reducing the amount of data that needs to be returned to your client.
|
Boolean |
getIsRecurring()
This allows you to filter payment products based on their support for recurring payments.
|
String |
getLocale()
Locale used in the GUI towards the consumer.
|
void |
setAmount(Long value)
Whole amount in cents (not containing any decimals)
|
void |
setCountryCode(String value)
ISO 3166-1 alpha-2 country code of the transaction
|
void |
setCurrencyCode(String value)
Three-letter ISO currency code representing the currency for the amount
|
void |
setHide(List<String> value)
Allows you to hide elements from the response, reducing the amount of data that needs to be returned to your client.
|
void |
setIsRecurring(Boolean value)
This allows you to filter payment products based on their support for recurring payments.
|
void |
setLocale(String value)
Locale used in the GUI towards the consumer.
|
List<RequestParam> |
toRequestParameters() |
GetPaymentProductsParams |
withAmount(Long value)
Whole amount in cents (not containing any decimals)
|
GetPaymentProductsParams |
withCountryCode(String value)
ISO 3166-1 alpha-2 country code of the transaction
|
GetPaymentProductsParams |
withCurrencyCode(String value)
Three-letter ISO currency code representing the currency for the amount
|
GetPaymentProductsParams |
withIsRecurring(Boolean value)
This allows you to filter payment products based on their support for recurring payments.
|
GetPaymentProductsParams |
withLocale(String value)
Locale used in the GUI towards the consumer.
|
public String getCountryCode()
public void setCountryCode(String value)
public GetPaymentProductsParams withCountryCode(String value)
public String getCurrencyCode()
public void setCurrencyCode(String value)
public GetPaymentProductsParams withCurrencyCode(String value)
public String getLocale()
public void setLocale(String value)
public GetPaymentProductsParams withLocale(String value)
public Long getAmount()
public void setAmount(Long value)
public GetPaymentProductsParams withAmount(Long value)
public Boolean getIsRecurring()
public void setIsRecurring(Boolean value)
public GetPaymentProductsParams withIsRecurring(Boolean value)
public List<String> getHide()
public void setHide(List<String> value)
public void addHide(String value)
public List<RequestParam> toRequestParameters()
toRequestParameters in interface ParamRequestCopyright © 2024 Worldline Online Payments Direct. All rights reserved.