Class: Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Refunds::GetRefundParams
- Inherits:
-
Communication::ParamRequest
- Object
- Communication::ParamRequest
- Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Refunds::GetRefundParams
- Defined in:
- lib/worldline/acquiring/sdk/v1/acquirer/merchant/refunds/get_refund_params.rb
Overview
Query parameters for Retrieve refund
Instance Attribute Summary collapse
-
#return_operations ⇒ true/false
The current value of return_operations.
Instance Method Summary collapse
-
#to_request_parameters ⇒ Array<Worldline::Acquiring::SDK::Communication::RequestParam>
Representing the attributes of this class.
Instance Attribute Details
#return_operations ⇒ true/false
Returns the current value of return_operations.
17 18 19 |
# File 'lib/worldline/acquiring/sdk/v1/acquirer/merchant/refunds/get_refund_params.rb', line 17 def return_operations @return_operations end |
Instance Method Details
#to_request_parameters ⇒ Array<Worldline::Acquiring::SDK::Communication::RequestParam>
Returns representing the attributes of this class.
22 23 24 25 26 |
# File 'lib/worldline/acquiring/sdk/v1/acquirer/merchant/refunds/get_refund_params.rb', line 22 def to_request_parameters result = [] result << RequestParam.new('returnOperations', @return_operations.to_s) unless @return_operations.nil? result end |