Class GetPrivacyPolicyParams
java.lang.Object
com.onlinepayments.merchant.privacypolicy.GetPrivacyPolicyParams
- All Implemented Interfaces:
ParamRequest
Query parameters for
Get Privacy Policy (/v2/{merchantId}/services/privacypolicy)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionLocale in which the privacy policy will be returned.ID of the specific payment product for which you wish to retrieve the privacy policy.voidLocale in which the privacy policy will be returned.voidsetPaymentProductId(Integer value) ID of the specific payment product for which you wish to retrieve the privacy policy.withLocale(String value) Locale in which the privacy policy will be returned.withPaymentProductId(Integer value) ID of the specific payment product for which you wish to retrieve the privacy policy.
-
Constructor Details
-
GetPrivacyPolicyParams
public GetPrivacyPolicyParams()
-
-
Method Details
-
getLocale
Locale in which the privacy policy will be returned. -
setLocale
Locale in which the privacy policy will be returned. -
withLocale
Locale in which the privacy policy will be returned. -
getPaymentProductId
ID of the specific payment product for which you wish to retrieve the privacy policy. When none is provided you will receive a complete policy for all the payment methods available for the specified merchantId. -
setPaymentProductId
ID of the specific payment product for which you wish to retrieve the privacy policy. When none is provided you will receive a complete policy for all the payment methods available for the specified merchantId. -
withPaymentProductId
ID of the specific payment product for which you wish to retrieve the privacy policy. When none is provided you will receive a complete policy for all the payment methods available for the specified merchantId. -
toRequestParameters
- Specified by:
toRequestParametersin interfaceParamRequest
-