Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated Latest Changes for v2021-02-25 #500

Merged
merged 1 commit into from
Jun 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17229,7 +17229,8 @@ components:
type: number
format: float
title: Subtotal
description: The summation of charges, discounts, and credits, before tax.
description: The summation of charges and credits, before discounts and
taxes.
tax:
type: number
format: float
Expand Down Expand Up @@ -19596,6 +19597,18 @@ components:
format: date-time
title: Deleted at
readOnly: true
billing_info:
"$ref": "#/components/schemas/SubscriptionChangeBillingInfo"
SubscriptionChangeBillingInfo:
type: object
description: Accept nested attributes for three_d_secure_action_result_token_id
properties:
three_d_secure_action_result_token_id:
type: string
title: 3-D Secure action result token ID
description: A token generated by Recurly.js after completing a 3-D Secure
device fingerprinting or authentication challenge.
maxLength: 22
SubscriptionChangeCreate:
type: object
properties:
Expand Down
16 changes: 15 additions & 1 deletion recurly/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@ class Invoice(Resource):
subscription_ids : :obj:`list` of :obj:`str`
If the invoice is charging or refunding for one or more subscriptions, these are their IDs.
subtotal : float
The summation of charges, discounts, and credits, before tax.
The summation of charges and credits, before discounts and taxes.
tax : float
The total tax on this invoice.
tax_info : TaxInfo
Expand Down Expand Up @@ -1716,6 +1716,8 @@ class SubscriptionChange(Resource):
Returns `true` if the subscription change is activated.
add_ons : :obj:`list` of :obj:`SubscriptionAddOn`
These add-ons will be used when the subscription renews.
billing_info : SubscriptionChangeBillingInfo
Accept nested attributes for three_d_secure_action_result_token_id
created_at : datetime
Created at
custom_fields : :obj:`list` of :obj:`CustomField`
Expand Down Expand Up @@ -1748,6 +1750,7 @@ class SubscriptionChange(Resource):
"activate_at": datetime,
"activated": bool,
"add_ons": ["SubscriptionAddOn"],
"billing_info": "SubscriptionChangeBillingInfo",
"created_at": datetime,
"custom_fields": ["CustomField"],
"deleted_at": datetime,
Expand Down Expand Up @@ -1893,6 +1896,17 @@ class SubscriptionAddOnTier(Resource):
}


class SubscriptionChangeBillingInfo(Resource):
"""
Attributes
----------
three_d_secure_action_result_token_id : str
A token generated by Recurly.js after completing a 3-D Secure device fingerprinting or authentication challenge.
"""

schema = {"three_d_secure_action_result_token_id": str}


class UniqueCouponCodeParams(Resource):
"""
Attributes
Expand Down