Class: Worldline::Acquiring::SDK::V1::Acquirer::Merchant::Payments::GetPaymentStatusParams

Inherits:
Communication::ParamRequest show all
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

Instance Method Summary collapse

Instance Attribute Details

#return_operationstrue/false

Returns the current value of return_operations.

Returns:

  • (true/false)

    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_parametersArray<Worldline::Acquiring::SDK::Communication::RequestParam>

Returns representing the attributes of this class.

Returns:



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