Source code for worldline.connect.sdk.v1.merchant.tokens.delete_token_params

# -*- coding: utf-8 -*-
#
# This class was auto-generated from the API references found at
# https://apireference.connect.worldline-solutions.com/
#
from worldline.connect.sdk.communication.param_request import ParamRequest
from worldline.connect.sdk.communication.request_param import RequestParam


[docs]class DeleteTokenParams(ParamRequest): """ Query parameters for Delete token See also https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/python/tokens/delete.html """ __mandate_cancel_date = None @property def mandate_cancel_date(self): """ | Date of the mandate cancellation | Format: YYYYMMDD Type: str """ return self.__mandate_cancel_date @mandate_cancel_date.setter def mandate_cancel_date(self, value): self.__mandate_cancel_date = value
[docs] def to_request_parameters(self): """ :return: list[RequestParam] """ result = [] if self.mandate_cancel_date is not None: result.append(RequestParam("mandateCancelDate", self.mandate_cancel_date)) return result