tessitura_rest 2.0.4 → 2.0.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65c4e3cbe0ec1a45f3bb17f230cda27137fd29fe2ccfd3685af204ec41af49df
|
4
|
+
data.tar.gz: 623bebdb371ce4ca81f0444abd2fca3b44b32fb827d2b67089fc101e18a53382
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72fbebad2ef07d619b0d980685debe3c18c268f3d2c844ce0c3f6545735cd5d9759fcb6118813539b9eeb9446184a5fca89156a59e737fa09cb403b6098d9ea9
|
7
|
+
data.tar.gz: fe6045ba43df982912455cb277d16232cd885f7b1b08638f9ae61d119e24086474b171e55ddecab797c970df582cf36c82ea1376c73f3759650caf7390786543
|
@@ -58,6 +58,27 @@ module Cart
|
|
58
58
|
self.class.delete(base_api_endpoint("Web/Cart/#{session_key}/Payments/GiftCertificate/#{gift_certificate_number}"), options)
|
59
59
|
end
|
60
60
|
|
61
|
+
def add_gift(session_key, amount, fund, options = {})
|
62
|
+
parameters = {
|
63
|
+
'Amount': amount,
|
64
|
+
'FundId': fund,
|
65
|
+
}
|
66
|
+
options.merge!(basic_auth: @auth, headers: @headers)
|
67
|
+
options.merge!(:body => parameters.to_json)
|
68
|
+
self.class.post(base_api_endpoint("Web/Cart/#{session_key}/Gifts"), options)
|
69
|
+
end
|
70
|
+
|
71
|
+
def add_membership_by_amount(session_key, amount, fund, options = {})
|
72
|
+
parameters =
|
73
|
+
{
|
74
|
+
'MembershipAmount': amount,
|
75
|
+
'FundId': fund,
|
76
|
+
}
|
77
|
+
options.merge!(basic_auth: @auth, headers: @headers)
|
78
|
+
options.merge!(:body => parameters.to_json)
|
79
|
+
self.class.post(base_api_endpoint("Web/Cart/#{session_key}/Memberships/AmountFirst"), options)
|
80
|
+
end
|
81
|
+
|
61
82
|
def add_contribution(session_key, amount, fund, membership_level, renew = false, upgrade = false, options = {})
|
62
83
|
parameters =
|
63
84
|
{
|
@@ -1,25 +1,4 @@
|
|
1
1
|
module PaymentPlanExtension
|
2
|
-
# to be deprecated
|
3
|
-
def add_billing_payment_plan(session_key, billing_id, billing_type_id, name, number, month, year, start_date = nil, end_date = nil, options = {})
|
4
|
-
parameters =
|
5
|
-
{
|
6
|
-
'BillingScheduleId': billing_id,
|
7
|
-
'BillingTypeId': billing_type_id,
|
8
|
-
'StartDate': start_date,
|
9
|
-
'EndDate': end_date,
|
10
|
-
'Card': {
|
11
|
-
'Name': name,
|
12
|
-
'Number': number,
|
13
|
-
'ExpiryMonth': month,
|
14
|
-
'ExpiryYear': year,
|
15
|
-
},
|
16
|
-
}
|
17
|
-
options.merge!(basic_auth: @auth, headers: @headers)
|
18
|
-
options.merge!(:body => parameters.to_json)
|
19
|
-
response = self.class.post(base_api_endpoint("Web/Cart/#{session_key}/Payments/Plan/Schedule"), options)
|
20
|
-
JSON.parse(response.body)
|
21
|
-
end
|
22
|
-
|
23
2
|
def add_tms_billing_payment_plan(session_key, billing_id, billing_type_id, account_id, start_date = nil, end_date = nil, options = {})
|
24
3
|
parameters =
|
25
4
|
{
|
data/lib/tessitura_rest.rb
CHANGED
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: 2.0.
|
4
|
+
version: 2.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brittany Martin, Danielle Greaves, Craig Donavin, Patrick FitzGerald
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -143,6 +143,7 @@ files:
|
|
143
143
|
- lib/tessitura_rest/custom/local_procedure.rb
|
144
144
|
- lib/tessitura_rest/diagnostics/diagnostics.rb
|
145
145
|
- lib/tessitura_rest/finance/appeals.rb
|
146
|
+
- lib/tessitura_rest/finance/campaigns.rb
|
146
147
|
- lib/tessitura_rest/finance/gift_certificates.rb
|
147
148
|
- lib/tessitura_rest/payment_gateway/payment_component.rb
|
148
149
|
- lib/tessitura_rest/payment_gateway/payment_gateway.rb
|