docusign_esign.models.direct_debit_processor_information

Docusign eSignature REST API

The Docusign eSignature REST API provides you with a powerful, convenient, and simple Web services API for interacting with Docusign. # noqa: E501

OpenAPI spec version: v2.1 Contact: devcenter@docusign.com Generated by: https://github.com/swagger-api/swagger-codegen.git

  1# coding: utf-8
  2
  3"""
  4    Docusign eSignature REST API
  5
  6    The Docusign eSignature REST API provides you with a powerful, convenient, and simple Web services API for interacting with Docusign.  # noqa: E501
  7
  8    OpenAPI spec version: v2.1
  9    Contact: devcenter@docusign.com
 10    Generated by: https://github.com/swagger-api/swagger-codegen.git
 11"""
 12
 13
 14import pprint
 15import re  # noqa: F401
 16
 17import six
 18
 19from docusign_esign.client.configuration import Configuration
 20
 21
 22class DirectDebitProcessorInformation(object):
 23    """NOTE: This class is auto generated by the swagger code generator program.
 24
 25    Do not edit the class manually.
 26    """
 27
 28    """
 29    Attributes:
 30      swagger_types (dict): The key is attribute name
 31                            and the value is attribute type.
 32      attribute_map (dict): The key is attribute name
 33                            and the value is json key in definition.
 34    """
 35    swagger_types = {
 36        'bank_branch_code': 'str',
 37        'bank_check_digit': 'str',
 38        'bank_code': 'str',
 39        'bank_name': 'str',
 40        'bank_transfer_account_name': 'str',
 41        'bank_transfer_account_number': 'str',
 42        'bank_transfer_type': 'str',
 43        'country': 'str',
 44        'email': 'str',
 45        'first_name': 'str',
 46        'i_ban': 'str',
 47        'last_name': 'str'
 48    }
 49
 50    attribute_map = {
 51        'bank_branch_code': 'bankBranchCode',
 52        'bank_check_digit': 'bankCheckDigit',
 53        'bank_code': 'bankCode',
 54        'bank_name': 'bankName',
 55        'bank_transfer_account_name': 'bankTransferAccountName',
 56        'bank_transfer_account_number': 'bankTransferAccountNumber',
 57        'bank_transfer_type': 'bankTransferType',
 58        'country': 'country',
 59        'email': 'email',
 60        'first_name': 'firstName',
 61        'i_ban': 'iBAN',
 62        'last_name': 'lastName'
 63    }
 64
 65    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 66        """DirectDebitProcessorInformation - a model defined in Swagger"""  # noqa: E501
 67        if _configuration is None:
 68            _configuration = Configuration()
 69        self._configuration = _configuration
 70
 71        self._bank_branch_code = None
 72        self._bank_check_digit = None
 73        self._bank_code = None
 74        self._bank_name = None
 75        self._bank_transfer_account_name = None
 76        self._bank_transfer_account_number = None
 77        self._bank_transfer_type = None
 78        self._country = None
 79        self._email = None
 80        self._first_name = None
 81        self._i_ban = None
 82        self._last_name = None
 83        self.discriminator = None
 84
 85        setattr(self, "_{}".format('bank_branch_code'), kwargs.get('bank_branch_code', None))
 86        setattr(self, "_{}".format('bank_check_digit'), kwargs.get('bank_check_digit', None))
 87        setattr(self, "_{}".format('bank_code'), kwargs.get('bank_code', None))
 88        setattr(self, "_{}".format('bank_name'), kwargs.get('bank_name', None))
 89        setattr(self, "_{}".format('bank_transfer_account_name'), kwargs.get('bank_transfer_account_name', None))
 90        setattr(self, "_{}".format('bank_transfer_account_number'), kwargs.get('bank_transfer_account_number', None))
 91        setattr(self, "_{}".format('bank_transfer_type'), kwargs.get('bank_transfer_type', None))
 92        setattr(self, "_{}".format('country'), kwargs.get('country', None))
 93        setattr(self, "_{}".format('email'), kwargs.get('email', None))
 94        setattr(self, "_{}".format('first_name'), kwargs.get('first_name', None))
 95        setattr(self, "_{}".format('i_ban'), kwargs.get('i_ban', None))
 96        setattr(self, "_{}".format('last_name'), kwargs.get('last_name', None))
 97
 98    @property
 99    def bank_branch_code(self):
