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

# -*- coding: utf-8 -*-
#
# This class was auto-generated from the API references found at
# https://apireference.connect.worldline-solutions.com/
#
from worldline.connect.sdk.domain.data_object import DataObject


[docs]class TokenEWalletData(DataObject): __billing_agreement_id = None @property def billing_agreement_id(self): """ | Identification of the PayPal recurring billing agreement Type: str """ return self.__billing_agreement_id @billing_agreement_id.setter def billing_agreement_id(self, value): self.__billing_agreement_id = value
[docs] def to_dictionary(self): dictionary = super(TokenEWalletData, self).to_dictionary() if self.billing_agreement_id is not None: dictionary['billingAgreementId'] = self.billing_agreement_id return dictionary
[docs] def from_dictionary(self, dictionary): super(TokenEWalletData, self).from_dictionary(dictionary) if 'billingAgreementId' in dictionary: self.billing_agreement_id = dictionary['billingAgreementId'] return self