Source code for ingenico.connect.sdk.domain.payment.definitions.redirect_payment_product869_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 RedirectPaymentProduct869SpecificInput(DataObject):
__issuer_id = None
__resident_id_name = None
__resident_id_number = None
@property
def issuer_id(self):
"""
| ID of the issuing bank of the customer. A list of available issuerIDs can be obtained by using the retrieve payment product directory API.
Type: str
"""
return self.__issuer_id
@issuer_id.setter
def issuer_id(self, value):
self.__issuer_id = value
@property
def resident_id_name(self):
"""
| The name as described on the Resident Identity Card of the People's Republic of China.
Type: str
"""
return self.__resident_id_name
@resident_id_name.setter
def resident_id_name(self, value):
self.__resident_id_name = value
@property
def resident_id_number(self):
"""
| The identification number as described on the Resident Identity Card of the People's Republic of China.
Type: str
"""
return self.__resident_id_number
@resident_id_number.setter
def resident_id_number(self, value):
self.__resident_id_number = value
[docs] def to_dictionary(self):
dictionary = super(RedirectPaymentProduct869SpecificInput, self).to_dictionary()
if self.issuer_id is not None:
dictionary['issuerId'] = self.issuer_id
if self.resident_id_name is not None:
dictionary['residentIdName'] = self.resident_id_name
if self.resident_id_number is not None:
dictionary['residentIdNumber'] = self.resident_id_number
return dictionary
[docs] def from_dictionary(self, dictionary):
super(RedirectPaymentProduct869SpecificInput, self).from_dictionary(dictionary)
if 'issuerId' in dictionary:
self.issuer_id = dictionary['issuerId']
if 'residentIdName' in dictionary:
self.resident_id_name = dictionary['residentIdName']
if 'residentIdNumber' in dictionary:
self.resident_id_number = dictionary['residentIdNumber']
return self