Source code for ingenico.connect.sdk.domain.payment.definitions.cash_payment_product1503_specific_input

# -*- coding: utf-8 -*-
#
# This class was auto-generated from the API references found at
# https://epayments-api.developer-ingenico.com/
#
from ingenico.connect.sdk.data_object import DataObject


[docs]class CashPaymentProduct1503SpecificInput(DataObject): """ Deprecated; No replacement """ __return_url = None @property def return_url(self): """ | The URL that the customer is redirect to after the payment flow has finished. You can add any number of key value pairs in the query string that, for instance help you to identify the customer when they return to your site. Please note that we will also append some additional key value pairs that will also help you with this identification process. | Note: The provided URL should be absolute and contain the protocol to use, e.g. http:// or https://. For use on mobile devices a custom protocol can be used in the form of *protocol*://. This protocol must be registered on the device first. | URLs without a protocol will be rejected. Type: str Deprecated; No replacement, since Boleto Bancario no longer needs a return URL """ return self.__return_url @return_url.setter def return_url(self, value): self.__return_url = value
[docs] def to_dictionary(self): dictionary = super(CashPaymentProduct1503SpecificInput, self).to_dictionary() if self.return_url is not None: dictionary['returnUrl'] = self.return_url return dictionary
[docs] def from_dictionary(self, dictionary): super(CashPaymentProduct1503SpecificInput, self).from_dictionary(dictionary) if 'returnUrl' in dictionary: self.return_url = dictionary['returnUrl'] return self