100        """Gets the bank_branch_code of this DirectDebitProcessorInformation.  # noqa: E501
101
102          # noqa: E501
103
104        :return: The bank_branch_code of this DirectDebitProcessorInformation.  # noqa: E501
105        :rtype: str
106        """
107        return self._bank_branch_code
108
109    @bank_branch_code.setter
110    def bank_branch_code(self, bank_branch_code):
111        """Sets the bank_branch_code of this DirectDebitProcessorInformation.
112
113          # noqa: E501
114
115        :param bank_branch_code: The bank_branch_code of this DirectDebitProcessorInformation.  # noqa: E501
116        :type: str
117        """
118
119        self._bank_branch_code = bank_branch_code
120
121    @property
122    def bank_check_digit(self):
123        """Gets the bank_check_digit of this DirectDebitProcessorInformation.  # noqa: E501
124
125          # noqa: E501
126
127        :return: The bank_check_digit of this DirectDebitProcessorInformation.  # noqa: E501
128        :rtype: str
129        """
130        return self._bank_check_digit
131
132    @bank_check_digit.setter
133    def bank_check_digit(self, bank_check_digit):
134        """Sets the bank_check_digit of this DirectDebitProcessorInformation.
135
136          # noqa: E501
137
138        :param bank_check_digit: The bank_check_digit of this DirectDebitProcessorInformation.  # noqa: E501
139        :type: str
140        """
141
142        self._bank_check_digit = bank_check_digit
143
144    @property
145    def bank_code(self):
146        """Gets the bank_code of this DirectDebitProcessorInformation.  # noqa: E501
147
148          # noqa: E501
149
150        :return: The bank_code of this DirectDebitProcessorInformation.  # noqa: E501
151        :rtype: str
152        """
153        return self._bank_code
154
155    @bank_code.setter
156    def bank_code(self, bank_code):
157        """Sets the bank_code of this DirectDebitProcessorInformation.
158
159          # noqa: E501
160
161        :param bank_code: The bank_code of this DirectDebitProcessorInformation.  # noqa: E501
162        :type: str
163        """
164
165        self._bank_code = bank_code
166
167    @property
168    def bank_name(self):
169        """Gets the bank_name of this DirectDebitProcessorInformation.  # noqa: E501
170
171          # noqa: E501
172
173        :return: The bank_name of this DirectDebitProcessorInformation.  # noqa: E501
174        :rtype: str
175        """
176        return self._bank_name
177
178    @bank_name.setter
179    def bank_name(self, bank_name):
180        """Sets the bank_name of this DirectDebitProcessorInformation.
181
182          # noqa: E501
183
184        :param bank_name: The bank_name of this DirectDebitProcessorInformation.  # noqa: E501
185        :type: str
186        """
187
188        self._bank_name = bank_name
189
190    @property
191    def bank_transfer_account_name(self):
192        """Gets the bank_transfer_account_name of this DirectDebitProcessorInformation.  # noqa: E501
193
194          # noqa: E501
195
196        :return: The bank_transfer_account_name of this DirectDebitProcessorInformation.  # noqa: E501
197        :rtype: str
198        """
199        return self._bank_transfer_account_name
200
201    @bank_transfer_account_name.setter
202    def bank_transfer_account_name(self, bank_transfer_account_name):
203        """Sets the bank_transfer_account_name of this DirectDebitProcessorInformation.
204
205          # noqa: E501
206
207        :param bank_transfer_account_name: The bank_transfer_account_name of this DirectDebitProcessorInformation.  # noqa: E501
208        :type: str
209        """
210
211        self._bank_transfer_account_name = bank_transfer_account_name
212
213    @property
214    def bank_transfer_account_number(self):
215        """Gets the bank_transfer_account_number of this DirectDebitProcessorInformation.  # noqa: E501
216
217          # noqa: E501
218
219        :return: The bank_transfer_account_number of this DirectDebitProcessorInformation.  # noqa: E501
220        :rtype: str
221        """
222        return self._bank_transfer_account_number
223
224    @bank_transfer_account_number.setter
225    def bank_transfer_account_number(self, bank_transfer_account_number):
226        """Sets the bank_transfer_account_number of this DirectDebitProcessorInformation.
227
228          # noqa: E501
229
230        :param bank_transfer_account_number: The bank_transfer_account_number of this DirectDebitProcessorInformation.  # noqa: E501
231        :type: str
232        """
233
234        self._bank_transfer_account_number = bank_transfer_account_number
235
236    @property
237    def bank_transfer_type(self):
238        """Gets the bank_transfer_type of this DirectDebitProcessorInformation.  # noqa: E501
239
240          # noqa: E501
241
242        :return: The bank_transfer_type of this DirectDebitProcessorInformation.  # noqa: E501
243        :rtype: str
244        """
245        return self._bank_transfer_type
246
247    @bank_transfer_type.setter
248    def bank_transfer_type(self, bank_transfer_type):
249        """Sets the bank_transfer_type of this DirectDebitProcessorInformation.
250
251          # noqa: E501
252
253        :param bank_transfer_type: The bank_transfer_type of this DirectDebitProcessorInformation.  # noqa: E501
254        :type: str
255        """
256
257        self._bank_transfer_type = bank_transfer_type
258
259    @property
260    def country(self):
261        """Gets the country of this DirectDebitProcessorInformation.  # noqa: E501
262
263        Specifies the country associated with the address.  # noqa: E501
264
265        :return: The country of this DirectDebitProcessorInformation.  # noqa: E501
266        :rtype: str
267        """
268        return self._country
269
270    @country.setter
271    def country(self, country):
272        """Sets the country of this DirectDebitProcessorInformation.
273
274        Specifies the country associated with the address.  # noqa: E501
275
276        :param country: The country of this DirectDebitProcessorInformation.  # noqa: E501
277        :type: str
278        """
279
280        self._country = country
281
282    @property
283    def email(self):
284        """Gets the email of this DirectDebitProcessorInformation.  # noqa: E501
285
286          # noqa: E501
287
288        :return: The email of this DirectDebitProcessorInformation.  # noqa: E501
289        :rtype: str
290        """
291        return self._email
292
293    @email.setter
294    def email(self, email):
295        """Sets the email of this DirectDebitProcessorInformation.
296
297          # noqa: E501
298
299        :param email: The email of this DirectDebitProcessorInformation.  # noqa: E501
300        :type: str
301        """
302
303        self._email = email
304
305    @property
306    def first_name(self):
307        """Gets the first_name of this DirectDebitProcessorInformation.  # noqa: E501
308
309        The user's first name.  Maximum Length: 50 characters.  # noqa: E501
310
311        :return: The first_name of this DirectDebitProcessorInformation.  # noqa: E501
312        :rtype: str
313        """
314        return self._first_name
315
316    @first_name.setter
317    def first_name(self, first_name):
318        """Sets the first_name of this DirectDebitProcessorInformation.
319
320        The user's first name.  Maximum Length: 50 characters.  # noqa: E501
321
322        :param first_name: The first_name of this DirectDebitProcessorInformation.  # noqa: E501
323        :type: str
324        """
325
326        self._first_name = first_name
327
328    @property
329    def i_ban(self):
330        """Gets the i_ban of this DirectDebitProcessorInformation.  # noqa: E501
331
332          # noqa: E501
333
334        :return: The i_ban of this DirectDebitProcessorInformation.  # noqa: E501
335        :rtype: str
336        """
337        return self._i_ban
338
339    @i_ban.setter
340    def i_ban(self, i_ban):
341        """Sets the i_ban of this DirectDebitProcessorInformation.
342
343          # noqa: E501
344
345        :param i_ban: The i_ban of this DirectDebitProcessorInformation.  # noqa: E501
346        :type: str
347        """
348
349        self._i_ban = i_ban
350
351    @property
352    def last_name(self):
353        """Gets the last_name of this DirectDebitProcessorInformation.  # noqa: E501
354
355          # noqa: E501
356
357        :return: The last_name of this DirectDebitProcessorInformation.  # noqa: E501
358        :rtype: str
359        """
360        return self._last_name
361
362    @last_name.setter
363    def last_name(self, last_name):
364        """Sets the last_name of this DirectDebitProcessorInformation.
365
366          # noqa: E501
367
368        :param last_name: The last_name of this DirectDebitProcessorInformation.  # noqa: E501
369        :type: str
370        """
371
372        self._last_name = last_name
373
374    def to_dict(self):
375        """Returns the model properties as a dict"""
376        result = {}
377
378        for attr, _ in six.iteritems(self.swagger_types):
379            value = getattr(self, attr)
380            if isinstance(value, list):
381                result[attr] = list(map(
382                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
383                    value
384                ))
385            elif hasattr(value, "to_dict"):
386                result[attr] = value.to_dict()
387            elif isinstance(value, dict):
388                result[attr] = dict(map(
389                    lambda item: (item[0], item[1].to_dict())
390                    if hasattr(item[1], "to_dict") else item,
391                    value.items()
392                ))
393            else:
394                result[attr] = value
395        if issubclass(DirectDebitProcessorInformation, dict):
396            for key, value in self.items():
397                result[key] = value
398
399        return result
400
401    def to_str(self):
402        """Returns the string representation of the model"""
403        return pprint.pformat(self.to_dict())
404
405    def __repr__(self):
406        """For `print` and `pprint`"""
407        return self.to_str()
408
409    def __eq__(self, other):
410        """Returns true if both objects are equal"""
411        if not isinstance(other, DirectDebitProcessorInformation):
412            return False
413
414        return self.to_dict() == other.to_dict()
415
416    def __ne__(self, other):
417        """Returns true if both objects are not equal"""
418        if not isinstance(other, DirectDebitProcessorInformation):
419            return True
420
421        return self.to_dict() != other.to_dict()
class DirectDebitProcessorInformation:
 23class DirectDebitProcessorInformation(object):
 24    """NOTE: This class is auto generated by the swagger code generator program.
 25
 26    Do not edit the class manually.
 27    """
 28
 29    """
 30    Attributes:
 31      swagger_types (dict): The key is attribute name
 32                            and the value is attribute type.
 33      attribute_map (dict): The key is attribute name
 34                            and the value is json key in definition.
 35    """
 36    swagger_types = {
 37        'bank_branch_code': 'str',
 38        'bank_check_digit': 'str',
 39        'bank_code': 'str',
 40        'bank_name': 'str',
 41        'bank_transfer_account_name': 'str',
 42        'bank_transfer_account_number': 'str',
 43        'bank_transfer_type': 'str',
 44        'country': 'str',
 45        'email': 'str',
 46        'first_name': 'str',
 47        'i_ban': 'str',
 48        'last_name': 'str'
 49    }
 50
 51    attribute_map = {
 52        'bank_branch_code': 'bankBranchCode',
 53        'bank_check_digit': 'bankCheckDigit',
 54        'bank_code': 'bankCode',
 55        'bank_name': 'bankName',
 56        'bank_transfer_account_name': 'bankTransferAccountName',
 57        'bank_transfer_account_number': 'bankTransferAccountNumber',
 58        'bank_transfer_type': 'bankTransferType',
 59        'country': 'country',
 60        'email': 'email',
 61        'first_name': 'firstName',
 62        'i_ban': 'iBAN',
 63        'last_name': 'lastName'
 64    }
 65
 66    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 67        """DirectDebitProcessorInformation - a model defined in Swagger"""  # noqa: E501
 68        if _configuration is None:
 69            _configuration = Configuration()
 70        self._configuration = _configuration
 71
 72        self._bank_branch_code = None
 73        self._bank_check_digit = None
 74        self._bank_code = None
 75        self._bank_name = None
 76        self._bank_transfer_account_name = None
 77        self._bank_transfer_account_number = None
 78        self._bank_transfer_type = None
 79        self._country = None
 80        self._email = None
 81        self._first_name = None
 82        self._i_ban = None
 83        self._last_name = None
 84        self.discriminator = None
 85
 86        setattr(self, "_{}".format('bank_branch_code'), kwargs.get('bank_branch_code', None))
 87        setattr(self, "_{}".format('bank_check_digit'), kwargs.get('bank_check_digit', None))
 88        setattr(self, "_{}".format('bank_code'), kwargs.get('bank_code', None))
 89        setattr(self, "_{}".format('bank_name'), kwargs.get('bank_name', None))
 90        setattr(self, "_{}".format('bank_transfer_account_name'), kwargs.get('bank_transfer_account_name', None))
 91        setattr(self, "_{}".format('bank_transfer_account_number'), kwargs.get('bank_transfer_account_number', None))
 92        setattr(self, "_{}".format('bank_transfer_type'), kwargs.get('bank_transfer_type', None))
 93        setattr(self, "_{}".format('country'), kwargs.get('country', None))
 94        setattr(self, "_{}".format('email'), kwargs.get('email', None))
 95        setattr(self, "_{}".format('first_name'), kwargs.get('first_name', None))
 96        setattr(self, "_{}".format('i_ban'), kwargs.get('i_ban', None))
 97        setattr(self, "_{}".format('last_name'), kwargs.get('last_name', None))
 98
 99    @property
