docusign_esign 3.11.0 → 3.12.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/docusign_esign-2.12.0.rc1.gem +0 -0
- data/docusign_esign.gemspec +1 -0
- data/lib/docusign_esign/client/api_client.rb +3 -2
- data/lib/docusign_esign/configuration.rb +2 -1
- data/lib/docusign_esign/models/account_billing_plan.rb +11 -1
- data/lib/docusign_esign/models/account_billing_plan_response.rb +11 -1
- data/lib/docusign_esign/models/account_signature_definition.rb +11 -1
- data/lib/docusign_esign/models/agent.rb +1 -10
- data/lib/docusign_esign/models/carbon_copy.rb +1 -10
- data/lib/docusign_esign/models/certified_delivery.rb +1 -10
- data/lib/docusign_esign/models/credit_card_information.rb +24 -4
- data/lib/docusign_esign/models/downgrade_billing_plan_information.rb +44 -4
- data/lib/docusign_esign/models/downgrade_plan_update_response.rb +54 -4
- data/lib/docusign_esign/models/editor.rb +1 -10
- data/lib/docusign_esign/models/intermediary.rb +1 -10
- data/lib/docusign_esign/models/notary_recipient.rb +1 -10
- data/lib/docusign_esign/models/recipient_proof_file.rb +11 -1
- data/lib/docusign_esign/models/report_in_product_run_response_row_fields.rb +31 -1
- data/lib/docusign_esign/models/signer.rb +1 -10
- data/lib/docusign_esign/models/template_role.rb +10 -1
- data/lib/docusign_esign/models/user_account_management_granular_information.rb +20 -1
- data/lib/docusign_esign/models/user_signature_definition.rb +11 -1
- data/lib/docusign_esign/models/witness.rb +1 -10
- data/lib/docusign_esign/version.rb +1 -1
- data/tests/Gemfile.lock +4 -0
- metadata +25 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2671b05c9eeedb4844856b1499ace690ddf0b797500a24d483f5ee609a9f87a6
|
4
|
+
data.tar.gz: 63ca392131004a4e8b2718b50188c74190255f07f48343ddab94c6f46f8d1c6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d3a81845d5cfbf9a3735a7e27090757fea0a69e359d53b8ec4e03cd2240576af61a4fa39b10e5d0f931eb57460b9466a7feb0551a8d2adcbd855c6698f0a2fc
|
7
|
+
data.tar.gz: 45707b22df7aa8304fd71d8647f0c34c2a136658a08eccd633c2e77f0e414e4609e0fd15d8137f8985f38291746eb3b76919796dc344171199bfd6ffe4a80761
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file.
|
|
3
3
|
|
4
4
|
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.
|
5
5
|
|
6
|
+
## [v3.12.0.rc1] - ESignature API v2.1-21.2.02.00 - 2021-08-30
|
7
|
+
### Changed
|
8
|
+
- Added support for version v2.1-21.2.02.00 of the DocuSign ESignature API.
|
9
|
+
- Updated the SDK release version.
|
10
|
+
|
6
11
|
## [v3.11.0] - eSignature API v2.1-21.2.00.00 - 2021-07-22
|
7
12
|
### Added
|
8
13
|
- Added new models and properties.
|
Binary file
|
data/docusign_esign.gemspec
CHANGED
@@ -27,6 +27,7 @@ Gem::Specification.new do |s|
|
|
27
27
|
s.required_ruby_version = ">= 1.9"
|
28
28
|
|
29
29
|
s.add_runtime_dependency 'jwt', '~> 2.2', '>= 2.2.1'
|
30
|
+
s.add_runtime_dependency 'addressable', '~> 2.7', '>= 2.7.0'
|
30
31
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
31
32
|
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
32
33
|
|
@@ -16,6 +16,7 @@ require 'tempfile'
|
|
16
16
|
require 'typhoeus'
|
17
17
|
require 'uri'
|
18
18
|
require 'jwt'
|
19
|
+
require 'addressable/uri'
|
19
20
|
|
20
21
|
module DocuSign_eSign
|
21
22
|
class ApiClient
|
@@ -259,8 +260,8 @@ module DocuSign_eSign
|
|
259
260
|
def build_request_url(path, opts)
|
260
261
|
# Add leading and trailing slashes to path
|
261
262
|
path = "/#{path}".gsub(/\/+/, '/')
|
262
|
-
return URI.encode("https://" + self.get_oauth_base_path + path) if opts[:oauth]
|
263
|
-
URI.encode(@config.base_url + path)
|
263
|
+
return Addressable::URI.encode("https://" + self.get_oauth_base_path + path) if opts[:oauth]
|
264
|
+
Addressable::URI.encode(@config.base_url + path)
|
264
265
|
end
|
265
266
|
|
266
267
|
# Builds the HTTP request body
|
@@ -10,6 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
10
10
|
=end
|
11
11
|
|
12
12
|
require 'uri'
|
13
|
+
require 'addressable/uri'
|
13
14
|
|
14
15
|
module DocuSign_eSign
|
15
16
|
class Configuration
|
@@ -168,7 +169,7 @@ module DocuSign_eSign
|
|
168
169
|
|
169
170
|
def base_url
|
170
171
|
url = "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '')
|
171
|
-
URI.encode(url)
|
172
|
+
Addressable::URI.encode(url)
|
172
173
|
end
|
173
174
|
|
174
175
|
# Gets API key (with prefix if set).
|
@@ -85,6 +85,9 @@ module DocuSign_eSign
|
|
85
85
|
# A complex type that contains any seat discount information. Values are: BeginSeatCount, EndSeatCount, and SeatDiscountPercent.
|
86
86
|
attr_accessor :seat_discounts
|
87
87
|
|
88
|
+
#
|
89
|
+
attr_accessor :subscription_start_date
|
90
|
+
|
88
91
|
# The support incident fee charged for each support incident.
|
89
92
|
attr_accessor :support_incident_fee
|
90
93
|
|
@@ -118,6 +121,7 @@ module DocuSign_eSign
|
|
118
121
|
:'renewal_date' => :'renewalDate',
|
119
122
|
:'renewal_status' => :'renewalStatus',
|
120
123
|
:'seat_discounts' => :'seatDiscounts',
|
124
|
+
:'subscription_start_date' => :'subscriptionStartDate',
|
121
125
|
:'support_incident_fee' => :'supportIncidentFee',
|
122
126
|
:'support_plan_fee' => :'supportPlanFee'
|
123
127
|
}
|
@@ -150,6 +154,7 @@ module DocuSign_eSign
|
|
150
154
|
:'renewal_date' => :'String',
|
151
155
|
:'renewal_status' => :'String',
|
152
156
|
:'seat_discounts' => :'Array<SeatDiscount>',
|
157
|
+
:'subscription_start_date' => :'String',
|
153
158
|
:'support_incident_fee' => :'String',
|
154
159
|
:'support_plan_fee' => :'String'
|
155
160
|
}
|
@@ -265,6 +270,10 @@ module DocuSign_eSign
|
|
265
270
|
end
|
266
271
|
end
|
267
272
|
|
273
|
+
if attributes.has_key?(:'subscriptionStartDate')
|
274
|
+
self.subscription_start_date = attributes[:'subscriptionStartDate']
|
275
|
+
end
|
276
|
+
|
268
277
|
if attributes.has_key?(:'supportIncidentFee')
|
269
278
|
self.support_incident_fee = attributes[:'supportIncidentFee']
|
270
279
|
end
|
@@ -316,6 +325,7 @@ module DocuSign_eSign
|
|
316
325
|
renewal_date == o.renewal_date &&
|
317
326
|
renewal_status == o.renewal_status &&
|
318
327
|
seat_discounts == o.seat_discounts &&
|
328
|
+
subscription_start_date == o.subscription_start_date &&
|
319
329
|
support_incident_fee == o.support_incident_fee &&
|
320
330
|
support_plan_fee == o.support_plan_fee
|
321
331
|
end
|
@@ -329,7 +339,7 @@ module DocuSign_eSign
|
|
329
339
|
# Calculates hash code according to all attributes.
|
330
340
|
# @return [Fixnum] Hash code
|
331
341
|
def hash
|
332
|
-
[add_ons, app_store_receipt_expiration_date, app_store_receipt_purchase_date, can_cancel_renewal, can_upgrade, currency_code, downgrade_plan_information, enable_support, included_seats, incremental_seats, is_downgrade, notification_type, other_discount_percent, payment_cycle, payment_method, per_seat_price, plan_classification, plan_feature_sets, plan_id, plan_name, plan_start_date, renewal_date, renewal_status, seat_discounts, support_incident_fee, support_plan_fee].hash
|
342
|
+
[add_ons, app_store_receipt_expiration_date, app_store_receipt_purchase_date, can_cancel_renewal, can_upgrade, currency_code, downgrade_plan_information, enable_support, included_seats, incremental_seats, is_downgrade, notification_type, other_discount_percent, payment_cycle, payment_method, per_seat_price, plan_classification, plan_feature_sets, plan_id, plan_name, plan_start_date, renewal_date, renewal_status, seat_discounts, subscription_start_date, support_incident_fee, support_plan_fee].hash
|
333
343
|
end
|
334
344
|
|
335
345
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module DocuSign_eSign
|
|
27
27
|
|
28
28
|
attr_accessor :downgrade_plan_information
|
29
29
|
|
30
|
+
#
|
31
|
+
attr_accessor :entity_name
|
32
|
+
|
30
33
|
#
|
31
34
|
attr_accessor :payment_method
|
32
35
|
|
@@ -46,6 +49,7 @@ module DocuSign_eSign
|
|
46
49
|
:'credit_card_information' => :'creditCardInformation',
|
47
50
|
:'direct_debit_processor_information' => :'directDebitProcessorInformation',
|
48
51
|
:'downgrade_plan_information' => :'downgradePlanInformation',
|
52
|
+
:'entity_name' => :'entityName',
|
49
53
|
:'payment_method' => :'paymentMethod',
|
50
54
|
:'payment_processor_information' => :'paymentProcessorInformation',
|
51
55
|
:'referral_information' => :'referralInformation',
|
@@ -62,6 +66,7 @@ module DocuSign_eSign
|
|
62
66
|
:'credit_card_information' => :'CreditCardInformation',
|
63
67
|
:'direct_debit_processor_information' => :'DirectDebitProcessorInformation',
|
64
68
|
:'downgrade_plan_information' => :'DowngradePlanUpdateResponse',
|
69
|
+
:'entity_name' => :'String',
|
65
70
|
:'payment_method' => :'String',
|
66
71
|
:'payment_processor_information' => :'PaymentProcessorInformation',
|
67
72
|
:'referral_information' => :'ReferralInformation',
|
@@ -101,6 +106,10 @@ module DocuSign_eSign
|
|
101
106
|
self.downgrade_plan_information = attributes[:'downgradePlanInformation']
|
102
107
|
end
|
103
108
|
|
109
|
+
if attributes.has_key?(:'entityName')
|
110
|
+
self.entity_name = attributes[:'entityName']
|
111
|
+
end
|
112
|
+
|
104
113
|
if attributes.has_key?(:'paymentMethod')
|
105
114
|
self.payment_method = attributes[:'paymentMethod']
|
106
115
|
end
|
@@ -144,6 +153,7 @@ module DocuSign_eSign
|
|
144
153
|
credit_card_information == o.credit_card_information &&
|
145
154
|
direct_debit_processor_information == o.direct_debit_processor_information &&
|
146
155
|
downgrade_plan_information == o.downgrade_plan_information &&
|
156
|
+
entity_name == o.entity_name &&
|
147
157
|
payment_method == o.payment_method &&
|
148
158
|
payment_processor_information == o.payment_processor_information &&
|
149
159
|
referral_information == o.referral_information &&
|
@@ -159,7 +169,7 @@ module DocuSign_eSign
|
|
159
169
|
# Calculates hash code according to all attributes.
|
160
170
|
# @return [Fixnum] Hash code
|
161
171
|
def hash
|
162
|
-
[billing_address, billing_address_is_credit_card_address, billing_plan, credit_card_information, direct_debit_processor_information, downgrade_plan_information, payment_method, payment_processor_information, referral_information, successor_plans].hash
|
172
|
+
[billing_address, billing_address_is_credit_card_address, billing_plan, credit_card_information, direct_debit_processor_information, downgrade_plan_information, entity_name, payment_method, payment_processor_information, referral_information, successor_plans].hash
|
163
173
|
end
|
164
174
|
|
165
175
|
# Builds the object from hash
|
@@ -51,6 +51,9 @@ module DocuSign_eSign
|
|
51
51
|
# Specifies the user signature name.
|
52
52
|
attr_accessor :signature_name
|
53
53
|
|
54
|
+
#
|
55
|
+
attr_accessor :signature_type
|
56
|
+
|
54
57
|
#
|
55
58
|
attr_accessor :signature_users
|
56
59
|
|
@@ -76,6 +79,7 @@ module DocuSign_eSign
|
|
76
79
|
:'signature_id' => :'signatureId',
|
77
80
|
:'signature_initials' => :'signatureInitials',
|
78
81
|
:'signature_name' => :'signatureName',
|
82
|
+
:'signature_type' => :'signatureType',
|
79
83
|
:'signature_users' => :'signatureUsers',
|
80
84
|
:'stamp_format' => :'stampFormat',
|
81
85
|
:'stamp_size_mm' => :'stampSizeMM'
|
@@ -98,6 +102,7 @@ module DocuSign_eSign
|
|
98
102
|
:'signature_id' => :'String',
|
99
103
|
:'signature_initials' => :'String',
|
100
104
|
:'signature_name' => :'String',
|
105
|
+
:'signature_type' => :'String',
|
101
106
|
:'signature_users' => :'Array<SignatureUserDef>',
|
102
107
|
:'stamp_format' => :'String',
|
103
108
|
:'stamp_size_mm' => :'String'
|
@@ -166,6 +171,10 @@ module DocuSign_eSign
|
|
166
171
|
self.signature_name = attributes[:'signatureName']
|
167
172
|
end
|
168
173
|
|
174
|
+
if attributes.has_key?(:'signatureType')
|
175
|
+
self.signature_type = attributes[:'signatureType']
|
176
|
+
end
|
177
|
+
|
169
178
|
if attributes.has_key?(:'signatureUsers')
|
170
179
|
if (value = attributes[:'signatureUsers']).is_a?(Array)
|
171
180
|
self.signature_users = value
|
@@ -212,6 +221,7 @@ module DocuSign_eSign
|
|
212
221
|
signature_id == o.signature_id &&
|
213
222
|
signature_initials == o.signature_initials &&
|
214
223
|
signature_name == o.signature_name &&
|
224
|
+
signature_type == o.signature_type &&
|
215
225
|
signature_users == o.signature_users &&
|
216
226
|
stamp_format == o.stamp_format &&
|
217
227
|
stamp_size_mm == o.stamp_size_mm
|
@@ -226,7 +236,7 @@ module DocuSign_eSign
|
|
226
236
|
# Calculates hash code according to all attributes.
|
227
237
|
# @return [Fixnum] Hash code
|
228
238
|
def hash
|
229
|
-
[date_stamp_properties, disallow_user_resize_stamp, external_id, image_type, is_default, nrds_id, nrds_last_name, phonetic_name, signature_font, signature_groups, signature_id, signature_initials, signature_name, signature_users, stamp_format, stamp_size_mm].hash
|
239
|
+
[date_stamp_properties, disallow_user_resize_stamp, external_id, image_type, is_default, nrds_id, nrds_last_name, phonetic_name, signature_font, signature_groups, signature_id, signature_initials, signature_name, signature_type, signature_users, stamp_format, stamp_size_mm].hash
|
230
240
|
end
|
231
241
|
|
232
242
|
# Builds the object from hash
|
@@ -130,8 +130,6 @@ module DocuSign_eSign
|
|
130
130
|
|
131
131
|
attr_accessor :phone_number
|
132
132
|
|
133
|
-
attr_accessor :phone_number_metadata
|
134
|
-
|
135
133
|
# Reserved:
|
136
134
|
attr_accessor :recipient_attachments
|
137
135
|
|
@@ -254,7 +252,6 @@ module DocuSign_eSign
|
|
254
252
|
:'note_metadata' => :'noteMetadata',
|
255
253
|
:'phone_authentication' => :'phoneAuthentication',
|
256
254
|
:'phone_number' => :'phoneNumber',
|
257
|
-
:'phone_number_metadata' => :'phoneNumberMetadata',
|
258
255
|
:'recipient_attachments' => :'recipientAttachments',
|
259
256
|
:'recipient_authentication_status' => :'recipientAuthenticationStatus',
|
260
257
|
:'recipient_feature_metadata' => :'recipientFeatureMetadata',
|
@@ -332,7 +329,6 @@ module DocuSign_eSign
|
|
332
329
|
:'note_metadata' => :'PropertyMetadata',
|
333
330
|
:'phone_authentication' => :'RecipientPhoneAuthentication',
|
334
331
|
:'phone_number' => :'RecipientPhoneNumber',
|
335
|
-
:'phone_number_metadata' => :'PropertyMetadata',
|
336
332
|
:'recipient_attachments' => :'Array<RecipientAttachment>',
|
337
333
|
:'recipient_authentication_status' => :'AuthenticationStatus',
|
338
334
|
:'recipient_feature_metadata' => :'Array<FeatureAvailableMetadata>',
|
@@ -555,10 +551,6 @@ module DocuSign_eSign
|
|
555
551
|
self.phone_number = attributes[:'phoneNumber']
|
556
552
|
end
|
557
553
|
|
558
|
-
if attributes.has_key?(:'phoneNumberMetadata')
|
559
|
-
self.phone_number_metadata = attributes[:'phoneNumberMetadata']
|
560
|
-
end
|
561
|
-
|
562
554
|
if attributes.has_key?(:'recipientAttachments')
|
563
555
|
if (value = attributes[:'recipientAttachments']).is_a?(Array)
|
564
556
|
self.recipient_attachments = value
|
@@ -738,7 +730,6 @@ module DocuSign_eSign
|
|
738
730
|
note_metadata == o.note_metadata &&
|
739
731
|
phone_authentication == o.phone_authentication &&
|
740
732
|
phone_number == o.phone_number &&
|
741
|
-
phone_number_metadata == o.phone_number_metadata &&
|
742
733
|
recipient_attachments == o.recipient_attachments &&
|
743
734
|
recipient_authentication_status == o.recipient_authentication_status &&
|
744
735
|
recipient_feature_metadata == o.recipient_feature_metadata &&
|
@@ -777,7 +768,7 @@ module DocuSign_eSign
|
|
777
768
|
# Calculates hash code according to all attributes.
|
778
769
|
# @return [Fixnum] Hash code
|
779
770
|
def hash
|
780
|
-
[access_code, access_code_metadata, add_access_code_to_email, additional_notifications, allow_system_override_for_locked_recipient, auto_responded_reason, client_user_id, completed_count, custom_fields, declined_date_time, declined_reason, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, last_name, last_name_metadata, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, note, note_metadata, phone_authentication, phone_number,
|
771
|
+
[access_code, access_code_metadata, add_access_code_to_email, additional_notifications, allow_system_override_for_locked_recipient, auto_responded_reason, client_user_id, completed_count, custom_fields, declined_date_time, declined_reason, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, last_name, last_name_metadata, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, note, note_metadata, phone_authentication, phone_number, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, role_name, routing_order, routing_order_metadata, sent_date_time, signed_date_time, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, template_locked, template_required, total_tab_count, user_id].hash
|
781
772
|
end
|
782
773
|
|
783
774
|
# Builds the object from hash
|
@@ -138,8 +138,6 @@ module DocuSign_eSign
|
|
138
138
|
|
139
139
|
attr_accessor :phone_number
|
140
140
|
|
141
|
-
attr_accessor :phone_number_metadata
|
142
|
-
|
143
141
|
attr_accessor :proof_file
|
144
142
|
|
145
143
|
# Reserved:
|
@@ -269,7 +267,6 @@ module DocuSign_eSign
|
|
269
267
|
:'note_metadata' => :'noteMetadata',
|
270
268
|
:'phone_authentication' => :'phoneAuthentication',
|
271
269
|
:'phone_number' => :'phoneNumber',
|
272
|
-
:'phone_number_metadata' => :'phoneNumberMetadata',
|
273
270
|
:'proof_file' => :'proofFile',
|
274
271
|
:'recipient_attachments' => :'recipientAttachments',
|
275
272
|
:'recipient_authentication_status' => :'recipientAuthenticationStatus',
|
@@ -352,7 +349,6 @@ module DocuSign_eSign
|
|
352
349
|
:'note_metadata' => :'PropertyMetadata',
|
353
350
|
:'phone_authentication' => :'RecipientPhoneAuthentication',
|
354
351
|
:'phone_number' => :'RecipientPhoneNumber',
|
355
|
-
:'phone_number_metadata' => :'PropertyMetadata',
|
356
352
|
:'proof_file' => :'RecipientProofFile',
|
357
353
|
:'recipient_attachments' => :'Array<RecipientAttachment>',
|
358
354
|
:'recipient_authentication_status' => :'AuthenticationStatus',
|
@@ -589,10 +585,6 @@ module DocuSign_eSign
|
|
589
585
|
self.phone_number = attributes[:'phoneNumber']
|
590
586
|
end
|
591
587
|
|
592
|
-
if attributes.has_key?(:'phoneNumberMetadata')
|
593
|
-
self.phone_number_metadata = attributes[:'phoneNumberMetadata']
|
594
|
-
end
|
595
|
-
|
596
588
|
if attributes.has_key?(:'proofFile')
|
597
589
|
self.proof_file = attributes[:'proofFile']
|
598
590
|
end
|
@@ -783,7 +775,6 @@ module DocuSign_eSign
|
|
783
775
|
note_metadata == o.note_metadata &&
|
784
776
|
phone_authentication == o.phone_authentication &&
|
785
777
|
phone_number == o.phone_number &&
|
786
|
-
phone_number_metadata == o.phone_number_metadata &&
|
787
778
|
proof_file == o.proof_file &&
|
788
779
|
recipient_attachments == o.recipient_attachments &&
|
789
780
|
recipient_authentication_status == o.recipient_authentication_status &&
|
@@ -824,7 +815,7 @@ module DocuSign_eSign
|
|
824
815
|
# Calculates hash code according to all attributes.
|
825
816
|
# @return [Fixnum] Hash code
|
826
817
|
def hash
|
827
|
-
[access_code, access_code_metadata, add_access_code_to_email, additional_notifications, agent_can_edit_email, agent_can_edit_name, allow_system_override_for_locked_recipient, auto_responded_reason, client_user_id, completed_count, custom_fields, declined_date_time, declined_reason, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, last_name, last_name_metadata, linked_account_configuration_id, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, note, note_metadata, phone_authentication, phone_number,
|
818
|
+
[access_code, access_code_metadata, add_access_code_to_email, additional_notifications, agent_can_edit_email, agent_can_edit_name, allow_system_override_for_locked_recipient, auto_responded_reason, client_user_id, completed_count, custom_fields, declined_date_time, declined_reason, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, last_name, last_name_metadata, linked_account_configuration_id, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, note, note_metadata, phone_authentication, phone_number, proof_file, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, role_name, routing_order, routing_order_metadata, sent_date_time, signed_date_time, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, tabs, template_locked, template_required, total_tab_count, user_id].hash
|
828
819
|
end
|
829
820
|
|
830
821
|
# Builds the object from hash
|
@@ -135,8 +135,6 @@ module DocuSign_eSign
|
|
135
135
|
|
136
136
|
attr_accessor :phone_number
|
137
137
|
|
138
|
-
attr_accessor :phone_number_metadata
|
139
|
-
|
140
138
|
attr_accessor :proof_file
|
141
139
|
|
142
140
|
# Reserved:
|
@@ -263,7 +261,6 @@ module DocuSign_eSign
|
|
263
261
|
:'note_metadata' => :'noteMetadata',
|
264
262
|
:'phone_authentication' => :'phoneAuthentication',
|
265
263
|
:'phone_number' => :'phoneNumber',
|
266
|
-
:'phone_number_metadata' => :'phoneNumberMetadata',
|
267
264
|
:'proof_file' => :'proofFile',
|
268
265
|
:'recipient_attachments' => :'recipientAttachments',
|
269
266
|
:'recipient_authentication_status' => :'recipientAuthenticationStatus',
|
@@ -344,7 +341,6 @@ module DocuSign_eSign
|
|
344
341
|
:'note_metadata' => :'PropertyMetadata',
|
345
342
|
:'phone_authentication' => :'RecipientPhoneAuthentication',
|
346
343
|
:'phone_number' => :'RecipientPhoneNumber',
|
347
|
-
:'phone_number_metadata' => :'PropertyMetadata',
|
348
344
|
:'proof_file' => :'RecipientProofFile',
|
349
345
|
:'recipient_attachments' => :'Array<RecipientAttachment>',
|
350
346
|
:'recipient_authentication_status' => :'AuthenticationStatus',
|
@@ -576,10 +572,6 @@ module DocuSign_eSign
|
|
576
572
|
self.phone_number = attributes[:'phoneNumber']
|
577
573
|
end
|
578
574
|
|
579
|
-
if attributes.has_key?(:'phoneNumberMetadata')
|
580
|
-
self.phone_number_metadata = attributes[:'phoneNumberMetadata']
|
581
|
-
end
|
582
|
-
|
583
575
|
if attributes.has_key?(:'proofFile')
|
584
576
|
self.proof_file = attributes[:'proofFile']
|
585
577
|
end
|
@@ -765,7 +757,6 @@ module DocuSign_eSign
|
|
765
757
|
note_metadata == o.note_metadata &&
|
766
758
|
phone_authentication == o.phone_authentication &&
|
767
759
|
phone_number == o.phone_number &&
|
768
|
-
phone_number_metadata == o.phone_number_metadata &&
|
769
760
|
proof_file == o.proof_file &&
|
770
761
|
recipient_attachments == o.recipient_attachments &&
|
771
762
|
recipient_authentication_status == o.recipient_authentication_status &&
|
@@ -805,7 +796,7 @@ module DocuSign_eSign
|
|
805
796
|
# Calculates hash code according to all attributes.
|
806
797
|
# @return [Fixnum] Hash code
|
807
798
|
def hash
|
808
|
-
[access_code, access_code_metadata, add_access_code_to_email, additional_notifications, agent_can_edit_email, agent_can_edit_name, allow_system_override_for_locked_recipient, auto_responded_reason, client_user_id, completed_count, custom_fields, declined_date_time, declined_reason, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, last_name, last_name_metadata, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, note, note_metadata, phone_authentication, phone_number,
|
799
|
+
[access_code, access_code_metadata, add_access_code_to_email, additional_notifications, agent_can_edit_email, agent_can_edit_name, allow_system_override_for_locked_recipient, auto_responded_reason, client_user_id, completed_count, custom_fields, declined_date_time, declined_reason, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, last_name, last_name_metadata, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, note, note_metadata, phone_authentication, phone_number, proof_file, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, role_name, routing_order, routing_order_metadata, sent_date_time, signed_date_time, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, template_locked, template_required, total_tab_count, user_id].hash
|
809
800
|
end
|
810
801
|
|
811
802
|
# Builds the object from hash
|
@@ -15,6 +15,9 @@ module DocuSign_eSign
|
|
15
15
|
class CreditCardInformation
|
16
16
|
attr_accessor :address
|
17
17
|
|
18
|
+
#
|
19
|
+
attr_accessor :card_last_digits
|
20
|
+
|
18
21
|
# The number on the credit card.
|
19
22
|
attr_accessor :card_number
|
20
23
|
|
@@ -33,16 +36,21 @@ module DocuSign_eSign
|
|
33
36
|
# The exact name printed on the credit card.
|
34
37
|
attr_accessor :name_on_card
|
35
38
|
|
39
|
+
#
|
40
|
+
attr_accessor :tokenized_card
|
41
|
+
|
36
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
37
43
|
def self.attribute_map
|
38
44
|
{
|
39
45
|
:'address' => :'address',
|
46
|
+
:'card_last_digits' => :'cardLastDigits',
|
40
47
|
:'card_number' => :'cardNumber',
|
41
48
|
:'card_type' => :'cardType',
|
42
49
|
:'cv_number' => :'cvNumber',
|
43
50
|
:'expiration_month' => :'expirationMonth',
|
44
51
|
:'expiration_year' => :'expirationYear',
|
45
|
-
:'name_on_card' => :'nameOnCard'
|
52
|
+
:'name_on_card' => :'nameOnCard',
|
53
|
+
:'tokenized_card' => :'tokenizedCard'
|
46
54
|
}
|
47
55
|
end
|
48
56
|
|
@@ -50,12 +58,14 @@ module DocuSign_eSign
|
|
50
58
|
def self.swagger_types
|
51
59
|
{
|
52
60
|
:'address' => :'AddressInformation',
|
61
|
+
:'card_last_digits' => :'String',
|
53
62
|
:'card_number' => :'String',
|
54
63
|
:'card_type' => :'String',
|
55
64
|
:'cv_number' => :'String',
|
56
65
|
:'expiration_month' => :'String',
|
57
66
|
:'expiration_year' => :'String',
|
58
|
-
:'name_on_card' => :'String'
|
67
|
+
:'name_on_card' => :'String',
|
68
|
+
:'tokenized_card' => :'String'
|
59
69
|
}
|
60
70
|
end
|
61
71
|
|
@@ -71,6 +81,10 @@ module DocuSign_eSign
|
|
71
81
|
self.address = attributes[:'address']
|
72
82
|
end
|
73
83
|
|
84
|
+
if attributes.has_key?(:'cardLastDigits')
|
85
|
+
self.card_last_digits = attributes[:'cardLastDigits']
|
86
|
+
end
|
87
|
+
|
74
88
|
if attributes.has_key?(:'cardNumber')
|
75
89
|
self.card_number = attributes[:'cardNumber']
|
76
90
|
end
|
@@ -94,6 +108,10 @@ module DocuSign_eSign
|
|
94
108
|
if attributes.has_key?(:'nameOnCard')
|
95
109
|
self.name_on_card = attributes[:'nameOnCard']
|
96
110
|
end
|
111
|
+
|
112
|
+
if attributes.has_key?(:'tokenizedCard')
|
113
|
+
self.tokenized_card = attributes[:'tokenizedCard']
|
114
|
+
end
|
97
115
|
end
|
98
116
|
|
99
117
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -115,12 +133,14 @@ module DocuSign_eSign
|
|
115
133
|
return true if self.equal?(o)
|
116
134
|
self.class == o.class &&
|
117
135
|
address == o.address &&
|
136
|
+
card_last_digits == o.card_last_digits &&
|
118
137
|
card_number == o.card_number &&
|
119
138
|
card_type == o.card_type &&
|
120
139
|
cv_number == o.cv_number &&
|
121
140
|
expiration_month == o.expiration_month &&
|
122
141
|
expiration_year == o.expiration_year &&
|
123
|
-
name_on_card == o.name_on_card
|
142
|
+
name_on_card == o.name_on_card &&
|
143
|
+
tokenized_card == o.tokenized_card
|
124
144
|
end
|
125
145
|
|
126
146
|
# @see the `==` method
|
@@ -132,7 +152,7 @@ module DocuSign_eSign
|
|
132
152
|
# Calculates hash code according to all attributes.
|
133
153
|
# @return [Fixnum] Hash code
|
134
154
|
def hash
|
135
|
-
[address, card_number, card_type, cv_number, expiration_month, expiration_year, name_on_card].hash
|
155
|
+
[address, card_last_digits, card_number, card_type, cv_number, expiration_month, expiration_year, name_on_card, tokenized_card].hash
|
136
156
|
end
|
137
157
|
|
138
158
|
# Builds the object from hash
|