Class: OnlinePayments::SDK::Merchant::PaymentLinks::GetPaymentLinksInBulkParams

Inherits:
Communication::ParamRequest show all
Defined in:
lib/onlinepayments/sdk/merchant/paymentlinks/get_payment_links_in_bulk_params.rb

Overview

Query parameters for Get payment links (/v2/merchantId/paymentlinks)

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#operation_group_referenceString

Returns the current value of operation_group_reference.

Returns:

  • (String)

    the current value of operation_group_reference



14
15
16
# File 'lib/onlinepayments/sdk/merchant/paymentlinks/get_payment_links_in_bulk_params.rb', line 14

def operation_group_reference
  @operation_group_reference
end

Instance Method Details

#to_request_parametersArray<OnlinePayments::SDK::Communication::RequestParam>

Returns representing the attributes of this class.

Returns:



19
20
21
22
23
# File 'lib/onlinepayments/sdk/merchant/paymentlinks/get_payment_links_in_bulk_params.rb', line 19

def to_request_parameters
  result = []
  result << RequestParam.new('operationGroupReference', @operation_group_reference) unless @operation_group_reference.nil?
  result
end