100    def bank_branch_code(self):
101        """Gets the bank_branch_code of this DirectDebitProcessorInformation.  # noqa: E501
102
103          # noqa: E501
104
105        :return: The bank_branch_code of this DirectDebitProcessorInformation.  # noqa: E501
106        :rtype: str
107        """
108        return self._bank_branch_code
109
110    @bank_branch_code.setter
111    def bank_branch_code(self, bank_branch_code):
112        """Sets the bank_branch_code of this DirectDebitProcessorInformation.
113
114          # noqa: E501
115
116        :param bank_branch_code: The bank_branch_code of this DirectDebitProcessorInformation.  # noqa: E501
117        :type: str
118        """
119
120        self._bank_branch_code = bank_branch_code
121
122    @property
123    def bank_check_digit(self):
124        """Gets the bank_check_digit of this DirectDebitProcessorInformation.  # noqa: E501
125
126          # noqa: E501
127
128        :return: The bank_check_digit of this DirectDebitProcessorInformation.  # noqa: E501
129        :rtype: str
130        """
131        return self._bank_check_digit
132
133    @bank_check_digit.setter
134    def bank_check_digit(self, bank_check_digit):
135        """Sets the bank_check_digit of this DirectDebitProcessorInformation.
136
137          # noqa: E501
138
139        :param bank_check_digit: The bank_check_digit of this DirectDebitProcessorInformation.  # noqa: E501
140        :type: str
141        """
142
143        self._bank_check_digit = bank_check_digit
144
145    @property
146    def bank_code(self):
147        """Gets the bank_code of this DirectDebitProcessorInformation.  # noqa: E501
148
149          # noqa: E501
150
151        :return: The bank_code of this DirectDebitProcessorInformation.  # noqa: E501
152        :rtype: str
153        """
154        return self._bank_code
155
156    @bank_code.setter
157    def bank_code(self, bank_code):
158        """Sets the bank_code of this DirectDebitProcessorInformation.
159
160          # noqa: E501
161
162        :param bank_code: The bank_code of this DirectDebitProcessorInformation.  # noqa: E501
163        :type: str
164        """
165
166        self._bank_code = bank_code
167
168    @property
169    def bank_name(self):
170        """Gets the bank_name of this DirectDebitProcessorInformation.  # noqa: E501
171
172          # noqa: E501
173
174        :return: The bank_name of this DirectDebitProcessorInformation.  # noqa: E501
175        :rtype: str
176        """
177        return self._bank_name
178
179    @bank_name.setter
180    def bank_name(self, bank_name):
181        """Sets the bank_name of this DirectDebitProcessorInformation.
182
183          # noqa: E501
184
185        :param bank_name: The bank_name of this DirectDebitProcessorInformation.  # noqa: E501
186        :type: str
187        """
188
189        self._bank_name = bank_name
190
191    @property
192    def bank_transfer_account_name(self):
193        """Gets the bank_transfer_account_name of this DirectDebitProcessorInformation.  # noqa: E501
194
195          # noqa: E501
196
197        :return: The bank_transfer_account_name of this DirectDebitProcessorInformation.  # noqa: E501
198        :rtype: str
199        """
200        return self._bank_transfer_account_name
201
202    @bank_transfer_account_name.setter
203    def bank_transfer_account_name(self, bank_transfer_account_name):
204        """Sets the bank_transfer_account_name of this DirectDebitProcessorInformation.
205
206          # noqa: E501
207
208        :param bank_transfer_account_name: The bank_transfer_account_name of this DirectDebitProcessorInformation.  # noqa: E501
209        :type: str
210        """
211
212        self._bank_transfer_account_name = bank_transfer_account_name
213
214    @property
215    def bank_transfer_account_number(self):
216        """Gets the bank_transfer_account_number of this DirectDebitProcessorInformation.  # noqa: E501
217
218          # noqa: E501
219
220        :return: The bank_transfer_account_number of this DirectDebitProcessorInformation.  # noqa: E501
221        :rtype: str
222        """
223        return self._bank_transfer_account_number
224
225    @bank_transfer_account_number.setter
226    def bank_transfer_account_number(self, bank_transfer_account_number):
227        """Sets the bank_transfer_account_number of this DirectDebitProcessorInformation.
228
229          # noqa: E501
230
231        :param bank_transfer_account_number: The bank_transfer_account_number of this DirectDebitProcessorInformation.  # noqa: E501
232        :type: str
233        """
234
235        self._bank_transfer_account_number = bank_transfer_account_number
236
237    @property
238    def bank_transfer_type(self):
239        """Gets the bank_transfer_type of this DirectDebitProcessorInformation.  # noqa: E501
240
241          # noqa: E501
242
243        :return: The bank_transfer_type of this DirectDebitProcessorInformation.  # noqa: E501
244        :rtype: str
245        """
246        return self._bank_transfer_type
247
248    @bank_transfer_type.setter
249    def bank_transfer_type(self, bank_transfer_type):
250        """Sets the bank_transfer_type of this DirectDebitProcessorInformation.
251
252          # noqa: E501
253
254        :param bank_transfer_type: The bank_transfer_type of this DirectDebitProcessorInformation.  # noqa: E501
255        :type: str
256        """
257
258        self._bank_transfer_type = bank_transfer_type
259
260    @property
261    def country(self):
262        """Gets the country of this DirectDebitProcessorInformation.  # noqa: E501
263
264        Specifies the country associated with the address.  # noqa: E501
265
266        :return: The country of this DirectDebitProcessorInformation.  # noqa: E501
267        :rtype: str
268        """
269        return self._country
270
271    @country.setter
272    def country(self, country):
273        """Sets the country of this DirectDebitProcessorInformation.
274
275        Specifies the country associated with the address.  # noqa: E501
276
277        :param country: The country of this DirectDebitProcessorInformation.  # noqa: E501
278        :type: str
279        """
280
281        self._country = country
282
283    @property
284    def email(self):
285        """Gets the email of this DirectDebitProcessorInformation.  # noqa: E501
286
287          # noqa: E501
288
289        :return: The email of this DirectDebitProcessorInformation.  # noqa: E501
290        :rtype: str
291        """
292        return self._email
293
294    @email.setter
295    def email(self, email):
296        """Sets the email of this DirectDebitProcessorInformation.
297
298          # noqa: E501
299
300        :param email: The email of this DirectDebitProcessorInformation.  # noqa: E501
301        :type: str
302        """
303
304        self._email = email
305
306    @property
307    def first_name(self):
308        """Gets the first_name of this DirectDebitProcessorInformation.  # noqa: E501
309
310        The user's first name.  Maximum Length: 50 characters.  # noqa: E501
311
312        :return: The first_name of this DirectDebitProcessorInformation.  # noqa: E501
313        :rtype: str
314        """
315        return self._first_name
316
317    @first_name.setter
318    def first_name(self, first_name):
319        """Sets the first_name of this DirectDebitProcessorInformation.
320
321        The user's first name.  Maximum Length: 50 characters.  # noqa: E501
322
323        :param first_name: The first_name of this DirectDebitProcessorInformation.  # noqa: E501
324        :type: str
325        """
326
327        self._first_name = first_name
328
329    @property
330    def i_ban(self):
331        """Gets the i_ban of this DirectDebitProcessorInformation.  # noqa: E501
332
333          # noqa: E501
334
335        :return: The i_ban of this DirectDebitProcessorInformation.  # noqa: E501
336        :rtype: str
337        """
338        return self._i_ban
339
340    @i_ban.setter
341    def i_ban(self, i_ban):
342        """Sets the i_ban of this DirectDebitProcessorInformation.
343
344          # noqa: E501
345
346        :param i_ban: The i_ban of this DirectDebitProcessorInformation.  # noqa: E501
347        :type: str
348        """
349
350        self._i_ban = i_ban
351
352    @property
353    def last_name(self):
354        """Gets the last_name of this DirectDebitProcessorInformation.  # noqa: E501
355
356          # noqa: E501
357
358        :return: The last_name of this DirectDebitProcessorInformation.  # noqa: E501
359        :rtype: str
360        """
361        return self._last_name
362
363    @last_name.setter
364    def last_name(self, last_name):
365        """Sets the last_name of this DirectDebitProcessorInformation.
366
367          # noqa: E501
368
369        :param last_name: The last_name of this DirectDebitProcessorInformation.  # noqa: E501
370        :type: str
371        """
372
373        self._last_name = last_name
374
375    def to_dict(self):
376        """Returns the model properties as a dict"""
377        result = {}
378
379        for attr, _ in six.iteritems(self.swagger_types):
380            value = getattr(self, attr)
381            if isinstance(value, list):
382                result[attr] = list(map(
383                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
384                    value
385                ))
386            elif hasattr(value, "to_dict"):
387                result[attr] = value.to_dict()
388            elif isinstance(value, dict):
389                result[attr] = dict(map(
390                    lambda item: (item[0], item[1].to_dict())
391                    if hasattr(item[1], "to_dict") else item,
392                    value.items()
393                ))
394            else:
395                result[attr] = value
396        if issubclass(DirectDebitProcessorInformation, dict):
397            for key, value in self.items():
398                result[key] = value
399
400        return result
401
402    def to_str(self):
403        """Returns the string representation of the model"""
404        return pprint.pformat(self.to_dict())
405
406    def __repr__(self):
407        """For `print` and `pprint`"""
408        return self.to_str()
409
410    def __eq__(self, other):
411        """Returns true if both objects are equal"""
412        if not isinstance(other, DirectDebitProcessorInformation):
413            return False
414
415        return self.to_dict() == other.to_dict()
416
417    def __ne__(self, other):
418        """Returns true if both objects are not equal"""
419        if not isinstance(other, DirectDebitProcessorInformation):
420            return True
421
422        return self.to_dict() != other.to_dict()

