Class GetPrivacyPolicyParams

java.lang.Object
com.onlinepayments.merchant.privacypolicy.GetPrivacyPolicyParams
All Implemented Interfaces:
ParamRequest

public class GetPrivacyPolicyParams extends Object implements ParamRequest
Query parameters for Get Privacy Policy (/v2/{merchantId}/services/privacypolicy)
  • Constructor Details

    • GetPrivacyPolicyParams

      public GetPrivacyPolicyParams()
  • Method Details

    • getLocale

      public String getLocale()
      Locale in which the privacy policy will be returned.
    • setLocale

      public void setLocale(String value)
      Locale in which the privacy policy will be returned.
    • withLocale

      public GetPrivacyPolicyParams withLocale(String value)
      Locale in which the privacy policy will be returned.
    • getPaymentProductId

      public Integer 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

      public void setPaymentProductId(Integer value)
      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

      public GetPrivacyPolicyParams withPaymentProductId(Integer value)
      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

      public List<RequestParam> toRequestParameters()
      Specified by:
      toRequestParameters in interface ParamRequest