Skip to content

Commit

Permalink
Generated Latest Changes for v2021-02-25
Browse files Browse the repository at this point in the history
  • Loading branch information
Recurly Integrations authored Jan 17, 2024
1 parent e452f7f commit d7a2b2d
Show file tree
Hide file tree
Showing 11 changed files with 448 additions and 133 deletions.
95 changes: 76 additions & 19 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19422,16 +19422,19 @@ components:
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
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:
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 please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)

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.
minimum: 0
default: 0
net_terms_type:
Expand Down Expand Up @@ -19617,16 +19620,19 @@ components:
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
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:
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 please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)

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.
minimum: 0
default: 0
net_terms_type:
Expand Down Expand Up @@ -21733,16 +21739,19 @@ components:
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
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:
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 please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)

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.
minimum: 0
default: 0
net_terms_type:
Expand Down Expand Up @@ -22314,7 +22323,8 @@ components:
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)
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.
minimum: 0
default: 0
net_terms_type:
Expand Down Expand Up @@ -22527,16 +22537,19 @@ components:
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
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:
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 please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)

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.
minimum: 0
default: 0
net_terms_type:
Expand Down Expand Up @@ -22720,16 +22733,19 @@ components:
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
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:
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 please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)

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.
minimum: 0
default: 0
net_terms_type:
Expand Down Expand Up @@ -23154,6 +23170,44 @@ components:
For all other countries this will come from the VAT Number field in the
Billing Info.
title: VAT Number
fraud_info:
"$ref": "#/components/schemas/TransactionFraudInfo"
TransactionFraudInfo:
type: object
title: Fraud information
readOnly: true
properties:
object:
type: string
title: Object type
readOnly: true
score:
type: integer
title: Kount score
minimum: 1
maximum: 99
decision:
title: Kount decision
maxLength: 10
"$ref": "#/components/schemas/KountDecisionEnum"
reference:
type: string
title: Kount transaction reference ID
risk_rules_triggered:
type: array
title: Risk Rules Triggered
description: A list of fraud risk rules that were triggered for the transaction.
items:
"$ref": "#/components/schemas/FraudRiskRule"
FraudRiskRule:
type: object
properties:
code:
type: string
title: The Kount rule number.
message:
type: string
title: Description of why the rule was triggered
ExternalTransaction:
type: object
properties:
Expand Down Expand Up @@ -23457,16 +23511,19 @@ components:
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
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:
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 please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)

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.
minimum: 0
default: 0
net_terms_type:
Expand Down
53 changes: 35 additions & 18 deletions src/main/java/com/recurly/v3/requests/InvoiceCreate.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,24 @@ public class InvoiceCreate extends Request {
/**
* 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:
* 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:
*
* <p>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.
*
* <p>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)
* <p>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`.
*
* <p>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.
*/
@SerializedName("net_terms")
@Expose
Expand Down Expand Up @@ -170,18 +176,24 @@ public void setCurrency(final String currency) {
/**
* 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:
* 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:
*
* <p>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.
*
* <p>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)
* <p>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`.
*
* <p>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.
*/
public Integer getNetTerms() {
return this.netTerms;
Expand All @@ -190,16 +202,21 @@ public Integer getNetTerms() {
/**
* @param netTerms 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:
* (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:
* <p>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.
* <p>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)
* <p>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`.
* <p>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.
*/
public void setNetTerms(final Integer netTerms) {
this.netTerms = netTerms;
Expand Down
Loading

0 comments on commit d7a2b2d

Please sign in to comment.