Class GetProductDirectoryParams

java.lang.Object
com.onlinepayments.merchant.products.GetProductDirectoryParams
All Implemented Interfaces:
ParamRequest

public class GetProductDirectoryParams extends Object implements ParamRequest
Query parameters for Get payment product directory (/v2/{merchantId}/products/{paymentProductId}/directory)
  • Constructor Details

    • GetProductDirectoryParams

      public GetProductDirectoryParams()
  • Method Details

    • getCountryCode

      public String getCountryCode()
      ISO 3166-1 alpha-2 country code
    • setCountryCode

      public void setCountryCode(String value)
      ISO 3166-1 alpha-2 country code
    • withCountryCode

      public GetProductDirectoryParams withCountryCode(String value)
      ISO 3166-1 alpha-2 country code
    • getCurrencyCode

      public String getCurrencyCode()
      Three-letter ISO currency code representing the currency of the transaction
    • setCurrencyCode

      public void setCurrencyCode(String value)
      Three-letter ISO currency code representing the currency of the transaction
    • withCurrencyCode

      public GetProductDirectoryParams withCurrencyCode(String value)
      Three-letter ISO currency code representing the currency of the transaction
    • toRequestParameters

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