Source code for ingenico.connect.sdk.domain.payment.definitions.abstract_sepa_direct_debit_payment_product771_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 AbstractSepaDirectDebitPaymentProduct771SpecificInput(DataObject):
__mandate_reference = None
@property
def mandate_reference(self):
"""
Type: str
Deprecated; Use existingUniqueMandateReference or mandate.uniqueMandateReference instead
"""
return self.__mandate_reference
@mandate_reference.setter
def mandate_reference(self, value):
self.__mandate_reference = value
[docs] def to_dictionary(self):
dictionary = super(AbstractSepaDirectDebitPaymentProduct771SpecificInput, self).to_dictionary()
if self.mandate_reference is not None:
dictionary['mandateReference'] = self.mandate_reference
return dictionary
[docs] def from_dictionary(self, dictionary):
super(AbstractSepaDirectDebitPaymentProduct771SpecificInput, self).from_dictionary(dictionary)
if 'mandateReference' in dictionary:
self.mandate_reference = dictionary['mandateReference']
return self