Source code for worldline.connect.sdk.v1.domain.sdk_data_output

# -*- 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 SdkDataOutput(DataObject): __sdk_transaction_id: Optional[str] = None @property def sdk_transaction_id(self) -> Optional[str]: """ | Universally unique transaction identifier assigned by the 3-D Secure SDK to identify this transaction. Type: str """ return self.__sdk_transaction_id @sdk_transaction_id.setter def sdk_transaction_id(self, value: Optional[str]) -> None: self.__sdk_transaction_id = value
[docs] def to_dictionary(self) -> dict: dictionary = super(SdkDataOutput, self).to_dictionary() if self.sdk_transaction_id is not None: dictionary['sdkTransactionId'] = self.sdk_transaction_id return dictionary
[docs] def from_dictionary(self, dictionary: dict) -> 'SdkDataOutput': super(SdkDataOutput, self).from_dictionary(dictionary) if 'sdkTransactionId' in dictionary: self.sdk_transaction_id = dictionary['sdkTransactionId'] return self