Class GetPaymentProductNetworksParams

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

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

    • GetPaymentProductNetworksParams

      public GetPaymentProductNetworksParams()
  • 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 GetPaymentProductNetworksParams withCountryCode(String value)
      ISO 3166-1 alpha-2 country code
    • getCurrencyCode

      public String getCurrencyCode()
      Three-letter ISO currency code representing the currency for the amount
    • setCurrencyCode

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

      public GetPaymentProductNetworksParams withCurrencyCode(String value)
      Three-letter ISO currency code representing the currency for the amount
    • getAmount

      public Long getAmount()
      Amount in cents and always having 2 decimals
    • setAmount

      public void setAmount(Long value)
      Amount in cents and always having 2 decimals
    • withAmount

      public GetPaymentProductNetworksParams withAmount(Long value)
      Amount in cents and always having 2 decimals
    • getIsRecurring

      public Boolean getIsRecurring()
      This allows you to filter networks based on their support for recurring or not
      • true
      • false
    • setIsRecurring

      public void setIsRecurring(Boolean value)
      This allows you to filter networks based on their support for recurring or not
      • true
      • false
    • withIsRecurring

      public GetPaymentProductNetworksParams withIsRecurring(Boolean value)
      This allows you to filter networks based on their support for recurring or not
      • true
      • false
    • toRequestParameters

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