Class: Worldline::Connect::SDK::V1::Merchant::Tokens::DeleteTokenParams

Inherits:
Communication::ParamRequest show all
Defined in:
lib/worldline/connect/sdk/v1/merchant/tokens/delete_token_params.rb

Overview

Query parameters for Delete token

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#mandate_cancel_dateString

Returns the current value of mandate_cancel_date.

Returns:

  • (String)

    the current value of mandate_cancel_date



17
18
19
# File 'lib/worldline/connect/sdk/v1/merchant/tokens/delete_token_params.rb', line 17

def mandate_cancel_date
  @mandate_cancel_date
end

Instance Method Details

#to_request_parametersArray<Worldline::Connect::SDK::Communication::RequestParam>

Returns representing the attributes of this class.

Returns:



22
23
24
25
26
# File 'lib/worldline/connect/sdk/v1/merchant/tokens/delete_token_params.rb', line 22

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