diff --git a/openapi/api.yaml b/openapi/api.yaml index b6c4aae4..28cb2500 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -193,20 +193,20 @@ x-tagGroups: - account_acquisition - billing_info - billing_infos + - coupon_redemption - subscription - subscription_change - - shipping_address - - purchase - usage - - automated_exports - - gift_cards + - shipping_address - name: Invoices and Payments tags: + - purchase - invoice - line_item - credit_payment - transaction - revenue_recovery + - gift_cards - name: Products and Promotions tags: - item @@ -214,7 +214,6 @@ x-tagGroups: - add-on - measured_unit - coupon - - coupon_redemption - unique_coupon_code - price_segment - name: Configuration @@ -224,6 +223,7 @@ x-tagGroups: - shipping_method - dunning_campaigns - business_entities + - automated_exports - general_ledger_account - performance_obligations - name: App Management @@ -23711,6 +23711,12 @@ components: title: Remaining pause cycles description: Null unless subscription is paused or will pause at the end of the current billing period. + resume_at: + type: string + format: date-time + title: Resume at + description: The date the subscription billing resumes following a pause. + Null unless the subscription is paused or scheduled to be paused. currency: type: string title: Currency @@ -25192,6 +25198,10 @@ components: title: Currency description: 3-letter ISO 4217 currency code. maxLength: 3 + description: + type: string + title: Description + description: The description that gets sent to the gateway. amount: type: number format: float diff --git a/recurly/resources.py b/recurly/resources.py index 23d58227..2b6652fd 100644 --- a/recurly/resources.py +++ b/recurly/resources.py @@ -784,6 +784,8 @@ class Transaction(Resource): Language code for the message cvv_check : str When processed, result from checking the CVV/CVC value on the transaction. + description : str + The description that gets sent to the gateway. fraud_info : TransactionFraudInfo Fraud information gateway_approval_code : str @@ -876,6 +878,7 @@ class Transaction(Resource): "customer_message": str, "customer_message_locale": str, "cvv_check": str, + "description": str, "fraud_info": "TransactionFraudInfo", "gateway_approval_code": str, "gateway_message": str, @@ -2331,6 +2334,8 @@ class Subscription(Resource): Null unless subscription is paused or will pause at the end of the current billing period. renewal_billing_cycles : int If `auto_renew=true`, when a term completes, `total_billing_cycles` takes this value as the length of subsequent terms. Defaults to the plan's `total_billing_cycles`. + resume_at : datetime + The date the subscription billing resumes following a pause. Null unless the subscription is paused or scheduled to be paused. revenue_schedule_type : str Revenue schedule type shipping : SubscriptionShipping @@ -2406,6 +2411,7 @@ class Subscription(Resource): "remaining_billing_cycles": int, "remaining_pause_cycles": int, "renewal_billing_cycles": int, + "resume_at": datetime, "revenue_schedule_type": str, "shipping": "SubscriptionShipping", "started_with_gift": bool,