class Ingenico::Connect::SDK::Merchant::Payments::FindPaymentsParams

Query parameters for {epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/payments/find.html Find payments} @attr [String] hosted_checkout_id @attr [String] merchant_reference @attr [Integer] merchant_order_id @attr [Integer] offset @attr [Integer] limit

Attributes

hosted_checkout_id[RW]
limit[RW]
merchant_order_id[RW]
merchant_reference[RW]
offset[RW]

Public Instance Methods

to_request_parameters() click to toggle source

@return [Array<Ingenico::Connect::SDK::RequestParam>] representing the attributes of this class

# File lib/ingenico/connect/sdk/merchant/payments/find_payments_params.rb, line 31
def to_request_parameters
  result = []
  result << RequestParam.new('hostedCheckoutId', @hosted_checkout_id) unless @hosted_checkout_id.nil?
  result << RequestParam.new('merchantReference', @merchant_reference) unless @merchant_reference.nil?
  result << RequestParam.new('merchantOrderId', @merchant_order_id.to_s) unless @merchant_order_id.nil?
  result << RequestParam.new('offset', @offset.to_s) unless @offset.nil?
  result << RequestParam.new('limit', @limit.to_s) unless @limit.nil?
  result
end