Source code for worldline.connect.sdk.v1.domain.redirect_payment_product882_specific_input
# -*- coding: utf-8 -*-
#
# This class was auto-generated from the API references found at
# https://apireference.connect.worldline-solutions.com/
#
from typing import Optional
from worldline.connect.sdk.domain.data_object import DataObject
[docs]
class RedirectPaymentProduct882SpecificInput(DataObject):
"""
| Please find below specific input fields for payment product 882 (Net Banking)
"""
__issuer_id: Optional[str] = None
@property
def issuer_id(self) -> Optional[str]:
"""
| 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: Optional[str]) -> None:
self.__issuer_id = value
[docs]
def to_dictionary(self) -> dict:
dictionary = super(RedirectPaymentProduct882SpecificInput, self).to_dictionary()
if self.issuer_id is not None:
dictionary['issuerId'] = self.issuer_id
return dictionary
[docs]
def from_dictionary(self, dictionary: dict) -> 'RedirectPaymentProduct882SpecificInput':
super(RedirectPaymentProduct882SpecificInput, self).from_dictionary(dictionary)
if 'issuerId' in dictionary:
self.issuer_id = dictionary['issuerId']
return self