Class: Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Payments::GetPaymentStatusParams
- Inherits:
-
Communication::ParamRequest
- Object
- Communication::ParamRequest
- Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Payments::GetPaymentStatusParams
- Defined in:
- lib/worldline/acquiring/sdk/v1/acquirer/merchant/payments/get_payment_status_params.rb
Overview
Query parameters for Retrieve payment
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/payments/get_payment_status_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/payments/get_payment_status_params.rb', line 22 def to_request_parameters result = [] result << RequestParam.new('returnOperations', @return_operations.to_s) unless @return_operations.nil? result end |