recurly 4.44.0 → 4.46.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: a6f7b9520933bcb659ed347252df909d49e49ea5b44c05f62e4e63abe5b344ee
4
- data.tar.gz: 83d581c701db2790bc9522357594f713f54a0616f94df81e16d8fc97dacbc49d
3
+ metadata.gz: 7dd8c1ad69f0c7c5ea813a4f56a25b5dfaf96ee9561e236fd1ec620abe5eefe4
4
+ data.tar.gz: 673ac6c57dd16992733535a4938f6838a30da0f496258e0f56a3266ab6ff02d4
5
5
  SHA512:
6
- metadata.gz: dc77ed0330c88e1b883dd90052709f03e8bbf8445e5dae3465098a4e69ae48c2c3fdc7eca3ca6a1e48466815d1f635510983bf6b342e8284f4d441a76ab74837
7
- data.tar.gz: 5408f63bce4954ec15b459d9d05fabfa6e4f50d4dcb419eddaee3dc0553f97f8399c23d27b2de20582505fff54220a94468475f7e7559e0bd6a3d0f04a38942c
6
+ metadata.gz: 47be621f579e122d5d5175c8e048114d4f202b294866e9c8b6926060d9886c2c74ffa3436ee2dff26664bd407c1899a4bf587c16c72e03eeec5a516bda5c2a79
7
+ data.tar.gz: 9fb5ca4d631dce16fb0ac292a3db39daf16e94a06e82f546d9221aef0252464f11118a5fe701188c7d0bf1d05b595a66a26945e4ca8192ab724a496769250f59
data/.bumpversion.cfg CHANGED
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 4.44.0
2
+ current_version = 4.46.0
3
3
  parse = (?P<major>\d+)
4
4
  \.(?P<minor>\d+)
5
5
  \.(?P<patch>\d+)
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.46.0](https://github.com/recurly/recurly-client-ruby/tree/4.46.0) (2024-01-24)
4
+
5
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.45.0...4.46.0)
6
+
7
+
8
+ **Merged Pull Requests**
9
+
10
+ - Generated Latest Changes for v2021-02-25 [#877](https://github.com/recurly/recurly-client-ruby/pull/877) ([recurly-integrations](https://github.com/recurly-integrations))
11
+
12
+
13
+
14
+ ## [4.45.0](https://github.com/recurly/recurly-client-ruby/tree/4.45.0) (2024-01-18)
15
+
16
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.44.0...4.45.0)
17
+
18
+
19
+ **Merged Pull Requests**
20
+
21
+ - Generated Latest Changes for v2021-02-25 [#872](https://github.com/recurly/recurly-client-ruby/pull/872) ([recurly-integrations](https://github.com/recurly-integrations))
22
+
23
+
24
+
3
25
  ## [4.44.0](https://github.com/recurly/recurly-client-ruby/tree/4.44.0) (2023-12-06)
4
26
 
5
27
  [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.44'
8
+ gem 'recurly', '~> 4.46'
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 any value, 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. 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 please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-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 `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 any value, 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. 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 please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-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 `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 please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-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 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 any value, 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. 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 please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-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 `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 any value, 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. 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 please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-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 `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 any value, 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. 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 please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-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 `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 any value, 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. 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 please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-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 `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
@@ -18,6 +18,10 @@ module Recurly
18
18
  # @return [String] Decline code
19
19
  define_attribute :decline_code, String
20
20
 
21
+ # @!attribute fraud_info
22
+ # @return [TransactionFraudInfo] Fraud information
23
+ define_attribute :fraud_info, :TransactionFraudInfo
24
+
21
25
  # @!attribute merchant_advice
22
26
  # @return [String] Merchant message
23
27
  define_attribute :merchant_advice, 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
@@ -1,3 +1,3 @@
1
1
  module Recurly
2
- VERSION = "4.44.0"
2
+ VERSION = "4.46.0"
3
3
  end
data/openapi/api.yaml CHANGED
@@ -956,7 +956,7 @@ paths:
956
956
  Alabama St.\"),\n\t\t\tCity: recurly.String(\"San Francisco\"),\n\t\t\tPostalCode:
957
957
  recurly.String(\"94110\"),\n\t\t\tCountry: recurly.String(\"US\"),\n\t\t\tRegion:
958
958
  \ recurly.String(\"CA\"),\n\t\t},\n\t\tNumber: recurly.String(\"4111111111111111\"),\n\t\tMonth:
959
- \ recurly.String(\"12\"),\n\t\tYear: recurly.String(\"22\"),\n\t\tCvv:
959
+ \ recurly.String(\"12\"),\n\t\tYear: recurly.String(\"30\"),\n\t\tCvv:
960
960
  \ recurly.String(\"123\"),\n\t},\n}\n\naccount, err := client.CreateAccount(accountReq)\nif
961
961
  e, ok := err.(*recurly.Error); ok {\n\tif e.Type == recurly.ErrorTypeValidation
962
962
  {\n\t\tfmt.Printf(\"Failed validation: %v\", e)\n\t\treturn nil, err\n\t}\n\tfmt.Printf(\"Unexpected
@@ -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 any value, an additional 24 hours is
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. For example:
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
- For more information please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)
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 any value, an additional 24 hours is
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. For example:
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
- For more information please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)
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 any value, an additional 24 hours is
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. For example:
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
- For more information please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)
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 please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)
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 any value, an additional 24 hours is
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. For example:
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
- For more information please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)
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 any value, an additional 24 hours is
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. For example:
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
- For more information please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)
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 any value, an additional 24 hours is
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. For example:
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
- For more information please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)
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:
@@ -24776,6 +24833,8 @@ components:
24776
24833
  a transaction. Pass this value to Recurly.js so it can continue
24777
24834
  the challenge flow.
24778
24835
  maxLength: 22
24836
+ fraud_info:
24837
+ "$ref": "#/components/schemas/TransactionFraudInfo"
24779
24838
  RelatedTypeEnum:
24780
24839
  type: string
24781
24840
  enum:
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.44.0
4
+ version: 4.46.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-06 00:00:00.000000000 Z
11
+ date: 2024-01-24 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.44.0
353
+ source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.46.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.6
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