Class: Ingenico::Connect::SDK::Merchant::Payouts::FindPayoutsParams
- Inherits:
-
ParamRequest
- Object
- ParamRequest
- Ingenico::Connect::SDK::Merchant::Payouts::FindPayoutsParams
- Defined in:
- lib/ingenico/connect/sdk/merchant/payouts/find_payouts_params.rb
Overview
Query parameters for Find payouts
Instance Attribute Summary collapse
-
#limit ⇒ Integer
The current value of limit.
-
#merchant_order_id ⇒ Integer
The current value of merchant_order_id.
-
#merchant_reference ⇒ String
The current value of merchant_reference.
-
#offset ⇒ Integer
The current value of offset.
Instance Method Summary collapse
-
#to_request_parameters ⇒ Array<Ingenico::Connect::SDK::RequestParam>
Representing the attributes of this class.
Instance Attribute Details
#limit ⇒ Integer
17 18 19 |
# File 'lib/ingenico/connect/sdk/merchant/payouts/find_payouts_params.rb', line 17 def limit @limit end |
#merchant_order_id ⇒ Integer
17 18 19 |
# File 'lib/ingenico/connect/sdk/merchant/payouts/find_payouts_params.rb', line 17 def merchant_order_id @merchant_order_id end |
#merchant_reference ⇒ String
17 18 19 |
# File 'lib/ingenico/connect/sdk/merchant/payouts/find_payouts_params.rb', line 17 def merchant_reference @merchant_reference end |
#offset ⇒ Integer
17 18 19 |
# File 'lib/ingenico/connect/sdk/merchant/payouts/find_payouts_params.rb', line 17 def offset @offset end |
Instance Method Details
#to_request_parameters ⇒ Array<Ingenico::Connect::SDK::RequestParam>
28 29 30 31 32 33 34 35 |
# File 'lib/ingenico/connect/sdk/merchant/payouts/find_payouts_params.rb', line 28 def to_request_parameters result = [] 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 |