chargebee 2.30.0 → 2.31.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/chargebee.gemspec +3 -3
- data/lib/chargebee/models/model.rb +1 -1
- data/lib/chargebee/models/payment_source.rb +5 -1
- data/lib/chargebee/models/quoted_charge.rb +1 -1
- data/lib/chargebee/models/quoted_subscription.rb +1 -1
- data/lib/chargebee/models/subscription.rb +1 -1
- data/lib/chargebee/result.rb +1 -1
- data/lib/chargebee.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d37ea625e5a4d88572994a5bb068275cc9cdac0b
|
4
|
+
data.tar.gz: 3c53db3993c9df8bc3c4caf2fbae82ff4698d35e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29ba26e14427489f8793bab92f3c903a5b6c6c47e9557853cfb8cb248faef71e35e71077524ade60e82165b6c3aa373bea697a6c5ada616c2c86522eb802a761
|
7
|
+
data.tar.gz: 010fd1a83c7da71d75f24db40e6e6549a554c5af0855c0fe90c305f8945dc2358b426336bf2f83a3c99a0055b8d15b3188afdd87f71c043e57edf03896171ab1
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,29 @@
|
|
1
|
+
### v2.31.1 (2023-10-09)
|
2
|
+
* * *
|
3
|
+
|
4
|
+
* Fixed URI encoded isue.
|
5
|
+
|
6
|
+
|
7
|
+
### v2.31.0 (2023-09-26)
|
8
|
+
* * *
|
9
|
+
|
10
|
+
#### New attributes:
|
11
|
+
* venmo has been added to the PaymentSource resource.
|
12
|
+
* proration_type has been added to the QuotedCharge, QuotedSubscription and Subscription resource.
|
13
|
+
|
14
|
+
#### New Enum values:
|
15
|
+
* ebanx has been added to Gateway.
|
16
|
+
* venmo has been added to Customer#TypeEnum.
|
17
|
+
* venmo has been added to PaymentMethodEnum.
|
18
|
+
* venmo has been added to PaymentMethodTypeEnum.
|
19
|
+
* venmo has been added to TypeEnum.
|
20
|
+
* venmo has been added to PaymentIntent#PaymentMethodTypeEnum.
|
21
|
+
|
22
|
+
#### New Input parameters:
|
23
|
+
* einvoicing_method has been added to HostedPage#CheckoutOneTimeForItemsRequest.
|
24
|
+
* einvoicing_method has been added to HostedPage#CheckoutNewForItemsRequest.
|
25
|
+
* additional_information has been added to PaymentSource#CardAdditionalInformation.
|
26
|
+
|
1
27
|
### v2.30.0 (2023-09-05)
|
2
28
|
* * *
|
3
29
|
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
[![gem](https://img.shields.io/gem/v/chargebee.svg?maxAge=2)](https://rubygems.org/gems/chargebee)
|
4
4
|
[![gem](https://img.shields.io/gem/dtv/chargebee.svg?maxAge=2)](https://rubygems.org/gems/chargebee)
|
5
5
|
|
6
|
-
This is the Ruby Library for integrating with Chargebee. Sign up for a Chargebee account [
|
6
|
+
This is the Ruby Library for integrating with Chargebee. Sign up for a Chargebee account {here}[https://www.chargebee.com].
|
7
7
|
|
8
8
|
Chargebee now supports two API versions - [V1](https://apidocs.chargebee.com/docs/api/v1) and [V2](https://apidocs.chargebee.com/docs/api), of which V2 is the latest release and all future developments will happen in V2. This library is for <b>API version V2</b>. If you’re looking for V1, head to [chargebee-v1 branch](https://github.com/chargebee/chargebee-ruby/tree/chargebee-v1).
|
9
9
|
|
data/chargebee.gemspec
CHANGED
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
|
|
4
4
|
s.rubygems_version = '1.3.5'
|
5
5
|
s.required_ruby_version = '>= 1.9.3'
|
6
6
|
s.name = 'chargebee'
|
7
|
-
s.version = '2.
|
8
|
-
s.date = '2023-09
|
7
|
+
s.version = '2.31.1'
|
8
|
+
s.date = '2023-10-09'
|
9
9
|
s.summary = "Ruby client for Chargebee API."
|
10
10
|
s.description = "Subscription Billing - Simple. Secure. Affordable. More details at www.chargebee.com."
|
11
11
|
s.metadata = {
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
|
15
15
|
s.authors = ['Rajaraman S', 'Thiyagarajan T']
|
16
16
|
s.email = ['rr@chargebee.com', 'thiyagu@chargebee.com']
|
17
|
-
s.homepage = 'https://apidocs.chargebee.com/api
|
17
|
+
s.homepage = 'https://apidocs.chargebee.com/docs/api?lang=ruby'
|
18
18
|
s.license = 'MIT'
|
19
19
|
|
20
20
|
s.require_paths = %w[lib]
|
@@ -29,13 +29,17 @@ module ChargeBee
|
|
29
29
|
attr_accessor :email, :agreement_id
|
30
30
|
end
|
31
31
|
|
32
|
+
class Venmo < Model
|
33
|
+
attr_accessor :user_name
|
34
|
+
end
|
35
|
+
|
32
36
|
class Mandate < Model
|
33
37
|
attr_accessor :id, :subscription_id, :created_at
|
34
38
|
end
|
35
39
|
|
36
40
|
attr_accessor :id, :resource_version, :updated_at, :created_at, :customer_id, :type, :reference_id,
|
37
41
|
:status, :gateway, :gateway_account_id, :ip_address, :issuing_country, :card, :bank_account,
|
38
|
-
:boleto, :billing_address, :amazon_payment, :upi, :paypal, :mandates, :deleted, :business_entity_id
|
42
|
+
:boleto, :billing_address, :amazon_payment, :upi, :paypal, :venmo, :mandates, :deleted, :business_entity_id
|
39
43
|
|
40
44
|
# OPERATIONS
|
41
45
|
#-----------
|
@@ -6,7 +6,7 @@ module ChargeBee
|
|
6
6
|
end
|
7
7
|
|
8
8
|
class Addon < Model
|
9
|
-
attr_accessor :id, :quantity, :unit_price, :quantity_in_decimal, :unit_price_in_decimal, :service_period
|
9
|
+
attr_accessor :id, :quantity, :unit_price, :quantity_in_decimal, :unit_price_in_decimal, :proration_type, :service_period
|
10
10
|
end
|
11
11
|
|
12
12
|
class InvoiceItem < Model
|
@@ -2,7 +2,7 @@ module ChargeBee
|
|
2
2
|
class QuotedSubscription < Model
|
3
3
|
|
4
4
|
class Addon < Model
|
5
|
-
attr_accessor :id, :quantity, :unit_price, :amount, :trial_end, :remaining_billing_cycles, :quantity_in_decimal, :unit_price_in_decimal, :amount_in_decimal
|
5
|
+
attr_accessor :id, :quantity, :unit_price, :amount, :trial_end, :remaining_billing_cycles, :quantity_in_decimal, :unit_price_in_decimal, :amount_in_decimal, :proration_type
|
6
6
|
end
|
7
7
|
|
8
8
|
class EventBasedAddon < Model
|
@@ -14,7 +14,7 @@ module ChargeBee
|
|
14
14
|
end
|
15
15
|
|
16
16
|
class Addon < Model
|
17
|
-
attr_accessor :id, :quantity, :unit_price, :amount, :trial_end, :remaining_billing_cycles, :quantity_in_decimal, :unit_price_in_decimal, :amount_in_decimal
|
17
|
+
attr_accessor :id, :quantity, :unit_price, :amount, :trial_end, :remaining_billing_cycles, :quantity_in_decimal, :unit_price_in_decimal, :amount_in_decimal, :proration_type
|
18
18
|
end
|
19
19
|
|
20
20
|
class EventBasedAddon < Model
|
data/lib/chargebee/result.rb
CHANGED
@@ -66,7 +66,7 @@ module ChargeBee
|
|
66
66
|
|
67
67
|
def payment_source()
|
68
68
|
payment_source = get(:payment_source, PaymentSource,
|
69
|
-
{:card => PaymentSource::Card, :bank_account => PaymentSource::BankAccount, :cust_voucher_source => PaymentSource::CustVoucherSource, :billing_address => PaymentSource::BillingAddress, :amazon_payment => PaymentSource::AmazonPayment, :upi => PaymentSource::Upi, :paypal => PaymentSource::Paypal, :mandates => PaymentSource::Mandate});
|
69
|
+
{:card => PaymentSource::Card, :bank_account => PaymentSource::BankAccount, :cust_voucher_source => PaymentSource::CustVoucherSource, :billing_address => PaymentSource::BillingAddress, :amazon_payment => PaymentSource::AmazonPayment, :upi => PaymentSource::Upi, :paypal => PaymentSource::Paypal, :venmo => PaymentSource::Venmo, :mandates => PaymentSource::Mandate});
|
70
70
|
return payment_source;
|
71
71
|
end
|
72
72
|
|
data/lib/chargebee.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chargebee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.31.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rajaraman S
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-09
|
12
|
+
date: 2023-10-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json_pure
|
@@ -187,7 +187,7 @@ files:
|
|
187
187
|
- spec/errors_spec.rb
|
188
188
|
- spec/sample_response.rb
|
189
189
|
- spec/spec_helper.rb
|
190
|
-
homepage: https://apidocs.chargebee.com/api
|
190
|
+
homepage: https://apidocs.chargebee.com/docs/api?lang=ruby
|
191
191
|
licenses:
|
192
192
|
- MIT
|
193
193
|
metadata:
|