Skip to content

Commit

Permalink
Merge pull request #532 from recurly/v3-v2019-10-10-1643661869
Browse files Browse the repository at this point in the history
Generated Latest Changes for v2019-10-10
  • Loading branch information
douglasmiller authored Jan 31, 2022
2 parents 6b66882 + b5f23bb commit ac2a3c1
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 14 deletions.
24 changes: 13 additions & 11 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ tags:
description: |-
For merchants who sell the same things to many customers, documenting those offerings in a catalog allows for faster charge creation, easier management of offerings, and analytics about your offerings across all sales channels. Because your offerings can be physical, digital, or service-oriented, Recurly collectively calls these offerings "Items".

Recurly's item catalog requires the Credit Invoices and Subscription Billing Terms features to be enabled.
Recurly's item catalog requires the Credit Invoices feature to be enabled.
- name: plan
x-displayName: Plan
description: A plan tells Recurly how often and how much to charge your customers.
Expand Down Expand Up @@ -16006,16 +16006,16 @@ components:
type: string
title: Item Code
description: Unique code to identify an item. Avaliable when the `Credit
Invoices` and `Subscription Billing Terms` features are enabled. If `item_id`
and `item_code` are both present, `item_id` will be used.
Invoices` feature is enabled. If `item_id` and `item_code` are both present,
`item_id` will be used.
pattern: "/^[a-z0-9_+-]+$/"
maxLength: 50
item_id:
type: string
title: Item ID
description: System-generated unique identifier for an item. Available when
the `Credit Invoices` and `Subscription Billing Terms` features are enabled.
If `item_id` and `item_code` are both present, `item_id` will be used.
the `Credit Invoices` feature is enabled. If `item_id` and `item_code`
are both present, `item_id` will be used.
maxLength: 13
code:
type: string
Expand Down Expand Up @@ -16517,8 +16517,9 @@ components:
type: string
enum:
- bacs
- becs
description: The payment method type for a non-credit card based billing
info. The value of `bacs` is the only accepted value (Bacs only)
info. `bacs` and `becs` are the only accepted values.
account_type:
type: string
enum:
Expand Down Expand Up @@ -18233,20 +18234,20 @@ components:
type: string
title: Item Code
description: Unique code to identify an item. Available when the Credit
Invoices and Subscription Billing Terms features are enabled.
Invoices feature is enabled.
pattern: "/^[a-z0-9_+-]+$/"
maxLength: 50
item_id:
type: string
title: Item ID
description: System-generated unique identifier for an item. Available when
the Credit Invoices and Subscription Billing Terms features are enabled.
the Credit Invoices feature is enabled.
maxLength: 13
external_sku:
type: string
title: External SKU
description: Optional Stock Keeping Unit assigned to an item. Available
when the Credit Invoices and Subscription Billing Terms features are enabled.
when the Credit Invoices feature is enabled.
maxLength: 50
revenue_schedule_type:
type: string
Expand Down Expand Up @@ -18577,14 +18578,14 @@ components:
type: string
title: Item Code
description: Unique code to identify an item. Avaliable when the Credit
Invoices and Subscription Billing Terms features are enabled.
Invoices feature is enabled.
pattern: "/^[a-z0-9_+-]+$/"
maxLength: 50
item_id:
type: string
title: Item ID
description: System-generated unique identifier for an item. Available when
the Credit Invoices and Subscription Billing Terms features are enabled.
the Credit Invoices feature is enabled.
maxLength: 13
revenue_schedule_type:
type: string
Expand Down Expand Up @@ -21912,6 +21913,7 @@ components:
- validation
- missing_feature
- rate_limited
- tax_service_error
message:
type: string
title: Message
Expand Down
4 changes: 4 additions & 0 deletions recurly/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ class ServiceNotAvailableError(InternalServerError):
pass


class TaxServiceError(InternalServerError):
pass


class BadGatewayError(ServerError):
pass

Expand Down
6 changes: 3 additions & 3 deletions recurly/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -1284,17 +1284,17 @@ class LineItem(Resource):
end_date : datetime
If this date is provided, it indicates the end of a time range.
external_sku : str
Optional Stock Keeping Unit assigned to an item. Available when the Credit Invoices and Subscription Billing Terms features are enabled.
Optional Stock Keeping Unit assigned to an item. Available when the Credit Invoices feature is enabled.
id : str
Line item ID
invoice_id : str
Once the line item has been invoiced this will be the invoice's ID.
invoice_number : str
Once the line item has been invoiced this will be the invoice's number. If VAT taxation and the Country Invoice Sequencing feature are enabled, invoices will have country-specific invoice numbers for invoices billed to EU countries (ex: FR1001). Non-EU invoices will continue to use the site-level invoice number sequence.
item_code : str
Unique code to identify an item. Available when the Credit Invoices and Subscription Billing Terms features are enabled.
Unique code to identify an item. Available when the Credit Invoices feature is enabled.
item_id : str
System-generated unique identifier for an item. Available when the Credit Invoices and Subscription Billing Terms features are enabled.
System-generated unique identifier for an item. Available when the Credit Invoices feature is enabled.
legacy_category : str
Category to describe the role of a line item on a legacy invoice:
- "charges" refers to charges being billed for on this invoice.
Expand Down

0 comments on commit ac2a3c1

Please sign in to comment.