Source code for ingenico.connect.sdk.domain.product.definitions.mobile_payment_product_session302_specific_output

# -*- 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 MobilePaymentProductSession302SpecificOutput(DataObject): __session_object = None @property def session_object(self): """ | Object containing an opaque merchant session object. Type: str """ return self.__session_object @session_object.setter def session_object(self, value): self.__session_object = value
[docs] def to_dictionary(self): dictionary = super(MobilePaymentProductSession302SpecificOutput, self).to_dictionary() if self.session_object is not None: dictionary['sessionObject'] = self.session_object return dictionary
[docs] def from_dictionary(self, dictionary): super(MobilePaymentProductSession302SpecificOutput, self).from_dictionary(dictionary) if 'sessionObject' in dictionary: self.session_object = dictionary['sessionObject'] return self