NOTE: This class is auto generated by the swagger code generator program.

Do not edit the class manually.

DirectDebitProcessorInformation(_configuration=None, **kwargs)
66    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
67        """DirectDebitProcessorInformation - a model defined in Swagger"""  # noqa: E501
68        if _configuration is None:
69            _configuration = Configuration()
70        self._configuration = _configuration
71
72        self._bank_branch_code = None
73        self._bank_check_digit = None
74        self._bank_code = None
75        self._bank_name = None
76        self._bank_transfer_account_name = None
77        self._bank_transfer_account_number = None
78        self._bank_transfer_type = None
79        self._country = None
80        self._email = None
81        self._first_name = None
82        self._i_ban = None
83        self._last_name = None
84        self.discriminator = None
85
86        setattr(self, "_{}".format('bank_branch_code'), kwargs.get('bank_branch_code', None))
87        setattr(self, "_{}".format('bank_check_digit'), kwargs.get('bank_check_digit', None))
88        setattr(self, "_{}".format('bank_code'), kwargs.get('bank_code', None))
89        setattr(self, "_{}".format('bank_name'), kwargs.get('bank_name', None))
90        setattr(self, "_{}".format('bank_transfer_account_name'), kwargs.get('bank_transfer_account_name', None))
91        setattr(self, "_{}".format('bank_transfer_account_number'), kwargs.get('bank_transfer_account_number', None))
92        setattr(self, "_{}".format('bank_transfer_type'), kwargs.get('bank_transfer_type', None))
93        setattr(self, "_{}".format('country'), kwargs.get('country', None))
94        setattr(self, "_{}".format('email'), kwargs.get('email', None))
95        setattr(self, "_{}".format('first_name'), kwargs.get('first_name', None))
96        setattr(self, "_{}".format('i_ban'), kwargs.get('i_ban', None))
97        setattr(self, "_{}".format('last_name'), kwargs.get('last_name', None))

