Class: Worldline::Connect::SDK::V1::Merchant::Services::PrivacypolicyParams
- Inherits:
-
Communication::ParamRequest
- Object
- Communication::ParamRequest
- Worldline::Connect::SDK::V1::Merchant::Services::PrivacypolicyParams
- Defined in:
- lib/worldline/connect/sdk/v1/merchant/services/privacypolicy_params.rb
Overview
Query parameters for Get privacy policy
Instance Attribute Summary collapse
-
#locale ⇒ String
The current value of locale.
-
#payment_product_id ⇒ Integer
The current value of payment_product_id.
Instance Method Summary collapse
-
#to_request_parameters ⇒ Array<Worldline::Connect::SDK::Communication::RequestParam>
Representing the attributes of this class.
Instance Attribute Details
#locale ⇒ String
Returns the current value of locale.
18 19 20 |
# File 'lib/worldline/connect/sdk/v1/merchant/services/privacypolicy_params.rb', line 18 def locale @locale end |
#payment_product_id ⇒ Integer
Returns the current value of payment_product_id.
18 19 20 |
# File 'lib/worldline/connect/sdk/v1/merchant/services/privacypolicy_params.rb', line 18 def payment_product_id @payment_product_id end |
Instance Method Details
#to_request_parameters ⇒ Array<Worldline::Connect::SDK::Communication::RequestParam>
Returns representing the attributes of this class.
25 26 27 28 29 30 |
# File 'lib/worldline/connect/sdk/v1/merchant/services/privacypolicy_params.rb', line 25 def to_request_parameters result = [] result << RequestParam.new('locale', @locale) unless @locale.nil? result << RequestParam.new('paymentProductId', @payment_product_id.to_s) unless @payment_product_id.nil? result end |