recurly 4.44.0 → 4.45.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bumpversion.cfg +1 -1
- data/CHANGELOG.md +11 -0
- data/GETTING_STARTED.md +1 -1
- data/lib/recurly/requests/invoice_create.rb +1 -1
- data/lib/recurly/requests/purchase_create.rb +1 -1
- data/lib/recurly/requests/subscription_change_create.rb +1 -1
- data/lib/recurly/requests/subscription_create.rb +1 -1
- data/lib/recurly/requests/subscription_update.rb +1 -1
- data/lib/recurly/resources/fraud_risk_rule.rb +18 -0
- data/lib/recurly/resources/invoice.rb +1 -1
- data/lib/recurly/resources/subscription.rb +1 -1
- data/lib/recurly/resources/transaction.rb +4 -0
- data/lib/recurly/resources/transaction_fraud_info.rb +30 -0
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +76 -19
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 061bfde1bfbf40f6a55902debee5a54f26570c14e1dbea2dd936d669600b5d63
|
4
|
+
data.tar.gz: 1ff7cfb18e36e801df6add13112daf4dd26b1d67a981f4e75884f4b768c0d388
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5edf2471128c95b588a27fcb883cd4700b5595a599a44433a0802139adb2e243f43b075412758e75ffbe2dfbe8119e990a6522ac2bcd77551a9fbcbf36900cb7
|
7
|
+
data.tar.gz: e886772b3052f81ae7ed4eb7c5c8320570d058068f3a036496e832fef01b2ffd7823debb72f4c558948a182e58eb82722812c0b4f3592d94f35d8ea18d30ca3b
|
data/.bumpversion.cfg
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [4.45.0](https://github.com/recurly/recurly-client-ruby/tree/4.45.0) (2024-01-18)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.44.0...4.45.0)
|
6
|
+
|
7
|
+
|
8
|
+
**Merged Pull Requests**
|
9
|
+
|
10
|
+
- Generated Latest Changes for v2021-02-25 [#872](https://github.com/recurly/recurly-client-ruby/pull/872) ([recurly-integrations](https://github.com/recurly-integrations))
|
11
|
+
|
12
|
+
|
13
|
+
|
3
14
|
## [4.44.0](https://github.com/recurly/recurly-client-ruby/tree/4.44.0) (2023-12-06)
|
4
15
|
|
5
16
|
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.43.0...4.44.0)
|
data/GETTING_STARTED.md
CHANGED
@@ -5,7 +5,7 @@ This repository houses the official ruby client for Recurly's V3 API.
|
|
5
5
|
In your Gemfile, add `recurly` as a dependency.
|
6
6
|
|
7
7
|
```ruby
|
8
|
-
gem 'recurly', '~> 4.
|
8
|
+
gem 'recurly', '~> 4.45'
|
9
9
|
```
|
10
10
|
|
11
11
|
> *Note*: We try to follow [semantic versioning](https://semver.org/) and will only apply breaking changes to major versions.
|
@@ -23,7 +23,7 @@ module Recurly
|
|
23
23
|
define_attribute :currency, String
|
24
24
|
|
25
25
|
# @!attribute net_terms
|
26
|
-
# @return [Integer] Integer paired with `Net Terms Type` and representing the number of days past the current date (for `net` Net Terms Type) or days after the last day of the current month (for `eom` Net Terms Type) that the invoice will become past due. For
|
26
|
+
# @return [Integer] Integer paired with `Net Terms Type` and representing the number of days past the current date (for `net` Net Terms Type) or days after the last day of the current month (for `eom` Net Terms Type) that the invoice will become past due. For `manual` collection method, an additional 24 hours is added to ensure the customer has the entire last day to make payment before becoming past due. For example: If an invoice is due `net 0`, it is due 'On Receipt' and will become past due 24 hours after it's created. If an invoice is due `net 30`, it will become past due at 31 days exactly. If an invoice is due `eom 30`, it will become past due 31 days from the last day of the current month. For `automatic` collection method, the additional 24 hours is not added. For example, On-Receipt is due immediately, and `net 30` will become due exactly 30 days from invoice generation, at which point Recurly will attempt collection. When `eom` Net Terms Type is passed, the value for `Net Terms` is restricted to `0, 15, 30, 45, 60, or 90`. For more information on how net terms work with `manual` collection visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms) or visit (https://docs.recurly.com/docs/automatic-invoicing-terms#section-collection-terms) for information about net terms using `automatic` collection.
|
27
27
|
define_attribute :net_terms, Integer
|
28
28
|
|
29
29
|
# @!attribute net_terms_type
|
@@ -47,7 +47,7 @@ module Recurly
|
|
47
47
|
define_attribute :line_items, Array, { :item_type => :LineItemCreate }
|
48
48
|
|
49
49
|
# @!attribute net_terms
|
50
|
-
# @return [Integer] Integer paired with `Net Terms Type` and representing the number of days past the current date (for `net` Net Terms Type) or days after the last day of the current month (for `eom` Net Terms Type) that the invoice will become past due. For
|
50
|
+
# @return [Integer] Integer paired with `Net Terms Type` and representing the number of days past the current date (for `net` Net Terms Type) or days after the last day of the current month (for `eom` Net Terms Type) that the invoice will become past due. For `manual` collection method, an additional 24 hours is added to ensure the customer has the entire last day to make payment before becoming past due. For example: If an invoice is due `net 0`, it is due 'On Receipt' and will become past due 24 hours after it's created. If an invoice is due `net 30`, it will become past due at 31 days exactly. If an invoice is due `eom 30`, it will become past due 31 days from the last day of the current month. For `automatic` collection method, the additional 24 hours is not added. For example, On-Receipt is due immediately, and `net 30` will become due exactly 30 days from invoice generation, at which point Recurly will attempt collection. When `eom` Net Terms Type is passed, the value for `Net Terms` is restricted to `0, 15, 30, 45, 60, or 90`. For more information on how net terms work with `manual` collection visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms) or visit (https://docs.recurly.com/docs/automatic-invoicing-terms#section-collection-terms) for information about net terms using `automatic` collection.
|
51
51
|
define_attribute :net_terms, Integer
|
52
52
|
|
53
53
|
# @!attribute net_terms_type
|
@@ -27,7 +27,7 @@ module Recurly
|
|
27
27
|
define_attribute :custom_fields, Array, { :item_type => :CustomField }
|
28
28
|
|
29
29
|
# @!attribute net_terms
|
30
|
-
# @return [Integer] Integer normally paired with `Net Terms Type` and representing the number of days past the current date (for `net` Net Terms Type) or days after the last day of the current month (for `eom` Net Terms Type) that the invoice will become past due. During a subscription change, it's not necessary to provide both the `Net Terms Type` and `Net Terms` parameters. For more information
|
30
|
+
# @return [Integer] Integer normally paired with `Net Terms Type` and representing the number of days past the current date (for `net` Net Terms Type) or days after the last day of the current month (for `eom` Net Terms Type) that the invoice will become past due. During a subscription change, it's not necessary to provide both the `Net Terms Type` and `Net Terms` parameters. For more information on how net terms work with `manual` collection visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms) or visit (https://docs.recurly.com/docs/automatic-invoicing-terms#section-collection-terms) for information about net terms using `automatic` collection.
|
31
31
|
define_attribute :net_terms, Integer
|
32
32
|
|
33
33
|
# @!attribute net_terms_type
|
@@ -55,7 +55,7 @@ module Recurly
|
|
55
55
|
define_attribute :gift_card_redemption_code, String
|
56
56
|
|
57
57
|
# @!attribute net_terms
|
58
|
-
# @return [Integer] Integer paired with `Net Terms Type` and representing the number of days past the current date (for `net` Net Terms Type) or days after the last day of the current month (for `eom` Net Terms Type) that the invoice will become past due. For
|
58
|
+
# @return [Integer] Integer paired with `Net Terms Type` and representing the number of days past the current date (for `net` Net Terms Type) or days after the last day of the current month (for `eom` Net Terms Type) that the invoice will become past due. For `manual` collection method, an additional 24 hours is added to ensure the customer has the entire last day to make payment before becoming past due. For example: If an invoice is due `net 0`, it is due 'On Receipt' and will become past due 24 hours after it's created. If an invoice is due `net 30`, it will become past due at 31 days exactly. If an invoice is due `eom 30`, it will become past due 31 days from the last day of the current month. For `automatic` collection method, the additional 24 hours is not added. For example, On-Receipt is due immediately, and `net 30` will become due exactly 30 days from invoice generation, at which point Recurly will attempt collection. When `eom` Net Terms Type is passed, the value for `Net Terms` is restricted to `0, 15, 30, 45, 60, or 90`. For more information on how net terms work with `manual` collection visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms) or visit (https://docs.recurly.com/docs/automatic-invoicing-terms#section-collection-terms) for information about net terms using `automatic` collection.
|
59
59
|
define_attribute :net_terms, Integer
|
60
60
|
|
61
61
|
# @!attribute net_terms_type
|
@@ -31,7 +31,7 @@ module Recurly
|
|
31
31
|
define_attribute :gateway_code, String
|
32
32
|
|
33
33
|
# @!attribute net_terms
|
34
|
-
# @return [Integer] Integer paired with `Net Terms Type` and representing the number of days past the current date (for `net` Net Terms Type) or days after the last day of the current month (for `eom` Net Terms Type) that the invoice will become past due. For
|
34
|
+
# @return [Integer] Integer paired with `Net Terms Type` and representing the number of days past the current date (for `net` Net Terms Type) or days after the last day of the current month (for `eom` Net Terms Type) that the invoice will become past due. For `manual` collection method, an additional 24 hours is added to ensure the customer has the entire last day to make payment before becoming past due. For example: If an invoice is due `net 0`, it is due 'On Receipt' and will become past due 24 hours after it's created. If an invoice is due `net 30`, it will become past due at 31 days exactly. If an invoice is due `eom 30`, it will become past due 31 days from the last day of the current month. For `automatic` collection method, the additional 24 hours is not added. For example, On-Receipt is due immediately, and `net 30` will become due exactly 30 days from invoice generation, at which point Recurly will attempt collection. When `eom` Net Terms Type is passed, the value for `Net Terms` is restricted to `0, 15, 30, 45, 60, or 90`. For more information on how net terms work with `manual` collection visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms) or visit (https://docs.recurly.com/docs/automatic-invoicing-terms#section-collection-terms) for information about net terms using `automatic` collection.
|
35
35
|
define_attribute :net_terms, Integer
|
36
36
|
|
37
37
|
# @!attribute net_terms_type
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# This file is automatically created by Recurly's OpenAPI generation process
|
2
|
+
# and thus any edits you make by hand will be lost. If you wish to make a
|
3
|
+
# change to this file, please create a Github issue explaining the changes you
|
4
|
+
# need and we will usher them to the appropriate places.
|
5
|
+
module Recurly
|
6
|
+
module Resources
|
7
|
+
class FraudRiskRule < Resource
|
8
|
+
|
9
|
+
# @!attribute code
|
10
|
+
# @return [String] The Kount rule number.
|
11
|
+
define_attribute :code, String
|
12
|
+
|
13
|
+
# @!attribute message
|
14
|
+
# @return [String] Description of why the rule was triggered
|
15
|
+
define_attribute :message, String
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -83,7 +83,7 @@ module Recurly
|
|
83
83
|
define_attribute :line_items, Array, { :item_type => :LineItem }
|
84
84
|
|
85
85
|
# @!attribute net_terms
|
86
|
-
# @return [Integer] Integer paired with `Net Terms Type` and representing the number of days past the current date (for `net` Net Terms Type) or days after the last day of the current month (for `eom` Net Terms Type) that the invoice will become past due. For
|
86
|
+
# @return [Integer] Integer paired with `Net Terms Type` and representing the number of days past the current date (for `net` Net Terms Type) or days after the last day of the current month (for `eom` Net Terms Type) that the invoice will become past due. For `manual` collection method, an additional 24 hours is added to ensure the customer has the entire last day to make payment before becoming past due. For example: If an invoice is due `net 0`, it is due 'On Receipt' and will become past due 24 hours after it's created. If an invoice is due `net 30`, it will become past due at 31 days exactly. If an invoice is due `eom 30`, it will become past due 31 days from the last day of the current month. For `automatic` collection method, the additional 24 hours is not added. For example, On-Receipt is due immediately, and `net 30` will become due exactly 30 days from invoice generation, at which point Recurly will attempt collection. When `eom` Net Terms Type is passed, the value for `Net Terms` is restricted to `0, 15, 30, 45, 60, or 90`. For more information on how net terms work with `manual` collection visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms) or visit (https://docs.recurly.com/docs/automatic-invoicing-terms#section-collection-terms) for information about net terms using `automatic` collection.
|
87
87
|
define_attribute :net_terms, Integer
|
88
88
|
|
89
89
|
# @!attribute net_terms_type
|
@@ -107,7 +107,7 @@ module Recurly
|
|
107
107
|
define_attribute :id, String
|
108
108
|
|
109
109
|
# @!attribute net_terms
|
110
|
-
# @return [Integer] Integer paired with `Net Terms Type` and representing the number of days past the current date (for `net` Net Terms Type) or days after the last day of the current month (for `eom` Net Terms Type) that the invoice will become past due. For
|
110
|
+
# @return [Integer] Integer paired with `Net Terms Type` and representing the number of days past the current date (for `net` Net Terms Type) or days after the last day of the current month (for `eom` Net Terms Type) that the invoice will become past due. For `manual` collection method, an additional 24 hours is added to ensure the customer has the entire last day to make payment before becoming past due. For example: If an invoice is due `net 0`, it is due 'On Receipt' and will become past due 24 hours after it's created. If an invoice is due `net 30`, it will become past due at 31 days exactly. If an invoice is due `eom 30`, it will become past due 31 days from the last day of the current month. For `automatic` collection method, the additional 24 hours is not added. For example, On-Receipt is due immediately, and `net 30` will become due exactly 30 days from invoice generation, at which point Recurly will attempt collection. When `eom` Net Terms Type is passed, the value for `Net Terms` is restricted to `0, 15, 30, 45, 60, or 90`. For more information on how net terms work with `manual` collection visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms) or visit (https://docs.recurly.com/docs/automatic-invoicing-terms#section-collection-terms) for information about net terms using `automatic` collection.
|
111
111
|
define_attribute :net_terms, Integer
|
112
112
|
|
113
113
|
# @!attribute net_terms_type
|
@@ -58,6 +58,10 @@ module Recurly
|
|
58
58
|
# @return [String] When processed, result from checking the CVV/CVC value on the transaction.
|
59
59
|
define_attribute :cvv_check, String
|
60
60
|
|
61
|
+
# @!attribute fraud_info
|
62
|
+
# @return [TransactionFraudInfo] Fraud information
|
63
|
+
define_attribute :fraud_info, :TransactionFraudInfo
|
64
|
+
|
61
65
|
# @!attribute gateway_approval_code
|
62
66
|
# @return [String] Transaction approval code from the payment gateway.
|
63
67
|
define_attribute :gateway_approval_code, String
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# This file is automatically created by Recurly's OpenAPI generation process
|
2
|
+
# and thus any edits you make by hand will be lost. If you wish to make a
|
3
|
+
# change to this file, please create a Github issue explaining the changes you
|
4
|
+
# need and we will usher them to the appropriate places.
|
5
|
+
module Recurly
|
6
|
+
module Resources
|
7
|
+
class TransactionFraudInfo < Resource
|
8
|
+
|
9
|
+
# @!attribute decision
|
10
|
+
# @return [String] Kount decision
|
11
|
+
define_attribute :decision, String
|
12
|
+
|
13
|
+
# @!attribute object
|
14
|
+
# @return [String] Object type
|
15
|
+
define_attribute :object, String
|
16
|
+
|
17
|
+
# @!attribute reference
|
18
|
+
# @return [String] Kount transaction reference ID
|
19
|
+
define_attribute :reference, String
|
20
|
+
|
21
|
+
# @!attribute risk_rules_triggered
|
22
|
+
# @return [Array[FraudRiskRule]] A list of fraud risk rules that were triggered for the transaction.
|
23
|
+
define_attribute :risk_rules_triggered, Array, { :item_type => :FraudRiskRule }
|
24
|
+
|
25
|
+
# @!attribute score
|
26
|
+
# @return [Integer] Kount score
|
27
|
+
define_attribute :score, Integer
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
data/lib/recurly/version.rb
CHANGED
data/openapi/api.yaml
CHANGED
@@ -19422,16 +19422,19 @@ components:
|
|
19422
19422
|
Integer paired with `Net Terms Type` and representing the number
|
19423
19423
|
of days past the current date (for `net` Net Terms Type) or days after
|
19424
19424
|
the last day of the current month (for `eom` Net Terms Type) that the
|
19425
|
-
invoice will become past due. For
|
19425
|
+
invoice will become past due. For `manual` collection method, an additional 24 hours is
|
19426
19426
|
added to ensure the customer has the entire last day to make payment before
|
19427
|
-
becoming past due.
|
19427
|
+
becoming past due. For example:
|
19428
19428
|
|
19429
19429
|
If an invoice is due `net 0`, it is due 'On Receipt' and will become past due 24 hours after it's created.
|
19430
19430
|
If an invoice is due `net 30`, it will become past due at 31 days exactly.
|
19431
19431
|
If an invoice is due `eom 30`, it will become past due 31 days from the last day of the current month.
|
19432
19432
|
|
19433
|
+
For `automatic` collection method, the additional 24 hours is not added. For example, On-Receipt is due immediately, and `net 30` will become due exactly 30 days from invoice generation, at which point Recurly will attempt collection.
|
19433
19434
|
When `eom` Net Terms Type is passed, the value for `Net Terms` is restricted to `0, 15, 30, 45, 60, or 90`.
|
19434
|
-
|
19435
|
+
|
19436
|
+
For more information on how net terms work with `manual` collection visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)
|
19437
|
+
or visit (https://docs.recurly.com/docs/automatic-invoicing-terms#section-collection-terms) for information about net terms using `automatic` collection.
|
19435
19438
|
minimum: 0
|
19436
19439
|
default: 0
|
19437
19440
|
net_terms_type:
|
@@ -19617,16 +19620,19 @@ components:
|
|
19617
19620
|
Integer paired with `Net Terms Type` and representing the number
|
19618
19621
|
of days past the current date (for `net` Net Terms Type) or days after
|
19619
19622
|
the last day of the current month (for `eom` Net Terms Type) that the
|
19620
|
-
invoice will become past due. For
|
19623
|
+
invoice will become past due. For `manual` collection method, an additional 24 hours is
|
19621
19624
|
added to ensure the customer has the entire last day to make payment before
|
19622
|
-
becoming past due.
|
19625
|
+
becoming past due. For example:
|
19623
19626
|
|
19624
19627
|
If an invoice is due `net 0`, it is due 'On Receipt' and will become past due 24 hours after it's created.
|
19625
19628
|
If an invoice is due `net 30`, it will become past due at 31 days exactly.
|
19626
19629
|
If an invoice is due `eom 30`, it will become past due 31 days from the last day of the current month.
|
19627
19630
|
|
19631
|
+
For `automatic` collection method, the additional 24 hours is not added. For example, On-Receipt is due immediately, and `net 30` will become due exactly 30 days from invoice generation, at which point Recurly will attempt collection.
|
19628
19632
|
When `eom` Net Terms Type is passed, the value for `Net Terms` is restricted to `0, 15, 30, 45, 60, or 90`.
|
19629
|
-
|
19633
|
+
|
19634
|
+
For more information on how net terms work with `manual` collection visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)
|
19635
|
+
or visit (https://docs.recurly.com/docs/automatic-invoicing-terms#section-collection-terms) for information about net terms using `automatic` collection.
|
19630
19636
|
minimum: 0
|
19631
19637
|
default: 0
|
19632
19638
|
net_terms_type:
|
@@ -21733,16 +21739,19 @@ components:
|
|
21733
21739
|
Integer paired with `Net Terms Type` and representing the number
|
21734
21740
|
of days past the current date (for `net` Net Terms Type) or days after
|
21735
21741
|
the last day of the current month (for `eom` Net Terms Type) that the
|
21736
|
-
invoice will become past due. For
|
21742
|
+
invoice will become past due. For `manual` collection method, an additional 24 hours is
|
21737
21743
|
added to ensure the customer has the entire last day to make payment before
|
21738
|
-
becoming past due.
|
21744
|
+
becoming past due. For example:
|
21739
21745
|
|
21740
21746
|
If an invoice is due `net 0`, it is due 'On Receipt' and will become past due 24 hours after it's created.
|
21741
21747
|
If an invoice is due `net 30`, it will become past due at 31 days exactly.
|
21742
21748
|
If an invoice is due `eom 30`, it will become past due 31 days from the last day of the current month.
|
21743
21749
|
|
21750
|
+
For `automatic` collection method, the additional 24 hours is not added. For example, On-Receipt is due immediately, and `net 30` will become due exactly 30 days from invoice generation, at which point Recurly will attempt collection.
|
21744
21751
|
When `eom` Net Terms Type is passed, the value for `Net Terms` is restricted to `0, 15, 30, 45, 60, or 90`.
|
21745
|
-
|
21752
|
+
|
21753
|
+
For more information on how net terms work with `manual` collection visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)
|
21754
|
+
or visit (https://docs.recurly.com/docs/automatic-invoicing-terms#section-collection-terms) for information about net terms using `automatic` collection.
|
21746
21755
|
minimum: 0
|
21747
21756
|
default: 0
|
21748
21757
|
net_terms_type:
|
@@ -22314,7 +22323,8 @@ components:
|
|
22314
22323
|
month (for `eom` Net Terms Type) that the invoice will become past due. During a subscription
|
22315
22324
|
change, it's not necessary to provide both the `Net Terms Type` and `Net Terms` parameters.
|
22316
22325
|
|
22317
|
-
For more information
|
22326
|
+
For more information on how net terms work with `manual` collection visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)
|
22327
|
+
or visit (https://docs.recurly.com/docs/automatic-invoicing-terms#section-collection-terms) for information about net terms using `automatic` collection.
|
22318
22328
|
minimum: 0
|
22319
22329
|
default: 0
|
22320
22330
|
net_terms_type:
|
@@ -22527,16 +22537,19 @@ components:
|
|
22527
22537
|
Integer paired with `Net Terms Type` and representing the number
|
22528
22538
|
of days past the current date (for `net` Net Terms Type) or days after
|
22529
22539
|
the last day of the current month (for `eom` Net Terms Type) that the
|
22530
|
-
invoice will become past due. For
|
22540
|
+
invoice will become past due. For `manual` collection method, an additional 24 hours is
|
22531
22541
|
added to ensure the customer has the entire last day to make payment before
|
22532
|
-
becoming past due.
|
22542
|
+
becoming past due. For example:
|
22533
22543
|
|
22534
22544
|
If an invoice is due `net 0`, it is due 'On Receipt' and will become past due 24 hours after it's created.
|
22535
22545
|
If an invoice is due `net 30`, it will become past due at 31 days exactly.
|
22536
22546
|
If an invoice is due `eom 30`, it will become past due 31 days from the last day of the current month.
|
22537
22547
|
|
22548
|
+
For `automatic` collection method, the additional 24 hours is not added. For example, On-Receipt is due immediately, and `net 30` will become due exactly 30 days from invoice generation, at which point Recurly will attempt collection.
|
22538
22549
|
When `eom` Net Terms Type is passed, the value for `Net Terms` is restricted to `0, 15, 30, 45, 60, or 90`.
|
22539
|
-
|
22550
|
+
|
22551
|
+
For more information on how net terms work with `manual` collection visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)
|
22552
|
+
or visit (https://docs.recurly.com/docs/automatic-invoicing-terms#section-collection-terms) for information about net terms using `automatic` collection.
|
22540
22553
|
minimum: 0
|
22541
22554
|
default: 0
|
22542
22555
|
net_terms_type:
|
@@ -22720,16 +22733,19 @@ components:
|
|
22720
22733
|
Integer paired with `Net Terms Type` and representing the number
|
22721
22734
|
of days past the current date (for `net` Net Terms Type) or days after
|
22722
22735
|
the last day of the current month (for `eom` Net Terms Type) that the
|
22723
|
-
invoice will become past due. For
|
22736
|
+
invoice will become past due. For `manual` collection method, an additional 24 hours is
|
22724
22737
|
added to ensure the customer has the entire last day to make payment before
|
22725
|
-
becoming past due.
|
22738
|
+
becoming past due. For example:
|
22726
22739
|
|
22727
22740
|
If an invoice is due `net 0`, it is due 'On Receipt' and will become past due 24 hours after it's created.
|
22728
22741
|
If an invoice is due `net 30`, it will become past due at 31 days exactly.
|
22729
22742
|
If an invoice is due `eom 30`, it will become past due 31 days from the last day of the current month.
|
22730
22743
|
|
22744
|
+
For `automatic` collection method, the additional 24 hours is not added. For example, On-Receipt is due immediately, and `net 30` will become due exactly 30 days from invoice generation, at which point Recurly will attempt collection.
|
22731
22745
|
When `eom` Net Terms Type is passed, the value for `Net Terms` is restricted to `0, 15, 30, 45, 60, or 90`.
|
22732
|
-
|
22746
|
+
|
22747
|
+
For more information on how net terms work with `manual` collection visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)
|
22748
|
+
or visit (https://docs.recurly.com/docs/automatic-invoicing-terms#section-collection-terms) for information about net terms using `automatic` collection.
|
22733
22749
|
minimum: 0
|
22734
22750
|
default: 0
|
22735
22751
|
net_terms_type:
|
@@ -23154,6 +23170,44 @@ components:
|
|
23154
23170
|
For all other countries this will come from the VAT Number field in the
|
23155
23171
|
Billing Info.
|
23156
23172
|
title: VAT Number
|
23173
|
+
fraud_info:
|
23174
|
+
"$ref": "#/components/schemas/TransactionFraudInfo"
|
23175
|
+
TransactionFraudInfo:
|
23176
|
+
type: object
|
23177
|
+
title: Fraud information
|
23178
|
+
readOnly: true
|
23179
|
+
properties:
|
23180
|
+
object:
|
23181
|
+
type: string
|
23182
|
+
title: Object type
|
23183
|
+
readOnly: true
|
23184
|
+
score:
|
23185
|
+
type: integer
|
23186
|
+
title: Kount score
|
23187
|
+
minimum: 1
|
23188
|
+
maximum: 99
|
23189
|
+
decision:
|
23190
|
+
title: Kount decision
|
23191
|
+
maxLength: 10
|
23192
|
+
"$ref": "#/components/schemas/KountDecisionEnum"
|
23193
|
+
reference:
|
23194
|
+
type: string
|
23195
|
+
title: Kount transaction reference ID
|
23196
|
+
risk_rules_triggered:
|
23197
|
+
type: array
|
23198
|
+
title: Risk Rules Triggered
|
23199
|
+
description: A list of fraud risk rules that were triggered for the transaction.
|
23200
|
+
items:
|
23201
|
+
"$ref": "#/components/schemas/FraudRiskRule"
|
23202
|
+
FraudRiskRule:
|
23203
|
+
type: object
|
23204
|
+
properties:
|
23205
|
+
code:
|
23206
|
+
type: string
|
23207
|
+
title: The Kount rule number.
|
23208
|
+
message:
|
23209
|
+
type: string
|
23210
|
+
title: Description of why the rule was triggered
|
23157
23211
|
ExternalTransaction:
|
23158
23212
|
type: object
|
23159
23213
|
properties:
|
@@ -23457,16 +23511,19 @@ components:
|
|
23457
23511
|
Integer paired with `Net Terms Type` and representing the number
|
23458
23512
|
of days past the current date (for `net` Net Terms Type) or days after
|
23459
23513
|
the last day of the current month (for `eom` Net Terms Type) that the
|
23460
|
-
invoice will become past due. For
|
23514
|
+
invoice will become past due. For `manual` collection method, an additional 24 hours is
|
23461
23515
|
added to ensure the customer has the entire last day to make payment before
|
23462
|
-
becoming past due.
|
23516
|
+
becoming past due. For example:
|
23463
23517
|
|
23464
23518
|
If an invoice is due `net 0`, it is due 'On Receipt' and will become past due 24 hours after it's created.
|
23465
23519
|
If an invoice is due `net 30`, it will become past due at 31 days exactly.
|
23466
23520
|
If an invoice is due `eom 30`, it will become past due 31 days from the last day of the current month.
|
23467
23521
|
|
23522
|
+
For `automatic` collection method, the additional 24 hours is not added. For example, On-Receipt is due immediately, and `net 30` will become due exactly 30 days from invoice generation, at which point Recurly will attempt collection.
|
23468
23523
|
When `eom` Net Terms Type is passed, the value for `Net Terms` is restricted to `0, 15, 30, 45, 60, or 90`.
|
23469
|
-
|
23524
|
+
|
23525
|
+
For more information on how net terms work with `manual` collection visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)
|
23526
|
+
or visit (https://docs.recurly.com/docs/automatic-invoicing-terms#section-collection-terms) for information about net terms using `automatic` collection.
|
23470
23527
|
minimum: 0
|
23471
23528
|
default: 0
|
23472
23529
|
net_terms_type:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recurly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.45.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Recurly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -276,6 +276,7 @@ files:
|
|
276
276
|
- lib/recurly/resources/external_product_reference_mini.rb
|
277
277
|
- lib/recurly/resources/external_subscription.rb
|
278
278
|
- lib/recurly/resources/fraud_info.rb
|
279
|
+
- lib/recurly/resources/fraud_risk_rule.rb
|
279
280
|
- lib/recurly/resources/gateway_attributes.rb
|
280
281
|
- lib/recurly/resources/gift_card.rb
|
281
282
|
- lib/recurly/resources/gift_card_delivery.rb
|
@@ -318,6 +319,7 @@ files:
|
|
318
319
|
- lib/recurly/resources/tier_pricing.rb
|
319
320
|
- lib/recurly/resources/transaction.rb
|
320
321
|
- lib/recurly/resources/transaction_error.rb
|
322
|
+
- lib/recurly/resources/transaction_fraud_info.rb
|
321
323
|
- lib/recurly/resources/transaction_payment_gateway.rb
|
322
324
|
- lib/recurly/resources/unique_coupon_code.rb
|
323
325
|
- lib/recurly/resources/unique_coupon_code_params.rb
|
@@ -348,7 +350,7 @@ metadata:
|
|
348
350
|
changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
|
349
351
|
documentation_uri: https://recurly.github.io/recurly-client-ruby/
|
350
352
|
homepage_uri: https://github.com/recurly/recurly-client-ruby
|
351
|
-
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.
|
353
|
+
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.45.0
|
352
354
|
post_install_message:
|
353
355
|
rdoc_options: []
|
354
356
|
require_paths:
|
@@ -364,7 +366,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
364
366
|
- !ruby/object:Gem::Version
|
365
367
|
version: '0'
|
366
368
|
requirements: []
|
367
|
-
rubygems_version: 3.4.
|
369
|
+
rubygems_version: 3.4.10
|
368
370
|
signing_key:
|
369
371
|
specification_version: 4
|
370
372
|
summary: The ruby client for Recurly's V3 API
|