docusign_esign.models.consumer_disclosure
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 ConsumerDisclosure(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 'account_esign_id': 'str', 37 'allow_cd_withdraw': 'str', 38 'allow_cd_withdraw_metadata': 'SettingsMetadata', 39 'change_email': 'str', 40 'change_email_other': 'str', 41 'company_name': 'str', 42 'company_phone': 'str', 43 'copy_cost_per_page': 'str', 44 'copy_fee_collection_method': 'str', 45 'copy_request_email': 'str', 46 'custom': 'str', 47 'enable_esign': 'str', 48 'esign_agreement': 'str', 49 'esign_text': 'str', 50 'language_code': 'str', 51 'must_agree_to_esign': 'str', 52 'pdf_id': 'str', 53 'use_brand': 'str', 54 'use_consumer_disclosure_within_account': 'str', 55 'use_consumer_disclosure_within_account_metadata': 'SettingsMetadata', 56 'withdraw_address_line1': 'str', 57 'withdraw_address_line2': 'str', 58 'withdraw_by_email': 'str', 59 'withdraw_by_mail': 'str', 60 'withdraw_by_phone': 'str', 61 'withdraw_city': 'str', 62 'withdraw_consequences': 'str', 63 'withdraw_email': 'str', 64 'withdraw_other': 'str', 65 'withdraw_phone': 'str', 66 'withdraw_postal_code': 'str', 67 'withdraw_state': 'str' 68 } 69 70 attribute_map = { 71 'account_esign_id': 'accountEsignId', 72 'allow_cd_withdraw': 'allowCDWithdraw', 73 'allow_cd_withdraw_metadata': 'allowCDWithdrawMetadata', 74 'change_email': 'changeEmail', 75 'change_email_other': 'changeEmailOther', 76 'company_name': 'companyName', 77 'company_phone': 'companyPhone', 78 'copy_cost_per_page': 'copyCostPerPage', 79 'copy_fee_collection_method': 'copyFeeCollectionMethod', 80 'copy_request_email': 'copyRequestEmail', 81 'custom': 'custom', 82 'enable_esign': 'enableEsign', 83 'esign_agreement': 'esignAgreement', 84 'esign_text': 'esignText', 85 'language_code': 'languageCode', 86 'must_agree_to_esign': 'mustAgreeToEsign', 87 'pdf_id': 'pdfId', 88 'use_brand': 'useBrand', 89 'use_consumer_disclosure_within_account': 'useConsumerDisclosureWithinAccount', 90 'use_consumer_disclosure_within_account_metadata': 'useConsumerDisclosureWithinAccountMetadata', 91 'withdraw_address_line1': 'withdrawAddressLine1', 92 'withdraw_address_line2': 'withdrawAddressLine2', 93 'withdraw_by_email': 'withdrawByEmail', 94 'withdraw_by_mail': 'withdrawByMail', 95 'withdraw_by_phone': 'withdrawByPhone', 96 'withdraw_city': 'withdrawCity', 97 'withdraw_consequences': 'withdrawConsequences', 98 'withdraw_email': 'withdrawEmail', 99 'withdraw_other': 'withdrawOther', 100 'withdraw_phone': 'withdrawPhone', 101 'withdraw_postal_code': 'withdrawPostalCode', 102 'withdraw_state': 'withdrawState' 103 } 104 105 def __init__(self, _configuration=None, **kwargs): # noqa: E501 106 """ConsumerDisclosure - a model defined in Swagger""" # noqa: E501 107 if _configuration is None: 108 _configuration = Configuration() 109 self._configuration = _configuration 110 111 self._account_esign_id = None 112 self._allow_cd_withdraw = None 113 self._allow_cd_withdraw_metadata = None 114 self._change_email = None 115 self._change_email_other = None 116 self._company_name = None 117 self._company_phone = None 118 self._copy_cost_per_page = None 119 self._copy_fee_collection_method = None 120 self._copy_request_email = None 121 self._custom = None 122 self._enable_esign = None 123 self._esign_agreement = None 124 self._esign_text = None 125 self._language_code = None 126 self._must_agree_to_esign = None 127 self._pdf_id = None 128 self._use_brand = None 129 self._use_consumer_disclosure_within_account = None 130 self._use_consumer_disclosure_within_account_metadata = None 131 self._withdraw_address_line1 = None 132 self._withdraw_address_line2 = None 133 self._withdraw_by_email = None 134 self._withdraw_by_mail = None 135 self._withdraw_by_phone = None 136 self._withdraw_city = None 137 self._withdraw_consequences = None 138 self._withdraw_email = None 139 self._withdraw_other = None 140 self._withdraw_phone = None 141 self._withdraw_postal_code = None 142 self._withdraw_state = None 143 self.discriminator = None 144 145 setattr(self, "_{}".format('account_esign_id'), kwargs.get('account_esign_id', None)) 146 setattr(self, "_{}".format('allow_cd_withdraw'), kwargs.get('allow_cd_withdraw', None)) 147 setattr(self, "_{}".format('allow_cd_withdraw_metadata'), kwargs.get('allow_cd_withdraw_metadata', None)) 148 setattr(self, "_{}".format('change_email'), kwargs.get('change_email', None)) 149 setattr(self, "_{}".format('change_email_other'), kwargs.get('change_email_other', None)) 150 setattr(self, "_{}".format('company_name'), kwargs.get('company_name', None)) 151 setattr(self, "_{}".format('company_phone'), kwargs.get('company_phone', None)) 152 setattr(self, "_{}".format('copy_cost_per_page'), kwargs.get('copy_cost_per_page', None)) 153 setattr(self, "_{}".format('copy_fee_collection_method'), kwargs.get('copy_fee_collection_method', None)) 154 setattr(self, "_{}".format('copy_request_email'), kwargs.get('copy_request_email', None)) 155 setattr(self, "_{}".format('custom'), kwargs.get('custom', None)) 156 setattr(self, "_{}".format('enable_esign'), kwargs.get('enable_esign', None)) 157 setattr(self, "_{}".format('esign_agreement'), kwargs.get('esign_agreement', None)) 158 setattr(self, "_{}".format('esign_text'), kwargs.get('esign_text', None)) 159 setattr(self, "_{}".format('language_code'), kwargs.get('language_code', None)) 160 setattr(self, "_{}".format('must_agree_to_esign'), kwargs.get('must_agree_to_esign', None)) 161 setattr(self, "_{}".format('pdf_id'), kwargs.get('pdf_id', None)) 162 setattr(self, "_{}".format('use_brand'), kwargs.get('use_brand', None)) 163 setattr(self, "_{}".format('use_consumer_disclosure_within_account'), kwargs.get('use_consumer_disclosure_within_account', None)) 164 setattr(self, "_{}".format('use_consumer_disclosure_within_account_metadata'), kwargs.get('use_consumer_disclosure_within_account_metadata', None)) 165 setattr(self, "_{}".format('withdraw_address_line1'), kwargs.get('withdraw_address_line1', None)) 166 setattr(self, "_{}".format('withdraw_address_line2'), kwargs.get('withdraw_address_line2', None)) 167 setattr(self, "_{}".format('withdraw_by_email'), kwargs.get('withdraw_by_email', None)) 168 setattr(self, "_{}".format('withdraw_by_mail'), kwargs.get('withdraw_by_mail', None)) 169 setattr(self, "_{}".format('withdraw_by_phone'), kwargs.get('withdraw_by_phone', None)) 170 setattr(self, "_{}".format('withdraw_city'), kwargs.get('withdraw_city', None)) 171 setattr(self, "_{}".format('withdraw_consequences'), kwargs.get('withdraw_consequences', None)) 172 setattr(self, "_{}".format('withdraw_email'), kwargs.get('withdraw_email', None)) 173 setattr(self, "_{}".format('withdraw_other'), kwargs.get('withdraw_other', None)) 174 setattr(self, "_{}".format('withdraw_phone'), kwargs.get('withdraw_phone', None)) 175 setattr(self, "_{}".format('withdraw_postal_code'), kwargs.get('withdraw_postal_code', None)) 176 setattr(self, "_{}".format('withdraw_state'), kwargs.get('withdraw_state', None)) 177 178 @property 179 def account_esign_id(self): 180 """Gets the account_esign_id of this ConsumerDisclosure. # noqa: E501 181 182 A GUID identifying the account associated with the consumer disclosure # noqa: E501 183 184 :return: The account_esign_id of this ConsumerDisclosure. # noqa: E501 185 :rtype: str 186 """ 187 return self._account_esign_id 188 189 @account_esign_id.setter 190 def account_esign_id(self, account_esign_id): 191 """Sets the account_esign_id of this ConsumerDisclosure. 192 193 A GUID identifying the account associated with the consumer disclosure # noqa: E501 194 195 :param account_esign_id: The account_esign_id of this ConsumerDisclosure. # noqa: E501 196 :type: str 197 """ 198 199 self._account_esign_id = account_esign_id 200 201 @property 202 def allow_cd_withdraw(self): 203 """Gets the allow_cd_withdraw of this ConsumerDisclosure. # noqa: E501 204 205 Indicates whether the customer can withdraw their acceptance of the consumer disclosure. # noqa: E501 206 207 :return: The allow_cd_withdraw of this ConsumerDisclosure. # noqa: E501 208 :rtype: str 209 """ 210 return self._allow_cd_withdraw 211 212 @allow_cd_withdraw.setter 213 def allow_cd_withdraw(self, allow_cd_withdraw): 214 """Sets the allow_cd_withdraw of this ConsumerDisclosure. 215 216 Indicates whether the customer can withdraw their acceptance of the consumer disclosure. # noqa: E501 217 218 :param allow_cd_withdraw: The allow_cd_withdraw of this ConsumerDisclosure. # noqa: E501 219 :type: str 220 """ 221 222 self._allow_cd_withdraw = allow_cd_withdraw 223 224 @property 225 def allow_cd_withdraw_metadata(self): 226 """Gets the allow_cd_withdraw_metadata of this ConsumerDisclosure. # noqa: E501 227 228 Metadata that indicates whether the `allowCDWithdraw` property is editable. # noqa: E501 229 230 :return: The allow_cd_withdraw_metadata of this ConsumerDisclosure. # noqa: E501 231 :rtype: SettingsMetadata 232 """ 233 return self._allow_cd_withdraw_metadata 234 235 @allow_cd_withdraw_metadata.setter 236 def allow_cd_withdraw_metadata(self, allow_cd_withdraw_metadata): 237 """Sets the allow_cd_withdraw_metadata of this ConsumerDisclosure. 238 239 Metadata that indicates whether the `allowCDWithdraw` property is editable. # noqa: E501 240 241 :param allow_cd_withdraw_metadata: The allow_cd_withdraw_metadata of this ConsumerDisclosure. # noqa: E501 242 :type: SettingsMetadata 243 """ 244 245 self._allow_cd_withdraw_metadata = allow_cd_withdraw_metadata 246 247 @property 248 def change_email(self): 249 """Gets the change_email of this ConsumerDisclosure. # noqa: E501 250 251 # noqa: E501 252 253 :return: The change_email of this ConsumerDisclosure. # noqa: E501 254 :rtype: str 255 """ 256 return self._change_email 257 258 @change_email.setter 259 def change_email(self, change_email): 260 """Sets the change_email of this ConsumerDisclosure. 261 262 # noqa: E501 263 264 :param change_email: The change_email of this ConsumerDisclosure. # noqa: E501 265 :type: str 266 """ 267 268 self._change_email = change_email 269 270 @property 271 def change_email_other(self): 272 """Gets the change_email_other of this ConsumerDisclosure. # noqa: E501 273 274 # noqa: E501 275 276 :return: The change_email_other of this ConsumerDisclosure. # noqa: E501 277 :rtype: str 278 """ 279 return self._change_email_other 280 281 @change_email_other.setter 282 def change_email_other(self, change_email_other): 283 """Sets the change_email_other of this ConsumerDisclosure. 284 285 # noqa: E501 286 287 :param change_email_other: The change_email_other of this ConsumerDisclosure. # noqa: E501 288 :type: str 289 """ 290 291 self._change_email_other = change_email_other 292 293 @property 294 def company_name(self): 295 """Gets the company_name of this ConsumerDisclosure. # noqa: E501 296 297 The name of the company associated with the consumer disclosure. # noqa: E501 298 299 :return: The company_name of this ConsumerDisclosure. # noqa: E501 300 :rtype: str 301 """ 302 return self._company_name 303 304 @company_name.setter 305 def company_name(self, company_name): 306 """Sets the company_name of this ConsumerDisclosure. 307 308 The name of the company associated with the consumer disclosure. # noqa: E501 309 310 :param company_name: The company_name of this ConsumerDisclosure. # noqa: E501 311 :type: str 312 """ 313 314 self._company_name = company_name 315 316 @property 317 def company_phone(self): 318 """Gets the company_phone of this ConsumerDisclosure. # noqa: E501 319 320 The phone number of the company associated with the consumer disclosure. # noqa: E501 321 322 :return: The company_phone of this ConsumerDisclosure. # noqa: E501 323 :rtype: str 324 """ 325 return self._company_phone 326 327 @company_phone.setter 328 def company_phone(self, company_phone): 329 """Sets the company_phone of this ConsumerDisclosure. 330 331 The phone number of the company associated with the consumer disclosure. # noqa: E501 332 333 :param company_phone: The company_phone of this ConsumerDisclosure. # noqa: E501 334 :type: str 335 """ 336 337 self._company_phone = company_phone 338 339 @property 340 def copy_cost_per_page(self): 341 """Gets the copy_cost_per_page of this ConsumerDisclosure. # noqa: E501 342 343 # noqa: E501 344 345 :return: The copy_cost_per_page of this ConsumerDisclosure. # noqa: E501 346 :rtype: str 347 """ 348 return self._copy_cost_per_page 349 350 @copy_cost_per_page.setter 351 def copy_cost_per_page(self, copy_cost_per_page): 352 """Sets the copy_cost_per_page of this ConsumerDisclosure. 353 354 # noqa: E501 355 356 :param copy_cost_per_page: The copy_cost_per_page of this ConsumerDisclosure. # noqa: E501 357 :type: str 358 """ 359 360 self._copy_cost_per_page = copy_cost_per_page 361 362 @property 363 def copy_fee_collection_method(self): 364 """Gets the copy_fee_collection_method of this ConsumerDisclosure. # noqa: E501 365 366 Specifies the fee collection method for cases in which the customer requires paper copies of the document. Maximum Length: 255 characters # noqa: E501 367 368 :return: The copy_fee_collection_method of this ConsumerDisclosure. # noqa: E501 369 :rtype: str 370 """ 371 return self._copy_fee_collection_method 372 373 @copy_fee_collection_method.setter 374 def copy_fee_collection_method(self, copy_fee_collection_method): 375 """Sets the copy_fee_collection_method of this ConsumerDisclosure. 376 377 Specifies the fee collection method for cases in which the customer requires paper copies of the document. Maximum Length: 255 characters # noqa: E501 378 379 :param copy_fee_collection_method: The copy_fee_collection_method of this ConsumerDisclosure. # noqa: E501 380 :type: str 381 """ 382 383 self._copy_fee_collection_method = copy_fee_collection_method 384 385 @property 386 def copy_request_email(self): 387 """Gets the copy_request_email of this ConsumerDisclosure. # noqa: E501 388 389 # noqa: E501 390 391 :return: The copy_request_email of this ConsumerDisclosure. # noqa: E501 392 :rtype: str 393 """ 394 return self._copy_request_email 395 396 @copy_request_email.setter 397 def copy_request_email(self, copy_request_email): 398 """Sets the copy_request_email of this ConsumerDisclosure. 399 400 # noqa: E501 401 402 :param copy_request_email: The copy_request_email of this ConsumerDisclosure. # noqa: E501 403 :type: str 404 """ 405 406 self._copy_request_email = copy_request_email 407 408 @property 409 def custom(self): 410 """Gets the custom of this ConsumerDisclosure. # noqa: E501 411 412 # noqa: E501 413 414 :return: The custom of this ConsumerDisclosure. # noqa: E501 415 :rtype: str 416 """ 417 return self._custom 418 419 @custom.setter 420 def custom(self, custom): 421 """Sets the custom of this ConsumerDisclosure. 422 423 # noqa: E501 424 425 :param custom: The custom of this ConsumerDisclosure. # noqa: E501 426 :type: str 427 """ 428 429 self._custom = custom 430 431 @property 432 def enable_esign(self): 433 """Gets the enable_esign of this ConsumerDisclosure. # noqa: E501 434 435 # noqa: E501 436 437 :return: The enable_esign of this ConsumerDisclosure. # noqa: E501 438 :rtype: str 439 """ 440 return self._enable_esign 441 442 @enable_esign.setter 443 def enable_esign(self, enable_esign): 444 """Sets the enable_esign of this ConsumerDisclosure. 445 446 # noqa: E501 447 448 :param enable_esign: The enable_esign of this ConsumerDisclosure. # noqa: E501 449 :type: str 450 """ 451 452 self._enable_esign = enable_esign 453 454 @property 455 def esign_agreement(self): 456 """Gets the esign_agreement of this ConsumerDisclosure. # noqa: E501 457 458 The Electronic Record and Signature Disclosure text. The disclosure text includes the html formatting. # noqa: E501 459 460 :return: The esign_agreement of this ConsumerDisclosure. # noqa: E501 461 :rtype: str 462 """ 463 return self._esign_agreement 464 465 @esign_agreement.setter 466 def esign_agreement(self, esign_agreement): 467 """Sets the esign_agreement of this ConsumerDisclosure. 468 469 The Electronic Record and Signature Disclosure text. The disclosure text includes the html formatting. # noqa: E501 470 471 :param esign_agreement: The esign_agreement of this ConsumerDisclosure. # noqa: E501 472 :type: str 473 """ 474 475 self._esign_agreement = esign_agreement 476 477 @property 478 def esign_text(self): 479 """Gets the esign_text of this ConsumerDisclosure. # noqa: E501 480 481 # noqa: E501 482 483 :return: The esign_text of this ConsumerDisclosure. # noqa: E501 484 :rtype: str 485 """ 486 return self._esign_text 487 488 @esign_text.setter 489 def esign_text(self, esign_text): 490 """Sets the esign_text of this ConsumerDisclosure. 491 492 # noqa: E501 493 494 :param esign_text: The esign_text of this ConsumerDisclosure. # noqa: E501 495 :type: str 496 """ 497 498 self._esign_text = esign_text 499 500 @property 501 def language_code(self): 502 """Gets the language_code of this ConsumerDisclosure. # noqa: E501 503 504 # noqa: E501 505 506 :return: The language_code of this ConsumerDisclosure. # noqa: E501 507 :rtype: str 508 """ 509 return self._language_code 510 511 @language_code.setter 512 def language_code(self, language_code): 513 """Sets the language_code of this ConsumerDisclosure. 514 515 # noqa: E501 516 517 :param language_code: The language_code of this ConsumerDisclosure. # noqa: E501 518 :type: str 519 """ 520 521 self._language_code = language_code 522 523 @property 524 def must_agree_to_esign(self): 525 """Gets the must_agree_to_esign of this ConsumerDisclosure. # noqa: E501 526 527 # noqa: E501 528 529 :return: The must_agree_to_esign of this ConsumerDisclosure. # noqa: E501 530 :rtype: str 531 """ 532 return self._must_agree_to_esign 533 534 @must_agree_to_esign.setter 535 def must_agree_to_esign(self, must_agree_to_esign): 536 """Sets the must_agree_to_esign of this ConsumerDisclosure. 537 538 # noqa: E501 539 540 :param must_agree_to_esign: The must_agree_to_esign of this ConsumerDisclosure. # noqa: E501 541 :type: str 542 """ 543 544 self._must_agree_to_esign = must_agree_to_esign 545 546 @property 547 def pdf_id(self): 548 """Gets the pdf_id of this ConsumerDisclosure. # noqa: E501 549 550 # noqa: E501 551 552 :return: The pdf_id of this ConsumerDisclosure. # noqa: E501 553 :rtype: str 554 """ 555 return self._pdf_id 556 557 @pdf_id.setter 558 def pdf_id(self, pdf_id): 559 """Sets the pdf_id of this ConsumerDisclosure. 560 561 # noqa: E501 562 563 :param pdf_id: The pdf_id of this ConsumerDisclosure. # noqa: E501 564 :type: str 565 """ 566 567 self._pdf_id = pdf_id 568 569 @property 570 def use_brand(self): 571 """Gets the use_brand of this ConsumerDisclosure. # noqa: E501 572 573 # noqa: E501 574 575 :return: The use_brand of this ConsumerDisclosure. # noqa: E501 576 :rtype: str 577 """ 578 return self._use_brand 579 580 @use_brand.setter 581 def use_brand(self, use_brand): 582 """Sets the use_brand of this ConsumerDisclosure. 583 584 # noqa: E501 585 586 :param use_brand: The use_brand of this ConsumerDisclosure. # noqa: E501 587 :type: str 588 """ 589 590 self._use_brand = use_brand 591 592 @property 593 def use_consumer_disclosure_within_account(self): 594 """Gets the use_consumer_disclosure_within_account of this ConsumerDisclosure. # noqa: E501 595 596 # noqa: E501 597 598 :return: The use_consumer_disclosure_within_account of this ConsumerDisclosure. # noqa: E501 599 :rtype: str 600 """ 601 return self._use_consumer_disclosure_within_account 602 603 @use_consumer_disclosure_within_account.setter 604 def use_consumer_disclosure_within_account(self, use_consumer_disclosure_within_account): 605 """Sets the use_consumer_disclosure_within_account of this ConsumerDisclosure. 606 607 # noqa: E501 608 609 :param use_consumer_disclosure_within_account: The use_consumer_disclosure_within_account of this ConsumerDisclosure. # noqa: E501 610 :type: str 611 """ 612 613 self._use_consumer_disclosure_within_account = use_consumer_disclosure_within_account 614 615 @property 616 def use_consumer_disclosure_within_account_metadata(self): 617 """Gets the use_consumer_disclosure_within_account_metadata of this ConsumerDisclosure. # noqa: E501 618 619 Metadata that indicates whether the `useConsumerDisclosureWithinAccount` property is editable. # noqa: E501 620 621 :return: The use_consumer_disclosure_within_account_metadata of this ConsumerDisclosure. # noqa: E501 622 :rtype: SettingsMetadata 623 """ 624 return self._use_consumer_disclosure_within_account_metadata 625 626 @use_consumer_disclosure_within_account_metadata.setter 627 def use_consumer_disclosure_within_account_metadata(self, use_consumer_disclosure_within_account_metadata): 628 """Sets the use_consumer_disclosure_within_account_metadata of this ConsumerDisclosure. 629 630 Metadata that indicates whether the `useConsumerDisclosureWithinAccount` property is editable. # noqa: E501 631 632 :param use_consumer_disclosure_within_account_metadata: The use_consumer_disclosure_within_account_metadata of this ConsumerDisclosure. # noqa: E501 633 :type: SettingsMetadata 634 """ 635 636 self._use_consumer_disclosure_within_account_metadata = use_consumer_disclosure_within_account_metadata 637 638 @property 639 def withdraw_address_line1(self): 640 """Gets the withdraw_address_line1 of this ConsumerDisclosure. # noqa: E501 641 642 Contains the first address line of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. # noqa: E501 643 644 :return: The withdraw_address_line1 of this ConsumerDisclosure. # noqa: E501 645 :rtype: str 646 """ 647 return self._withdraw_address_line1 648 649 @withdraw_address_line1.setter 650 def withdraw_address_line1(self, withdraw_address_line1): 651 """Sets the withdraw_address_line1 of this ConsumerDisclosure. 652 653 Contains the first address line of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. # noqa: E501 654 655 :param withdraw_address_line1: The withdraw_address_line1 of this ConsumerDisclosure. # noqa: E501 656 :type: str 657 """ 658 659 self._withdraw_address_line1 = withdraw_address_line1 660 661 @property 662 def withdraw_address_line2(self): 663 """Gets the withdraw_address_line2 of this ConsumerDisclosure. # noqa: E501 664 665 Contains the second address line of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. # noqa: E501 666 667 :return: The withdraw_address_line2 of this ConsumerDisclosure. # noqa: E501 668 :rtype: str 669 """ 670 return self._withdraw_address_line2 671 672 @withdraw_address_line2.setter 673 def withdraw_address_line2(self, withdraw_address_line2): 674 """Sets the withdraw_address_line2 of this ConsumerDisclosure. 675 676 Contains the second address line of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. # noqa: E501 677 678 :param withdraw_address_line2: The withdraw_address_line2 of this ConsumerDisclosure. # noqa: E501 679 :type: str 680 """ 681 682 self._withdraw_address_line2 = withdraw_address_line2 683 684 @property 685 def withdraw_by_email(self): 686 """Gets the withdraw_by_email of this ConsumerDisclosure. # noqa: E501 687 688 Indicates whether the customer can withdraw consent by email. # noqa: E501 689 690 :return: The withdraw_by_email of this ConsumerDisclosure. # noqa: E501 691 :rtype: str 692 """ 693 return self._withdraw_by_email 694 695 @withdraw_by_email.setter 696 def withdraw_by_email(self, withdraw_by_email): 697 """Sets the withdraw_by_email of this ConsumerDisclosure. 698 699 Indicates whether the customer can withdraw consent by email. # noqa: E501 700 701 :param withdraw_by_email: The withdraw_by_email of this ConsumerDisclosure. # noqa: E501 702 :type: str 703 """ 704 705 self._withdraw_by_email = withdraw_by_email 706 707 @property 708 def withdraw_by_mail(self): 709 """Gets the withdraw_by_mail of this ConsumerDisclosure. # noqa: E501 710 711 Indicates whether the customer can withdraw consent by postal mail. # noqa: E501 712 713 :return: The withdraw_by_mail of this ConsumerDisclosure. # noqa: E501 714 :rtype: str 715 """ 716 return self._withdraw_by_mail 717 718 @withdraw_by_mail.setter 719 def withdraw_by_mail(self, withdraw_by_mail): 720 """Sets the withdraw_by_mail of this ConsumerDisclosure. 721 722 Indicates whether the customer can withdraw consent by postal mail. # noqa: E501 723 724 :param withdraw_by_mail: The withdraw_by_mail of this ConsumerDisclosure. # noqa: E501 725 :type: str 726 """ 727 728 self._withdraw_by_mail = withdraw_by_mail 729 730 @property 731 def withdraw_by_phone(self): 732 """Gets the withdraw_by_phone of this ConsumerDisclosure. # noqa: E501 733 734 Indicates whether the customer can withdraw consent by phone. # noqa: E501 735 736 :return: The withdraw_by_phone of this ConsumerDisclosure. # noqa: E501 737 :rtype: str 738 """ 739 return self._withdraw_by_phone 740 741 @withdraw_by_phone.setter 742 def withdraw_by_phone(self, withdraw_by_phone): 743 """Sets the withdraw_by_phone of this ConsumerDisclosure. 744 745 Indicates whether the customer can withdraw consent by phone. # noqa: E501 746 747 :param withdraw_by_phone: The withdraw_by_phone of this ConsumerDisclosure. # noqa: E501 748 :type: str 749 """ 750 751 self._withdraw_by_phone = withdraw_by_phone 752 753 @property 754 def withdraw_city(self): 755 """Gets the withdraw_city of this ConsumerDisclosure. # noqa: E501 756 757 Contains the city of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 50 characters. # noqa: E501 758 759 :return: The withdraw_city of this ConsumerDisclosure. # noqa: E501 760 :rtype: str 761 """ 762 return self._withdraw_city 763 764 @withdraw_city.setter 765 def withdraw_city(self, withdraw_city): 766 """Sets the withdraw_city of this ConsumerDisclosure. 767 768 Contains the city of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 50 characters. # noqa: E501 769 770 :param withdraw_city: The withdraw_city of this ConsumerDisclosure. # noqa: E501 771 :type: str 772 """ 773 774 self._withdraw_city = withdraw_city 775 776 @property 777 def withdraw_consequences(self): 778 """Gets the withdraw_consequences of this ConsumerDisclosure. # noqa: E501 779 780 Indicates the consequences of withdrawing consent. # noqa: E501 781 782 :return: The withdraw_consequences of this ConsumerDisclosure. # noqa: E501 783 :rtype: str 784 """ 785 return self._withdraw_consequences 786 787 @withdraw_consequences.setter 788 def withdraw_consequences(self, withdraw_consequences): 789 """Sets the withdraw_consequences of this ConsumerDisclosure. 790 791 Indicates the consequences of withdrawing consent. # noqa: E501 792 793 :param withdraw_consequences: The withdraw_consequences of this ConsumerDisclosure. # noqa: E501 794 :type: str 795 """ 796 797 self._withdraw_consequences = withdraw_consequences 798 799 @property 800 def withdraw_email(self): 801 """Gets the withdraw_email of this ConsumerDisclosure. # noqa: E501 802 803 Contains the email address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. # noqa: E501 804 805 :return: The withdraw_email of this ConsumerDisclosure. # noqa: E501 806 :rtype: str 807 """ 808 return self._withdraw_email 809 810 @withdraw_email.setter 811 def withdraw_email(self, withdraw_email): 812 """Sets the withdraw_email of this ConsumerDisclosure. 813 814 Contains the email address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. # noqa: E501 815 816 :param withdraw_email: The withdraw_email of this ConsumerDisclosure. # noqa: E501 817 :type: str 818 """ 819 820 self._withdraw_email = withdraw_email 821 822 @property 823 def withdraw_other(self): 824 """Gets the withdraw_other of this ConsumerDisclosure. # noqa: E501 825 826 Indicates other information need to withdraw consent. Maximum length: 255 characters. # noqa: E501 827 828 :return: The withdraw_other of this ConsumerDisclosure. # noqa: E501 829 :rtype: str 830 """ 831 return self._withdraw_other 832 833 @withdraw_other.setter 834 def withdraw_other(self, withdraw_other): 835 """Sets the withdraw_other of this ConsumerDisclosure. 836 837 Indicates other information need to withdraw consent. Maximum length: 255 characters. # noqa: E501 838 839 :param withdraw_other: The withdraw_other of this ConsumerDisclosure. # noqa: E501 840 :type: str 841 """ 842 843 self._withdraw_other = withdraw_other 844 845 @property 846 def withdraw_phone(self): 847 """Gets the withdraw_phone of this ConsumerDisclosure. # noqa: E501 848 849 Contains the phone number which a customer can call to register consent withdrawal notification. Maximum length: 20 characters. # noqa: E501 850 851 :return: The withdraw_phone of this ConsumerDisclosure. # noqa: E501 852 :rtype: str 853 """ 854 return self._withdraw_phone 855 856 @withdraw_phone.setter 857 def withdraw_phone(self, withdraw_phone): 858 """Sets the withdraw_phone of this ConsumerDisclosure. 859 860 Contains the phone number which a customer can call to register consent withdrawal notification. Maximum length: 20 characters. # noqa: E501 861 862 :param withdraw_phone: The withdraw_phone of this ConsumerDisclosure. # noqa: E501 863 :type: str 864 """ 865 866 self._withdraw_phone = withdraw_phone 867 868 @property 869 def withdraw_postal_code(self): 870 """Gets the withdraw_postal_code of this ConsumerDisclosure. # noqa: E501 871 872 Contains the postal code of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 20 characters. # noqa: E501 873 874 :return: The withdraw_postal_code of this ConsumerDisclosure. # noqa: E501 875 :rtype: str 876 """ 877 return self._withdraw_postal_code 878 879 @withdraw_postal_code.setter 880 def withdraw_postal_code(self, withdraw_postal_code): 881 """Sets the withdraw_postal_code of this ConsumerDisclosure. 882 883 Contains the postal code of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 20 characters. # noqa: E501 884 885 :param withdraw_postal_code: The withdraw_postal_code of this ConsumerDisclosure. # noqa: E501 886 :type: str 887 """ 888 889 self._withdraw_postal_code = withdraw_postal_code 890 891 @property 892 def withdraw_state(self): 893 """Gets the withdraw_state of this ConsumerDisclosure. # noqa: E501 894 895 Contains the state of the postal address to which a customer can send a consent withdrawal notification. # noqa: E501 896 897 :return: The withdraw_state of this ConsumerDisclosure. # noqa: E501 898 :rtype: str 899 """ 900 return self._withdraw_state 901 902 @withdraw_state.setter 903 def withdraw_state(self, withdraw_state): 904 """Sets the withdraw_state of this ConsumerDisclosure. 905 906 Contains the state of the postal address to which a customer can send a consent withdrawal notification. # noqa: E501 907 908 :param withdraw_state: The withdraw_state of this ConsumerDisclosure. # noqa: E501 909 :type: str 910 """ 911 912 self._withdraw_state = withdraw_state 913 914 def to_dict(self): 915 """Returns the model properties as a dict""" 916 result = {} 917 918 for attr, _ in six.iteritems(self.swagger_types): 919 value = getattr(self, attr) 920 if isinstance(value, list): 921 result[attr] = list(map( 922 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 923 value 924 )) 925 elif hasattr(value, "to_dict"): 926 result[attr] = value.to_dict() 927 elif isinstance(value, dict): 928 result[attr] = dict(map( 929 lambda item: (item[0], item[1].to_dict()) 930 if hasattr(item[1], "to_dict") else item, 931 value.items() 932 )) 933 else: 934 result[attr] = value 935 if issubclass(ConsumerDisclosure, dict): 936 for key, value in self.items(): 937 result[key] = value 938 939 return result 940 941 def to_str(self): 942 """Returns the string representation of the model""" 943 return pprint.pformat(self.to_dict()) 944 945 def __repr__(self): 946 """For `print` and `pprint`""" 947 return self.to_str() 948 949 def __eq__(self, other): 950 """Returns true if both objects are equal""" 951 if not isinstance(other, ConsumerDisclosure): 952 return False 953 954 return self.to_dict() == other.to_dict() 955 956 def __ne__(self, other): 957 """Returns true if both objects are not equal""" 958 if not isinstance(other, ConsumerDisclosure): 959 return True 960 961 return self.to_dict() != other.to_dict()
23class ConsumerDisclosure(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 'account_esign_id': 'str', 38 'allow_cd_withdraw': 'str', 39 'allow_cd_withdraw_metadata': 'SettingsMetadata', 40 'change_email': 'str', 41 'change_email_other': 'str', 42 'company_name': 'str', 43 'company_phone': 'str', 44 'copy_cost_per_page': 'str', 45 'copy_fee_collection_method': 'str', 46 'copy_request_email': 'str', 47 'custom': 'str', 48 'enable_esign': 'str', 49 'esign_agreement': 'str', 50 'esign_text': 'str', 51 'language_code': 'str', 52 'must_agree_to_esign': 'str', 53 'pdf_id': 'str', 54 'use_brand': 'str', 55 'use_consumer_disclosure_within_account': 'str', 56 'use_consumer_disclosure_within_account_metadata': 'SettingsMetadata', 57 'withdraw_address_line1': 'str', 58 'withdraw_address_line2': 'str', 59 'withdraw_by_email': 'str', 60 'withdraw_by_mail': 'str', 61 'withdraw_by_phone': 'str', 62 'withdraw_city': 'str', 63 'withdraw_consequences': 'str', 64 'withdraw_email': 'str', 65 'withdraw_other': 'str', 66 'withdraw_phone': 'str', 67 'withdraw_postal_code': 'str', 68 'withdraw_state': 'str' 69 } 70 71 attribute_map = { 72 'account_esign_id': 'accountEsignId', 73 'allow_cd_withdraw': 'allowCDWithdraw', 74 'allow_cd_withdraw_metadata': 'allowCDWithdrawMetadata', 75 'change_email': 'changeEmail', 76 'change_email_other': 'changeEmailOther', 77 'company_name': 'companyName', 78 'company_phone': 'companyPhone', 79 'copy_cost_per_page': 'copyCostPerPage', 80 'copy_fee_collection_method': 'copyFeeCollectionMethod', 81 'copy_request_email': 'copyRequestEmail', 82 'custom': 'custom', 83 'enable_esign': 'enableEsign', 84 'esign_agreement': 'esignAgreement', 85 'esign_text': 'esignText', 86 'language_code': 'languageCode', 87 'must_agree_to_esign': 'mustAgreeToEsign', 88 'pdf_id': 'pdfId', 89 'use_brand': 'useBrand', 90 'use_consumer_disclosure_within_account': 'useConsumerDisclosureWithinAccount', 91 'use_consumer_disclosure_within_account_metadata': 'useConsumerDisclosureWithinAccountMetadata', 92 'withdraw_address_line1': 'withdrawAddressLine1', 93 'withdraw_address_line2': 'withdrawAddressLine2', 94 'withdraw_by_email': 'withdrawByEmail', 95 'withdraw_by_mail': 'withdrawByMail', 96 'withdraw_by_phone': 'withdrawByPhone', 97 'withdraw_city': 'withdrawCity', 98 'withdraw_consequences': 'withdrawConsequences', 99 'withdraw_email': 'withdrawEmail', 100 'withdraw_other': 'withdrawOther', 101 'withdraw_phone': 'withdrawPhone', 102 'withdraw_postal_code': 'withdrawPostalCode', 103 'withdraw_state': 'withdrawState' 104 } 105 106 def __init__(self, _configuration=None, **kwargs): # noqa: E501 107 """ConsumerDisclosure - a model defined in Swagger""" # noqa: E501 108 if _configuration is None: 109 _configuration = Configuration() 110 self._configuration = _configuration 111 112 self._account_esign_id = None 113 self._allow_cd_withdraw = None 114 self._allow_cd_withdraw_metadata = None 115 self._change_email = None 116 self._change_email_other = None 117 self._company_name = None 118 self._company_phone = None 119 self._copy_cost_per_page = None 120 self._copy_fee_collection_method = None 121 self._copy_request_email = None 122 self._custom = None 123 self._enable_esign = None 124 self._esign_agreement = None 125 self._esign_text = None 126 self._language_code = None 127 self._must_agree_to_esign = None 128 self._pdf_id = None 129 self._use_brand = None 130 self._use_consumer_disclosure_within_account = None 131 self._use_consumer_disclosure_within_account_metadata = None 132 self._withdraw_address_line1 = None 133 self._withdraw_address_line2 = None 134 self._withdraw_by_email = None 135 self._withdraw_by_mail = None 136 self._withdraw_by_phone = None 137 self._withdraw_city = None 138 self._withdraw_consequences = None 139 self._withdraw_email = None 140 self._withdraw_other = None 141 self._withdraw_phone = None 142 self._withdraw_postal_code = None 143 self._withdraw_state = None 144 self.discriminator = None 145 146 setattr(self, "_{}".format('account_esign_id'), kwargs.get('account_esign_id', None)) 147 setattr(self, "_{}".format('allow_cd_withdraw'), kwargs.get('allow_cd_withdraw', None)) 148 setattr(self, "_{}".format('allow_cd_withdraw_metadata'), kwargs.get('allow_cd_withdraw_metadata', None)) 149 setattr(self, "_{}".format('change_email'), kwargs.get('change_email', None)) 150 setattr(self, "_{}".format('change_email_other'), kwargs.get('change_email_other', None)) 151 setattr(self, "_{}".format('company_name'), kwargs.get('company_name', None)) 152 setattr(self, "_{}".format('company_phone'), kwargs.get('company_phone', None)) 153 setattr(self, "_{}".format('copy_cost_per_page'), kwargs.get('copy_cost_per_page', None)) 154 setattr(self, "_{}".format('copy_fee_collection_method'), kwargs.get('copy_fee_collection_method', None)) 155 setattr(self, "_{}".format('copy_request_email'), kwargs.get('copy_request_email', None)) 156 setattr(self, "_{}".format('custom'), kwargs.get('custom', None)) 157 setattr(self, "_{}".format('enable_esign'), kwargs.get('enable_esign', None)) 158 setattr(self, "_{}".format('esign_agreement'), kwargs.get('esign_agreement', None)) 159 setattr(self, "_{}".format('esign_text'), kwargs.get('esign_text', None)) 160 setattr(self, "_{}".format('language_code'), kwargs.get('language_code', None)) 161 setattr(self, "_{}".format('must_agree_to_esign'), kwargs.get('must_agree_to_esign', None)) 162 setattr(self, "_{}".format('pdf_id'), kwargs.get('pdf_id', None)) 163 setattr(self, "_{}".format('use_brand'), kwargs.get('use_brand', None)) 164 setattr(self, "_{}".format('use_consumer_disclosure_within_account'), kwargs.get('use_consumer_disclosure_within_account', None)) 165 setattr(self, "_{}".format('use_consumer_disclosure_within_account_metadata'), kwargs.get('use_consumer_disclosure_within_account_metadata', None)) 166 setattr(self, "_{}".format('withdraw_address_line1'), kwargs.get('withdraw_address_line1', None)) 167 setattr(self, "_{}".format('withdraw_address_line2'), kwargs.get('withdraw_address_line2', None)) 168 setattr(self, "_{}".format('withdraw_by_email'), kwargs.get('withdraw_by_email', None)) 169 setattr(self, "_{}".format('withdraw_by_mail'), kwargs.get('withdraw_by_mail', None)) 170 setattr(self, "_{}".format('withdraw_by_phone'), kwargs.get('withdraw_by_phone', None)) 171 setattr(self, "_{}".format('withdraw_city'), kwargs.get('withdraw_city', None)) 172 setattr(self, "_{}".format('withdraw_consequences'), kwargs.get('withdraw_consequences', None)) 173 setattr(self, "_{}".format('withdraw_email'), kwargs.get('withdraw_email', None)) 174 setattr(self, "_{}".format('withdraw_other'), kwargs.get('withdraw_other', None)) 175 setattr(self, "_{}".format('withdraw_phone'), kwargs.get('withdraw_phone', None)) 176 setattr(self, "_{}".format('withdraw_postal_code'), kwargs.get('withdraw_postal_code', None)) 177 setattr(self, "_{}".format('withdraw_state'), kwargs.get('withdraw_state', None)) 178 179 @property 180 def account_esign_id(self): 181 """Gets the account_esign_id of this ConsumerDisclosure. # noqa: E501 182 183 A GUID identifying the account associated with the consumer disclosure # noqa: E501 184 185 :return: The account_esign_id of this ConsumerDisclosure. # noqa: E501 186 :rtype: str 187 """ 188 return self._account_esign_id 189 190 @account_esign_id.setter 191 def account_esign_id(self, account_esign_id): 192 """Sets the account_esign_id of this ConsumerDisclosure. 193 194 A GUID identifying the account associated with the consumer disclosure # noqa: E501 195 196 :param account_esign_id: The account_esign_id of this ConsumerDisclosure. # noqa: E501 197 :type: str 198 """ 199 200 self._account_esign_id = account_esign_id 201 202 @property 203 def allow_cd_withdraw(self): 204 """Gets the allow_cd_withdraw of this ConsumerDisclosure. # noqa: E501 205 206 Indicates whether the customer can withdraw their acceptance of the consumer disclosure. # noqa: E501 207 208 :return: The allow_cd_withdraw of this ConsumerDisclosure. # noqa: E501 209 :rtype: str 210 """ 211 return self._allow_cd_withdraw 212 213 @allow_cd_withdraw.setter 214 def allow_cd_withdraw(self, allow_cd_withdraw): 215 """Sets the allow_cd_withdraw of this ConsumerDisclosure. 216 217 Indicates whether the customer can withdraw their acceptance of the consumer disclosure. # noqa: E501 218 219 :param allow_cd_withdraw: The allow_cd_withdraw of this ConsumerDisclosure. # noqa: E501 220 :type: str 221 """ 222 223 self._allow_cd_withdraw = allow_cd_withdraw 224 225 @property 226 def allow_cd_withdraw_metadata(self): 227 """Gets the allow_cd_withdraw_metadata of this ConsumerDisclosure. # noqa: E501 228 229 Metadata that indicates whether the `allowCDWithdraw` property is editable. # noqa: E501 230 231 :return: The allow_cd_withdraw_metadata of this ConsumerDisclosure. # noqa: E501 232 :rtype: SettingsMetadata 233 """ 234 return self._allow_cd_withdraw_metadata 235 236 @allow_cd_withdraw_metadata.setter 237 def allow_cd_withdraw_metadata(self, allow_cd_withdraw_metadata): 238 """Sets the allow_cd_withdraw_metadata of this ConsumerDisclosure. 239 240 Metadata that indicates whether the `allowCDWithdraw` property is editable. # noqa: E501 241 242 :param allow_cd_withdraw_metadata: The allow_cd_withdraw_metadata of this ConsumerDisclosure. # noqa: E501 243 :type: SettingsMetadata 244 """ 245 246 self._allow_cd_withdraw_metadata = allow_cd_withdraw_metadata 247 248 @property 249 def change_email(self): 250 """Gets the change_email of this ConsumerDisclosure. # noqa: E501 251 252 # noqa: E501 253 254 :return: The change_email of this ConsumerDisclosure. # noqa: E501 255 :rtype: str 256 """ 257 return self._change_email 258 259 @change_email.setter 260 def change_email(self, change_email): 261 """Sets the change_email of this ConsumerDisclosure. 262 263 # noqa: E501 264 265 :param change_email: The change_email of this ConsumerDisclosure. # noqa: E501 266 :type: str 267 """ 268 269 self._change_email = change_email 270 271 @property 272 def change_email_other(self): 273 """Gets the change_email_other of this ConsumerDisclosure. # noqa: E501 274 275 # noqa: E501 276 277 :return: The change_email_other of this ConsumerDisclosure. # noqa: E501 278 :rtype: str 279 """ 280 return self._change_email_other 281 282 @change_email_other.setter 283 def change_email_other(self, change_email_other): 284 """Sets the change_email_other of this ConsumerDisclosure. 285 286 # noqa: E501 287 288 :param change_email_other: The change_email_other of this ConsumerDisclosure. # noqa: E501 289 :type: str 290 """ 291 292 self._change_email_other = change_email_other 293 294 @property 295 def company_name(self): 296 """Gets the company_name of this ConsumerDisclosure. # noqa: E501 297 298 The name of the company associated with the consumer disclosure. # noqa: E501 299 300 :return: The company_name of this ConsumerDisclosure. # noqa: E501 301 :rtype: str 302 """ 303 return self._company_name 304 305 @company_name.setter 306 def company_name(self, company_name): 307 """Sets the company_name of this ConsumerDisclosure. 308 309 The name of the company associated with the consumer disclosure. # noqa: E501 310 311 :param company_name: The company_name of this ConsumerDisclosure. # noqa: E501 312 :type: str 313 """ 314 315 self._company_name = company_name 316 317 @property 318 def company_phone(self): 319 """Gets the company_phone of this ConsumerDisclosure. # noqa: E501 320 321 The phone number of the company associated with the consumer disclosure. # noqa: E501 322 323 :return: The company_phone of this ConsumerDisclosure. # noqa: E501 324 :rtype: str 325 """ 326 return self._company_phone 327 328 @company_phone.setter 329 def company_phone(self, company_phone): 330 """Sets the company_phone of this ConsumerDisclosure. 331 332 The phone number of the company associated with the consumer disclosure. # noqa: E501 333 334 :param company_phone: The company_phone of this ConsumerDisclosure. # noqa: E501 335 :type: str 336 """ 337 338 self._company_phone = company_phone 339 340 @property 341 def copy_cost_per_page(self): 342 """Gets the copy_cost_per_page of this ConsumerDisclosure. # noqa: E501 343 344 # noqa: E501 345 346 :return: The copy_cost_per_page of this ConsumerDisclosure. # noqa: E501 347 :rtype: str 348 """ 349 return self._copy_cost_per_page 350 351 @copy_cost_per_page.setter 352 def copy_cost_per_page(self, copy_cost_per_page): 353 """Sets the copy_cost_per_page of this ConsumerDisclosure. 354 355 # noqa: E501 356 357 :param copy_cost_per_page: The copy_cost_per_page of this ConsumerDisclosure. # noqa: E501 358 :type: str 359 """ 360 361 self._copy_cost_per_page = copy_cost_per_page 362 363 @property 364 def copy_fee_collection_method(self): 365 """Gets the copy_fee_collection_method of this ConsumerDisclosure. # noqa: E501 366 367 Specifies the fee collection method for cases in which the customer requires paper copies of the document. Maximum Length: 255 characters # noqa: E501 368 369 :return: The copy_fee_collection_method of this ConsumerDisclosure. # noqa: E501 370 :rtype: str 371 """ 372 return self._copy_fee_collection_method 373 374 @copy_fee_collection_method.setter 375 def copy_fee_collection_method(self, copy_fee_collection_method): 376 """Sets the copy_fee_collection_method of this ConsumerDisclosure. 377 378 Specifies the fee collection method for cases in which the customer requires paper copies of the document. Maximum Length: 255 characters # noqa: E501 379 380 :param copy_fee_collection_method: The copy_fee_collection_method of this ConsumerDisclosure. # noqa: E501 381 :type: str 382 """ 383 384 self._copy_fee_collection_method = copy_fee_collection_method 385 386 @property 387 def copy_request_email(self): 388 """Gets the copy_request_email of this ConsumerDisclosure. # noqa: E501 389 390 # noqa: E501 391 392 :return: The copy_request_email of this ConsumerDisclosure. # noqa: E501 393 :rtype: str 394 """ 395 return self._copy_request_email 396 397 @copy_request_email.setter 398 def copy_request_email(self, copy_request_email): 399 """Sets the copy_request_email of this ConsumerDisclosure. 400 401 # noqa: E501 402 403 :param copy_request_email: The copy_request_email of this ConsumerDisclosure. # noqa: E501 404 :type: str 405 """ 406 407 self._copy_request_email = copy_request_email 408 409 @property 410 def custom(self): 411 """Gets the custom of this ConsumerDisclosure. # noqa: E501 412 413 # noqa: E501 414 415 :return: The custom of this ConsumerDisclosure. # noqa: E501 416 :rtype: str 417 """ 418 return self._custom 419 420 @custom.setter 421 def custom(self, custom): 422 """Sets the custom of this ConsumerDisclosure. 423 424 # noqa: E501 425 426 :param custom: The custom of this ConsumerDisclosure. # noqa: E501 427 :type: str 428 """ 429 430 self._custom = custom 431 432 @property 433 def enable_esign(self): 434 """Gets the enable_esign of this ConsumerDisclosure. # noqa: E501 435 436 # noqa: E501 437 438 :return: The enable_esign of this ConsumerDisclosure. # noqa: E501 439 :rtype: str 440 """ 441 return self._enable_esign 442 443 @enable_esign.setter 444 def enable_esign(self, enable_esign): 445 """Sets the enable_esign of this ConsumerDisclosure. 446 447 # noqa: E501 448 449 :param enable_esign: The enable_esign of this ConsumerDisclosure. # noqa: E501 450 :type: str 451 """ 452 453 self._enable_esign = enable_esign 454 455 @property 456 def esign_agreement(self): 457 """Gets the esign_agreement of this ConsumerDisclosure. # noqa: E501 458 459 The Electronic Record and Signature Disclosure text. The disclosure text includes the html formatting. # noqa: E501 460 461 :return: The esign_agreement of this ConsumerDisclosure. # noqa: E501 462 :rtype: str 463 """ 464 return self._esign_agreement 465 466 @esign_agreement.setter 467 def esign_agreement(self, esign_agreement): 468 """Sets the esign_agreement of this ConsumerDisclosure. 469 470 The Electronic Record and Signature Disclosure text. The disclosure text includes the html formatting. # noqa: E501 471 472 :param esign_agreement: The esign_agreement of this ConsumerDisclosure. # noqa: E501 473 :type: str 474 """ 475 476 self._esign_agreement = esign_agreement 477 478 @property 479 def esign_text(self): 480 """Gets the esign_text of this ConsumerDisclosure. # noqa: E501 481 482 # noqa: E501 483 484 :return: The esign_text of this ConsumerDisclosure. # noqa: E501 485 :rtype: str 486 """ 487 return self._esign_text 488 489 @esign_text.setter 490 def esign_text(self, esign_text): 491 """Sets the esign_text of this ConsumerDisclosure. 492 493 # noqa: E501 494 495 :param esign_text: The esign_text of this ConsumerDisclosure. # noqa: E501 496 :type: str 497 """ 498 499 self._esign_text = esign_text 500 501 @property 502 def language_code(self): 503 """Gets the language_code of this ConsumerDisclosure. # noqa: E501 504 505 # noqa: E501 506 507 :return: The language_code of this ConsumerDisclosure. # noqa: E501 508 :rtype: str 509 """ 510 return self._language_code 511 512 @language_code.setter 513 def language_code(self, language_code): 514 """Sets the language_code of this ConsumerDisclosure. 515 516 # noqa: E501 517 518 :param language_code: The language_code of this ConsumerDisclosure. # noqa: E501 519 :type: str 520 """ 521 522 self._language_code = language_code 523 524 @property 525 def must_agree_to_esign(self): 526 """Gets the must_agree_to_esign of this ConsumerDisclosure. # noqa: E501 527 528 # noqa: E501 529 530 :return: The must_agree_to_esign of this ConsumerDisclosure. # noqa: E501 531 :rtype: str 532 """ 533 return self._must_agree_to_esign 534 535 @must_agree_to_esign.setter 536 def must_agree_to_esign(self, must_agree_to_esign): 537 """Sets the must_agree_to_esign of this ConsumerDisclosure. 538 539 # noqa: E501 540 541 :param must_agree_to_esign: The must_agree_to_esign of this ConsumerDisclosure. # noqa: E501 542 :type: str 543 """ 544 545 self._must_agree_to_esign = must_agree_to_esign 546 547 @property 548 def pdf_id(self): 549 """Gets the pdf_id of this ConsumerDisclosure. # noqa: E501 550 551 # noqa: E501 552 553 :return: The pdf_id of this ConsumerDisclosure. # noqa: E501 554 :rtype: str 555 """ 556 return self._pdf_id 557 558 @pdf_id.setter 559 def pdf_id(self, pdf_id): 560 """Sets the pdf_id of this ConsumerDisclosure. 561 562 # noqa: E501 563 564 :param pdf_id: The pdf_id of this ConsumerDisclosure. # noqa: E501 565 :type: str 566 """ 567 568 self._pdf_id = pdf_id 569 570 @property 571 def use_brand(self): 572 """Gets the use_brand of this ConsumerDisclosure. # noqa: E501 573 574 # noqa: E501 575 576 :return: The use_brand of this ConsumerDisclosure. # noqa: E501 577 :rtype: str 578 """ 579 return self._use_brand 580 581 @use_brand.setter 582 def use_brand(self, use_brand): 583 """Sets the use_brand of this ConsumerDisclosure. 584 585 # noqa: E501 586 587 :param use_brand: The use_brand of this ConsumerDisclosure. # noqa: E501 588 :type: str 589 """ 590 591 self._use_brand = use_brand 592 593 @property 594 def use_consumer_disclosure_within_account(self): 595 """Gets the use_consumer_disclosure_within_account of this ConsumerDisclosure. # noqa: E501 596 597 # noqa: E501 598 599 :return: The use_consumer_disclosure_within_account of this ConsumerDisclosure. # noqa: E501 600 :rtype: str 601 """ 602 return self._use_consumer_disclosure_within_account 603 604 @use_consumer_disclosure_within_account.setter 605 def use_consumer_disclosure_within_account(self, use_consumer_disclosure_within_account): 606 """Sets the use_consumer_disclosure_within_account of this ConsumerDisclosure. 607 608 # noqa: E501 609 610 :param use_consumer_disclosure_within_account: The use_consumer_disclosure_within_account of this ConsumerDisclosure. # noqa: E501 611 :type: str 612 """ 613 614 self._use_consumer_disclosure_within_account = use_consumer_disclosure_within_account 615 616 @property 617 def use_consumer_disclosure_within_account_metadata(self): 618 """Gets the use_consumer_disclosure_within_account_metadata of this ConsumerDisclosure. # noqa: E501 619 620 Metadata that indicates whether the `useConsumerDisclosureWithinAccount` property is editable. # noqa: E501 621 622 :return: The use_consumer_disclosure_within_account_metadata of this ConsumerDisclosure. # noqa: E501 623 :rtype: SettingsMetadata 624 """ 625 return self._use_consumer_disclosure_within_account_metadata 626 627 @use_consumer_disclosure_within_account_metadata.setter 628 def use_consumer_disclosure_within_account_metadata(self, use_consumer_disclosure_within_account_metadata): 629 """Sets the use_consumer_disclosure_within_account_metadata of this ConsumerDisclosure. 630 631 Metadata that indicates whether the `useConsumerDisclosureWithinAccount` property is editable. # noqa: E501 632 633 :param use_consumer_disclosure_within_account_metadata: The use_consumer_disclosure_within_account_metadata of this ConsumerDisclosure. # noqa: E501 634 :type: SettingsMetadata 635 """ 636 637 self._use_consumer_disclosure_within_account_metadata = use_consumer_disclosure_within_account_metadata 638 639 @property 640 def withdraw_address_line1(self): 641 """Gets the withdraw_address_line1 of this ConsumerDisclosure. # noqa: E501 642 643 Contains the first address line of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. # noqa: E501 644 645 :return: The withdraw_address_line1 of this ConsumerDisclosure. # noqa: E501 646 :rtype: str 647 """ 648 return self._withdraw_address_line1 649 650 @withdraw_address_line1.setter 651 def withdraw_address_line1(self, withdraw_address_line1): 652 """Sets the withdraw_address_line1 of this ConsumerDisclosure. 653 654 Contains the first address line of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. # noqa: E501 655 656 :param withdraw_address_line1: The withdraw_address_line1 of this ConsumerDisclosure. # noqa: E501 657 :type: str 658 """ 659 660 self._withdraw_address_line1 = withdraw_address_line1 661 662 @property 663 def withdraw_address_line2(self): 664 """Gets the withdraw_address_line2 of this ConsumerDisclosure. # noqa: E501 665 666 Contains the second address line of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. # noqa: E501 667 668 :return: The withdraw_address_line2 of this ConsumerDisclosure. # noqa: E501 669 :rtype: str 670 """ 671 return self._withdraw_address_line2 672 673 @withdraw_address_line2.setter 674 def withdraw_address_line2(self, withdraw_address_line2): 675 """Sets the withdraw_address_line2 of this ConsumerDisclosure. 676 677 Contains the second address line of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. # noqa: E501 678 679 :param withdraw_address_line2: The withdraw_address_line2 of this ConsumerDisclosure. # noqa: E501 680 :type: str 681 """ 682 683 self._withdraw_address_line2 = withdraw_address_line2 684 685 @property 686 def withdraw_by_email(self): 687 """Gets the withdraw_by_email of this ConsumerDisclosure. # noqa: E501 688 689 Indicates whether the customer can withdraw consent by email. # noqa: E501 690 691 :return: The withdraw_by_email of this ConsumerDisclosure. # noqa: E501 692 :rtype: str 693 """ 694 return self._withdraw_by_email 695 696 @withdraw_by_email.setter 697 def withdraw_by_email(self, withdraw_by_email): 698 """Sets the withdraw_by_email of this ConsumerDisclosure. 699 700 Indicates whether the customer can withdraw consent by email. # noqa: E501 701 702 :param withdraw_by_email: The withdraw_by_email of this ConsumerDisclosure. # noqa: E501 703 :type: str 704 """ 705 706 self._withdraw_by_email = withdraw_by_email 707 708 @property 709 def withdraw_by_mail(self): 710 """Gets the withdraw_by_mail of this ConsumerDisclosure. # noqa: E501 711 712 Indicates whether the customer can withdraw consent by postal mail. # noqa: E501 713 714 :return: The withdraw_by_mail of this ConsumerDisclosure. # noqa: E501 715 :rtype: str 716 """ 717 return self._withdraw_by_mail 718 719 @withdraw_by_mail.setter 720 def withdraw_by_mail(self, withdraw_by_mail): 721 """Sets the withdraw_by_mail of this ConsumerDisclosure. 722 723 Indicates whether the customer can withdraw consent by postal mail. # noqa: E501 724 725 :param withdraw_by_mail: The withdraw_by_mail of this ConsumerDisclosure. # noqa: E501 726 :type: str 727 """ 728 729 self._withdraw_by_mail = withdraw_by_mail 730 731 @property 732 def withdraw_by_phone(self): 733 """Gets the withdraw_by_phone of this ConsumerDisclosure. # noqa: E501 734 735 Indicates whether the customer can withdraw consent by phone. # noqa: E501 736 737 :return: The withdraw_by_phone of this ConsumerDisclosure. # noqa: E501 738 :rtype: str 739 """ 740 return self._withdraw_by_phone 741 742 @withdraw_by_phone.setter 743 def withdraw_by_phone(self, withdraw_by_phone): 744 """Sets the withdraw_by_phone of this ConsumerDisclosure. 745 746 Indicates whether the customer can withdraw consent by phone. # noqa: E501 747 748 :param withdraw_by_phone: The withdraw_by_phone of this ConsumerDisclosure. # noqa: E501 749 :type: str 750 """ 751 752 self._withdraw_by_phone = withdraw_by_phone 753 754 @property 755 def withdraw_city(self): 756 """Gets the withdraw_city of this ConsumerDisclosure. # noqa: E501 757 758 Contains the city of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 50 characters. # noqa: E501 759 760 :return: The withdraw_city of this ConsumerDisclosure. # noqa: E501 761 :rtype: str 762 """ 763 return self._withdraw_city 764 765 @withdraw_city.setter 766 def withdraw_city(self, withdraw_city): 767 """Sets the withdraw_city of this ConsumerDisclosure. 768 769 Contains the city of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 50 characters. # noqa: E501 770 771 :param withdraw_city: The withdraw_city of this ConsumerDisclosure. # noqa: E501 772 :type: str 773 """ 774 775 self._withdraw_city = withdraw_city 776 777 @property 778 def withdraw_consequences(self): 779 """Gets the withdraw_consequences of this ConsumerDisclosure. # noqa: E501 780 781 Indicates the consequences of withdrawing consent. # noqa: E501 782 783 :return: The withdraw_consequences of this ConsumerDisclosure. # noqa: E501 784 :rtype: str 785 """ 786 return self._withdraw_consequences 787 788 @withdraw_consequences.setter 789 def withdraw_consequences(self, withdraw_consequences): 790 """Sets the withdraw_consequences of this ConsumerDisclosure. 791 792 Indicates the consequences of withdrawing consent. # noqa: E501 793 794 :param withdraw_consequences: The withdraw_consequences of this ConsumerDisclosure. # noqa: E501 795 :type: str 796 """ 797 798 self._withdraw_consequences = withdraw_consequences 799 800 @property 801 def withdraw_email(self): 802 """Gets the withdraw_email of this ConsumerDisclosure. # noqa: E501 803 804 Contains the email address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. # noqa: E501 805 806 :return: The withdraw_email of this ConsumerDisclosure. # noqa: E501 807 :rtype: str 808 """ 809 return self._withdraw_email 810 811 @withdraw_email.setter 812 def withdraw_email(self, withdraw_email): 813 """Sets the withdraw_email of this ConsumerDisclosure. 814 815 Contains the email address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. # noqa: E501 816 817 :param withdraw_email: The withdraw_email of this ConsumerDisclosure. # noqa: E501 818 :type: str 819 """ 820 821 self._withdraw_email = withdraw_email 822 823 @property 824 def withdraw_other(self): 825 """Gets the withdraw_other of this ConsumerDisclosure. # noqa: E501 826 827 Indicates other information need to withdraw consent. Maximum length: 255 characters. # noqa: E501 828 829 :return: The withdraw_other of this ConsumerDisclosure. # noqa: E501 830 :rtype: str 831 """ 832 return self._withdraw_other 833 834 @withdraw_other.setter 835 def withdraw_other(self, withdraw_other): 836 """Sets the withdraw_other of this ConsumerDisclosure. 837 838 Indicates other information need to withdraw consent. Maximum length: 255 characters. # noqa: E501 839 840 :param withdraw_other: The withdraw_other of this ConsumerDisclosure. # noqa: E501 841 :type: str 842 """ 843 844 self._withdraw_other = withdraw_other 845 846 @property 847 def withdraw_phone(self): 848 """Gets the withdraw_phone of this ConsumerDisclosure. # noqa: E501 849 850 Contains the phone number which a customer can call to register consent withdrawal notification. Maximum length: 20 characters. # noqa: E501 851 852 :return: The withdraw_phone of this ConsumerDisclosure. # noqa: E501 853 :rtype: str 854 """ 855 return self._withdraw_phone 856 857 @withdraw_phone.setter 858 def withdraw_phone(self, withdraw_phone): 859 """Sets the withdraw_phone of this ConsumerDisclosure. 860 861 Contains the phone number which a customer can call to register consent withdrawal notification. Maximum length: 20 characters. # noqa: E501 862 863 :param withdraw_phone: The withdraw_phone of this ConsumerDisclosure. # noqa: E501 864 :type: str 865 """ 866 867 self._withdraw_phone = withdraw_phone 868 869 @property 870 def withdraw_postal_code(self): 871 """Gets the withdraw_postal_code of this ConsumerDisclosure. # noqa: E501 872 873 Contains the postal code of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 20 characters. # noqa: E501 874 875 :return: The withdraw_postal_code of this ConsumerDisclosure. # noqa: E501 876 :rtype: str 877 """ 878 return self._withdraw_postal_code 879 880 @withdraw_postal_code.setter 881 def withdraw_postal_code(self, withdraw_postal_code): 882 """Sets the withdraw_postal_code of this ConsumerDisclosure. 883 884 Contains the postal code of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 20 characters. # noqa: E501 885 886 :param withdraw_postal_code: The withdraw_postal_code of this ConsumerDisclosure. # noqa: E501 887 :type: str 888 """ 889 890 self._withdraw_postal_code = withdraw_postal_code 891 892 @property 893 def withdraw_state(self): 894 """Gets the withdraw_state of this ConsumerDisclosure. # noqa: E501 895 896 Contains the state of the postal address to which a customer can send a consent withdrawal notification. # noqa: E501 897 898 :return: The withdraw_state of this ConsumerDisclosure. # noqa: E501 899 :rtype: str 900 """ 901 return self._withdraw_state 902 903 @withdraw_state.setter 904 def withdraw_state(self, withdraw_state): 905 """Sets the withdraw_state of this ConsumerDisclosure. 906 907 Contains the state of the postal address to which a customer can send a consent withdrawal notification. # noqa: E501 908 909 :param withdraw_state: The withdraw_state of this ConsumerDisclosure. # noqa: E501 910 :type: str 911 """ 912 913 self._withdraw_state = withdraw_state 914 915 def to_dict(self): 916 """Returns the model properties as a dict""" 917 result = {} 918 919 for attr, _ in six.iteritems(self.swagger_types): 920 value = getattr(self, attr) 921 if isinstance(value, list): 922 result[attr] = list(map( 923 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 924 value 925 )) 926 elif hasattr(value, "to_dict"): 927 result[attr] = value.to_dict() 928 elif isinstance(value, dict): 929 result[attr] = dict(map( 930 lambda item: (item[0], item[1].to_dict()) 931 if hasattr(item[1], "to_dict") else item, 932 value.items() 933 )) 934 else: 935 result[attr] = value 936 if issubclass(ConsumerDisclosure, dict): 937 for key, value in self.items(): 938 result[key] = value 939 940 return result 941 942 def to_str(self): 943 """Returns the string representation of the model""" 944 return pprint.pformat(self.to_dict()) 945 946 def __repr__(self): 947 """For `print` and `pprint`""" 948 return self.to_str() 949 950 def __eq__(self, other): 951 """Returns true if both objects are equal""" 952 if not isinstance(other, ConsumerDisclosure): 953 return False 954 955 return self.to_dict() == other.to_dict() 956 957 def __ne__(self, other): 958 """Returns true if both objects are not equal""" 959 if not isinstance(other, ConsumerDisclosure): 960 return True 961 962 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.
106 def __init__(self, _configuration=None, **kwargs): # noqa: E501 107 """ConsumerDisclosure - a model defined in Swagger""" # noqa: E501 108 if _configuration is None: 109 _configuration = Configuration() 110 self._configuration = _configuration 111 112 self._account_esign_id = None 113 self._allow_cd_withdraw = None 114 self._allow_cd_withdraw_metadata = None 115 self._change_email = None 116 self._change_email_other = None 117 self._company_name = None 118 self._company_phone = None 119 self._copy_cost_per_page = None 120 self._copy_fee_collection_method = None 121 self._copy_request_email = None 122 self._custom = None 123 self._enable_esign = None 124 self._esign_agreement = None 125 self._esign_text = None 126 self._language_code = None 127 self._must_agree_to_esign = None 128 self._pdf_id = None 129 self._use_brand = None 130 self._use_consumer_disclosure_within_account = None 131 self._use_consumer_disclosure_within_account_metadata = None 132 self._withdraw_address_line1 = None 133 self._withdraw_address_line2 = None 134 self._withdraw_by_email = None 135 self._withdraw_by_mail = None 136 self._withdraw_by_phone = None 137 self._withdraw_city = None 138 self._withdraw_consequences = None 139 self._withdraw_email = None 140 self._withdraw_other = None 141 self._withdraw_phone = None 142 self._withdraw_postal_code = None 143 self._withdraw_state = None 144 self.discriminator = None 145 146 setattr(self, "_{}".format('account_esign_id'), kwargs.get('account_esign_id', None)) 147 setattr(self, "_{}".format('allow_cd_withdraw'), kwargs.get('allow_cd_withdraw', None)) 148 setattr(self, "_{}".format('allow_cd_withdraw_metadata'), kwargs.get('allow_cd_withdraw_metadata', None)) 149 setattr(self, "_{}".format('change_email'), kwargs.get('change_email', None)) 150 setattr(self, "_{}".format('change_email_other'), kwargs.get('change_email_other', None)) 151 setattr(self, "_{}".format('company_name'), kwargs.get('company_name', None)) 152 setattr(self, "_{}".format('company_phone'), kwargs.get('company_phone', None)) 153 setattr(self, "_{}".format('copy_cost_per_page'), kwargs.get('copy_cost_per_page', None)) 154 setattr(self, "_{}".format('copy_fee_collection_method'), kwargs.get('copy_fee_collection_method', None)) 155 setattr(self, "_{}".format('copy_request_email'), kwargs.get('copy_request_email', None)) 156 setattr(self, "_{}".format('custom'), kwargs.get('custom', None)) 157 setattr(self, "_{}".format('enable_esign'), kwargs.get('enable_esign', None)) 158 setattr(self, "_{}".format('esign_agreement'), kwargs.get('esign_agreement', None)) 159 setattr(self, "_{}".format('esign_text'), kwargs.get('esign_text', None)) 160 setattr(self, "_{}".format('language_code'), kwargs.get('language_code', None)) 161 setattr(self, "_{}".format('must_agree_to_esign'), kwargs.get('must_agree_to_esign', None)) 162 setattr(self, "_{}".format('pdf_id'), kwargs.get('pdf_id', None)) 163 setattr(self, "_{}".format('use_brand'), kwargs.get('use_brand', None)) 164 setattr(self, "_{}".format('use_consumer_disclosure_within_account'), kwargs.get('use_consumer_disclosure_within_account', None)) 165 setattr(self, "_{}".format('use_consumer_disclosure_within_account_metadata'), kwargs.get('use_consumer_disclosure_within_account_metadata', None)) 166 setattr(self, "_{}".format('withdraw_address_line1'), kwargs.get('withdraw_address_line1', None)) 167 setattr(self, "_{}".format('withdraw_address_line2'), kwargs.get('withdraw_address_line2', None)) 168 setattr(self, "_{}".format('withdraw_by_email'), kwargs.get('withdraw_by_email', None)) 169 setattr(self, "_{}".format('withdraw_by_mail'), kwargs.get('withdraw_by_mail', None)) 170 setattr(self, "_{}".format('withdraw_by_phone'), kwargs.get('withdraw_by_phone', None)) 171 setattr(self, "_{}".format('withdraw_city'), kwargs.get('withdraw_city', None)) 172 setattr(self, "_{}".format('withdraw_consequences'), kwargs.get('withdraw_consequences', None)) 173 setattr(self, "_{}".format('withdraw_email'), kwargs.get('withdraw_email', None)) 174 setattr(self, "_{}".format('withdraw_other'), kwargs.get('withdraw_other', None)) 175 setattr(self, "_{}".format('withdraw_phone'), kwargs.get('withdraw_phone', None)) 176 setattr(self, "_{}".format('withdraw_postal_code'), kwargs.get('withdraw_postal_code', None)) 177 setattr(self, "_{}".format('withdraw_state'), kwargs.get('withdraw_state', None))
ConsumerDisclosure - a model defined in Swagger
Gets the account_esign_id of this ConsumerDisclosure. # noqa: E501
A GUID identifying the account associated with the consumer disclosure # noqa: E501
Returns
The account_esign_id of this ConsumerDisclosure. # noqa: E501
Gets the allow_cd_withdraw of this ConsumerDisclosure. # noqa: E501
Indicates whether the customer can withdraw their acceptance of the consumer disclosure. # noqa: E501
Returns
The allow_cd_withdraw of this ConsumerDisclosure. # noqa: E501
Gets the allow_cd_withdraw_metadata of this ConsumerDisclosure. # noqa: E501
Metadata that indicates whether the allowCDWithdraw
property is editable. # noqa: E501
Returns
The allow_cd_withdraw_metadata of this ConsumerDisclosure. # noqa: E501
Gets the change_email of this ConsumerDisclosure. # noqa: E501
# noqa: E501
Returns
The change_email of this ConsumerDisclosure. # noqa: E501
Gets the change_email_other of this ConsumerDisclosure. # noqa: E501
# noqa: E501
Returns
The change_email_other of this ConsumerDisclosure. # noqa: E501
Gets the company_name of this ConsumerDisclosure. # noqa: E501
The name of the company associated with the consumer disclosure. # noqa: E501
Returns
The company_name of this ConsumerDisclosure. # noqa: E501
Gets the company_phone of this ConsumerDisclosure. # noqa: E501
The phone number of the company associated with the consumer disclosure. # noqa: E501
Returns
The company_phone of this ConsumerDisclosure. # noqa: E501
Gets the copy_cost_per_page of this ConsumerDisclosure. # noqa: E501
# noqa: E501
Returns
The copy_cost_per_page of this ConsumerDisclosure. # noqa: E501
Gets the copy_fee_collection_method of this ConsumerDisclosure. # noqa: E501
Specifies the fee collection method for cases in which the customer requires paper copies of the document. Maximum Length: 255 characters # noqa: E501
Returns
The copy_fee_collection_method of this ConsumerDisclosure. # noqa: E501
Gets the copy_request_email of this ConsumerDisclosure. # noqa: E501
# noqa: E501
Returns
The copy_request_email of this ConsumerDisclosure. # noqa: E501
Gets the custom of this ConsumerDisclosure. # noqa: E501
# noqa: E501
Returns
The custom of this ConsumerDisclosure. # noqa: E501
Gets the enable_esign of this ConsumerDisclosure. # noqa: E501
# noqa: E501
Returns
The enable_esign of this ConsumerDisclosure. # noqa: E501
Gets the esign_agreement of this ConsumerDisclosure. # noqa: E501
The Electronic Record and Signature Disclosure text. The disclosure text includes the html formatting. # noqa: E501
Returns
The esign_agreement of this ConsumerDisclosure. # noqa: E501
Gets the esign_text of this ConsumerDisclosure. # noqa: E501
# noqa: E501
Returns
The esign_text of this ConsumerDisclosure. # noqa: E501
Gets the language_code of this ConsumerDisclosure. # noqa: E501
# noqa: E501
Returns
The language_code of this ConsumerDisclosure. # noqa: E501
Gets the must_agree_to_esign of this ConsumerDisclosure. # noqa: E501
# noqa: E501
Returns
The must_agree_to_esign of this ConsumerDisclosure. # noqa: E501
Gets the pdf_id of this ConsumerDisclosure. # noqa: E501
# noqa: E501
Returns
The pdf_id of this ConsumerDisclosure. # noqa: E501
Gets the use_brand of this ConsumerDisclosure. # noqa: E501
# noqa: E501
Returns
The use_brand of this ConsumerDisclosure. # noqa: E501
Gets the use_consumer_disclosure_within_account of this ConsumerDisclosure. # noqa: E501
# noqa: E501
Returns
The use_consumer_disclosure_within_account of this ConsumerDisclosure. # noqa: E501
Gets the use_consumer_disclosure_within_account_metadata of this ConsumerDisclosure. # noqa: E501
Metadata that indicates whether the useConsumerDisclosureWithinAccount
property is editable. # noqa: E501
Returns
The use_consumer_disclosure_within_account_metadata of this ConsumerDisclosure. # noqa: E501
Gets the withdraw_address_line1 of this ConsumerDisclosure. # noqa: E501
Contains the first address line of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. # noqa: E501
Returns
The withdraw_address_line1 of this ConsumerDisclosure. # noqa: E501
Gets the withdraw_address_line2 of this ConsumerDisclosure. # noqa: E501
Contains the second address line of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. # noqa: E501
Returns
The withdraw_address_line2 of this ConsumerDisclosure. # noqa: E501
Gets the withdraw_by_email of this ConsumerDisclosure. # noqa: E501
Indicates whether the customer can withdraw consent by email. # noqa: E501
Returns
The withdraw_by_email of this ConsumerDisclosure. # noqa: E501
Gets the withdraw_by_mail of this ConsumerDisclosure. # noqa: E501
Indicates whether the customer can withdraw consent by postal mail. # noqa: E501
Returns
The withdraw_by_mail of this ConsumerDisclosure. # noqa: E501
Gets the withdraw_by_phone of this ConsumerDisclosure. # noqa: E501
Indicates whether the customer can withdraw consent by phone. # noqa: E501
Returns
The withdraw_by_phone of this ConsumerDisclosure. # noqa: E501
Gets the withdraw_city of this ConsumerDisclosure. # noqa: E501
Contains the city of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 50 characters. # noqa: E501
Returns
The withdraw_city of this ConsumerDisclosure. # noqa: E501
Gets the withdraw_consequences of this ConsumerDisclosure. # noqa: E501
Indicates the consequences of withdrawing consent. # noqa: E501
Returns
The withdraw_consequences of this ConsumerDisclosure. # noqa: E501
Gets the withdraw_email of this ConsumerDisclosure. # noqa: E501
Contains the email address to which a customer can send a consent withdrawal notification. Maximum length: 100 characters. # noqa: E501
Returns
The withdraw_email of this ConsumerDisclosure. # noqa: E501
Gets the withdraw_other of this ConsumerDisclosure. # noqa: E501
Indicates other information need to withdraw consent. Maximum length: 255 characters. # noqa: E501
Returns
The withdraw_other of this ConsumerDisclosure. # noqa: E501
Gets the withdraw_phone of this ConsumerDisclosure. # noqa: E501
Contains the phone number which a customer can call to register consent withdrawal notification. Maximum length: 20 characters. # noqa: E501
Returns
The withdraw_phone of this ConsumerDisclosure. # noqa: E501
Gets the withdraw_postal_code of this ConsumerDisclosure. # noqa: E501
Contains the postal code of the postal address to which a customer can send a consent withdrawal notification. Maximum length: 20 characters. # noqa: E501
Returns
The withdraw_postal_code of this ConsumerDisclosure. # noqa: E501
Gets the withdraw_state of this ConsumerDisclosure. # noqa: E501
Contains the state of the postal address to which a customer can send a consent withdrawal notification. # noqa: E501
Returns
The withdraw_state of this ConsumerDisclosure. # noqa: E501
915 def to_dict(self): 916 """Returns the model properties as a dict""" 917 result = {} 918 919 for attr, _ in six.iteritems(self.swagger_types): 920 value = getattr(self, attr) 921 if isinstance(value, list): 922 result[attr] = list(map( 923 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 924 value 925 )) 926 elif hasattr(value, "to_dict"): 927 result[attr] = value.to_dict() 928 elif isinstance(value, dict): 929 result[attr] = dict(map( 930 lambda item: (item[0], item[1].to_dict()) 931 if hasattr(item[1], "to_dict") else item, 932 value.items() 933 )) 934 else: 935 result[attr] = value 936 if issubclass(ConsumerDisclosure, dict): 937 for key, value in self.items(): 938 result[key] = value 939 940 return result
Returns the model properties as a dict