DirectDebitProcessorInformation - a model defined in Swagger

swagger_types = {'bank_branch_code': 'str', 'bank_check_digit': 'str', 'bank_code': 'str', 'bank_name': 'str', 'bank_transfer_account_name': 'str', 'bank_transfer_account_number': 'str', 'bank_transfer_type': 'str', 'country': 'str', 'email': 'str', 'first_name': 'str', 'i_ban': 'str', 'last_name': 'str'}
attribute_map = {'bank_branch_code': 'bankBranchCode', 'bank_check_digit': 'bankCheckDigit', 'bank_code': 'bankCode', 'bank_name': 'bankName', 'bank_transfer_account_name': 'bankTransferAccountName', 'bank_transfer_account_number': 'bankTransferAccountNumber', 'bank_transfer_type': 'bankTransferType', 'country': 'country', 'email': 'email', 'first_name': 'firstName', 'i_ban': 'iBAN', 'last_name': 'lastName'}
bank_branch_code

Gets the bank_branch_code of this DirectDebitProcessorInformation. # noqa: E501

# noqa: E501

Returns

The bank_branch_code of this DirectDebitProcessorInformation. # noqa: E501

bank_check_digit

Gets the bank_check_digit of this DirectDebitProcessorInformation. # noqa: E501

# noqa: E501

