pagarmeapisdk/models/create_emv_decrypt_request.py
def from_dictionary(cls,
                        dictionary):
        """Creates an instance of this model from a dictionary

        Args:
            dictionary (dictionary): A dictionary representation of the object
            as obtained from the deserialization of the server's response. The
            keys MUST match property names in the API description.

        Returns:
            object: An instance of this structure class.

        """
        if dictionary is None:
            return None

        # Extract variables from the dictionary
        icc_data = dictionary.get('icc_data')
        card_sequence_number = dictionary.get('card_sequence_number')
        data = CreateEmvDataDecryptRequest.from_dictionary(dictionary.get('data')) if dictionary.get('data') else None
        poi = CreateCardPaymentContactlessPOIRequest.from_dictionary(dictionary.get('poi')) if dictionary.get('poi') else None

        # Return an object of this model
        return cls(icc_data,
                   card_sequence_number,
                   data,
                   poi)
Creates an instance of this model from a dictionary

        Args:
            dictionary (dictionary): A dictionary representation of the object
            as obtained from the deserialization of the server's response. The
            keys MUST match property names in the API description.

        Returns:
            object: An instance of this structure class.

        
Creates an instance of this model from a dictionary
Args:
dictionary (dictionary): A dictionary representation of the object
as obtained from the deserialization of the server's response. The
keys MUST match property names in the API description.

An instance of this structure class.
Creates an instance of this model from a dictionary Args : dictionary ( dictionary ) : A dictionary representation of the object as obtained from the deserialization of the server ' s response . The keys MUST match property names in the API description . An instance of this structure class .
def from_dictionary(cls,
                        dictionary):
        if dictionary is None:
            return None
        icc_data = dictionary.get('icc_data')
        card_sequence_number = dictionary.get('card_sequence_number')
        data = CreateEmvDataDecryptRequest.from_dictionary(dictionary.get('data')) if dictionary.get('data') else None
        poi = CreateCardPaymentContactlessPOIRequest.from_dictionary(dictionary.get('poi')) if dictionary.get('poi') else None
        return cls(icc_data,
                   card_sequence_number,
                   data,
                   poi)
def from_dictionary ( cls , dictionary ) : if dictionary is None : return None icc_data = dictionary . get ( 'icc_data' ) card_sequence_number = dictionary . get ( 'card_sequence_number' ) data = CreateEmvDataDecryptRequest . from_dictionary ( dictionary . get ( 'data' ) ) if dictionary . get ( 'data' ) else None poi = CreateCardPaymentContactlessPOIRequest . from_dictionary ( dictionary . get ( 'poi' ) ) if dictionary . get ( 'poi' ) else None return cls ( icc_data , card_sequence_number , data , poi )
Creates an instance of this model from a dictionary
Args:
dictionary (dictionary): A dictionary representation of the object
as obtained from the deserialization of the server's response.
Creates an instance of this model from a dictionary Args : dictionary ( dictionary ) : A dictionary representation of the object as obtained from the deserialization of the server ' s response .
"""Creates an instance of this model from a dictionary

        Args:
            dictionary (dictionary): A dictionary representation of the object
            as obtained from the deserialization of the server's response. The
            keys MUST match property names in the API description.

        Returns:
            object: An instance of this structure class.

        """ # Extract variables from the dictionary
 # Return an object of this model

cls
dictionary