tessitura_rest 1.5.3.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 901015c9a70324ea9798a42d4a8ea897bcb93a8b86c2d41c7a60595352f99e23
4
- data.tar.gz: a8cc30a6e5955636cb0389a7ca883ac242afa78e18947165a79dc4b7f90f25f7
3
+ metadata.gz: 7f7d53c0e30ab24ecb1292529c3e77f9e0ca53d1247d9434ab73e396b9ef8291
4
+ data.tar.gz: 76f6b654bd47108357ee2edd2cfd4bdf40247763fa1f688dbdc05b2b5b3cd27c
5
5
  SHA512:
6
- metadata.gz: 0e2d9927db6fc7b744c571dbda4c1cc0893eaf8b4408a4ff44689f63cf6d4b8e9459f3cafb157773bdcec892535a3d844b9fd59e0a875582b1c74ed38df96ca1
7
- data.tar.gz: 06d1ba0ed08031a0d4d37d435d9e3b34d1865665f2e7d73472f1ba9f26946481cfcab69de4b3ad2671f5062492789420b93e042796ce1ab01d61cdb5adb5e21b
6
+ metadata.gz: 3faf1d15c3bf233d61dc94a5a990f840df4978b5912cd7e928c08524b98783669bf3c2a27162ae13e748d877f3816be13f3a715d25e584309c02a693291ab7ff
7
+ data.tar.gz: afdca0d765b27d307271574880baef930e1e0b49f7fa95df9923ada1f2edf2802232218ffc05c047db98c83ca87c4b279303e324f7b7ff9ad21c4fa140c98935
@@ -22,7 +22,6 @@ module Addresses
22
22
  'Id': constituent,
23
23
  },
24
24
  'Inactive': false,
25
- 'Label': true,
26
25
  'Months': 'YYYYYYYYYYYY',
27
26
  'PostalCode': postal_code,
28
27
  'PrimaryIndicator': primary,
@@ -57,7 +56,6 @@ module Addresses
57
56
  'Constituent': {
58
57
  'Id': current['Constituent']['Id'],
59
58
  },
60
- 'Label': true,
61
59
  'Inactive': false,
62
60
  'Months': 'YYYYYYYYYYYY',
63
61
  'PostalCode': postal_code,
@@ -94,7 +92,6 @@ module Addresses
94
92
  'Id': current['Constituent']['Id'],
95
93
  },
96
94
  'Inactive': true,
97
- 'Label': true,
98
95
  'Months': 'YYYYYYYYYYYY',
99
96
  'PostalCode': current['PostalCode'],
100
97
  'State': {
@@ -11,15 +11,12 @@ module Phones
11
11
  'Constituent': {
12
12
  'Id': id,
13
13
  },
14
- 'Inactive': false,
15
14
  'PhoneNumber': phone,
16
15
  'PhoneType': {
17
16
  'Description': 'Cell Phone',
18
17
  'Id': 5,
19
18
  'Inactive': false,
20
19
  },
21
- 'IsMobile': true,
22
- 'PrimaryIndicator': true,
23
20
  }
24
21
  options.merge!(basic_auth: @auth, headers: @headers)
25
22
  options.merge!(:body => parameters.to_json)
@@ -1,5 +1,5 @@
1
1
  module PaymentGateway
2
- def authorize_payment(amount, store_card, payload, payment_id, return_url, constituent, shopper_ip, address, delivery_date, options = {})
2
+ def authorize_payment(amount, store_card, payload, payment_id, return_url, constituent_id, shopper_ip, address, delivery_date, options = {})
3
3
  parameters = {
4
4
  'Amount': amount,
5
5
  'StoreAccount': store_card,
@@ -7,17 +7,12 @@ module PaymentGateway
7
7
  'TessituraMerchantServicesData': payload,
8
8
  },
9
9
  'PaymentId': payment_id,
10
- 'ConstituentId': constituent.customer_no,
10
+ 'ConstituentId': constituent_id,
11
11
  'TransactionOrigin': 'webapi',
12
12
  'PaymentMethodId': 606,
13
13
  'ReturnUrl': return_url,
14
14
  'IsECommerce': true,
15
15
  'ShopperIp': shopper_ip,
16
- 'ShopperEmail': constituent.email,
17
- 'ShopperName': {
18
- 'FirstName': constituent.first_name,
19
- 'LastName': constituent.last_name,
20
- },
21
16
  'BillingAddress': {
22
17
  'PostalCode': address.postal_code,
23
18
  'Street1': address.street1,
@@ -23,12 +23,6 @@ module PerformanceExtension
23
23
  JSON.parse(response.body)
24
24
  end
25
25
 
26
- def get_performance_availability_v16(mode_of_sale, performance_ids, options = {})
27
- options.merge!(basic_auth: @auth, headers: @headers)
28
- response = self.class.get(base_api_endpoint("TXN/Performances/Availability?modeOfSaleId=#{mode_of_sale}&productionSeasonIds=#{performance_ids}"), options)
29
- JSON.parse(response.body)
30
- end
31
-
32
26
  def get_performance_availability(ids, sections_ids = nil, options = {})
33
27
  options.merge!(basic_auth: @auth, headers: @headers)
34
28
  response = self.class.get(base_api_endpoint("TXN/Performances/Zones?performanceIds=#{ids}&sectionIds=#{sections_ids}"), options)
@@ -1,3 +1,3 @@
1
1
  class TessituraRest
2
- VERSION = '1.5.3.1'.freeze
2
+ VERSION = '2.0.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tessitura_rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.3.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brittany Martin, Danielle Greaves, Craig Donavin, Patrick FitzGerald
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-12 00:00:00.000000000 Z
11
+ date: 2024-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -175,7 +175,7 @@ homepage: https://github.com/pgharts/tessitura
175
175
  licenses:
176
176
  - MIT
177
177
  metadata: {}
178
- post_install_message:
178
+ post_install_message:
179
179
  rdoc_options: []
180
180
  require_paths:
181
181
  - lib
@@ -190,8 +190,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
190
190
  - !ruby/object:Gem::Version
191
191
  version: '0'
192
192
  requirements: []
193
- rubygems_version: 3.5.8
194
- signing_key:
193
+ rubygems_version: 3.0.3.1
194
+ signing_key:
195
195
  specification_version: 4
196
196
  summary: Rest API Endpoint for the Tessitura Rest API (v14+).
197
197
  test_files: []