Returns

The bank_check_digit of this DirectDebitProcessorInformation. # noqa: E501

bank_code

Gets the bank_code of this DirectDebitProcessorInformation. # noqa: E501

# noqa: E501

Returns

The bank_code of this DirectDebitProcessorInformation. # noqa: E501

bank_name

Gets the bank_name of this DirectDebitProcessorInformation. # noqa: E501

# noqa: E501

Returns

The bank_name of this DirectDebitProcessorInformation. # noqa: E501

bank_transfer_account_name

Gets the bank_transfer_account_name of this DirectDebitProcessorInformation. # noqa: E501

# noqa: E501

Returns

The bank_transfer_account_name of this DirectDebitProcessorInformation. # noqa: E501

bank_transfer_account_number

Gets the bank_transfer_account_number of this DirectDebitProcessorInformation. # noqa: E501

# noqa: E501

Returns

The bank_transfer_account_number of this DirectDebitProcessorInformation. # noqa: E501

bank_transfer_type

Gets the bank_transfer_type of this DirectDebitProcessorInformation. # noqa: E501

# noqa: E501

Returns

The bank_transfer_type of this DirectDebitProcessorInformation. # noqa: E501

country

Gets the country of this DirectDebitProcessorInformation. # noqa: E501

Specifies the country associated with the address. # noqa: E501

Returns

The country of this DirectDebitProcessorInformation. # noqa: E501

email

Gets the email of this DirectDebitProcessorInformation. # noqa: E501

# noqa: E501

Returns

The email of this DirectDebitProcessorInformation. # noqa: E501

first_name

Gets the first_name of this DirectDebitProcessorInformation. # noqa: E501

The user's first name. Maximum Length: 50 characters. # noqa: E501

Returns

The first_name of this DirectDebitProcessorInformation. # noqa: E501

i_ban

Gets the i_ban of this DirectDebitProcessorInformation. # noqa: E501

# noqa: E501

Returns

The i_ban of this DirectDebitProcessorInformation. # noqa: E501

last_name

Gets the last_name of this DirectDebitProcessorInformation. # noqa: E501

# noqa: E501

Returns

The last_name of this DirectDebitProcessorInformation. # noqa: E501

def to_dict(self)
375    def to_dict(self):
376        """Returns the model properties as a dict"""
377        result = {}
378
379        for attr, _ in six.iteritems(self.swagger_types):
380            value = getattr(self, attr)
381            if isinstance(value, list):
382                result[attr] = list(map(
383                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
384                    value
385                ))
386            elif hasattr(value, "to_dict"):
387                result[attr] = value.to_dict()
388            elif isinstance(value, dict):
389                result[attr] = dict(map(
390                    lambda item: (item[0], item[1].to_dict())
391                    if hasattr(item[1], "to_dict") else item,
392                    value.items()
393                ))
394            else:
395                result[attr] = value
396        if issubclass(DirectDebitProcessorInformation, dict):
397            for key, value in self.items():
398                result[key] = value
399
400        return result

Returns the model properties as a dict

def to_str(self)
402    def to_str(self):
403        """Returns the string representation of the model"""
404        return pprint.pformat(self.to_dict())

Returns the string representation of the model