Skip to content

Commit c367961

Browse files
author
Recurly Integrations
authored
Generated Latest Changes for v2021-02-25
1 parent a9f3772 commit c367961

2 files changed

Lines changed: 38 additions & 0 deletions

File tree

lib/recurly/resources/subscription_change.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class SubscriptionChange extends RecurlyResource
2222
private $_deleted_at;
2323
private $_id;
2424
private $_invoice_collection;
25+
private $_next_bill_date;
2526
private $_object;
2627
private $_plan;
2728
private $_quantity;
@@ -270,6 +271,29 @@ public function setInvoiceCollection(\Recurly\Resources\InvoiceCollection $invoi
270271
$this->_invoice_collection = $invoice_collection;
271272
}
272273

274+
/**
275+
* Getter method for the next_bill_date attribute.
276+
* If present, this sets the date the subscription's next billing period will start (`current_period_ends_at`). When combined with proration_settings, proration calculation should occur, only supported when timeframe is now.
277+
*
278+
* @return ?string
279+
*/
280+
public function getNextBillDate(): ?string
281+
{
282+
return $this->_next_bill_date;
283+
}
284+
285+
/**
286+
* Setter method for the next_bill_date attribute.
287+
*
288+
* @param string $next_bill_date
289+
*
290+
* @return void
291+
*/
292+
public function setNextBillDate(string $next_bill_date): void
293+
{
294+
$this->_next_bill_date = $next_bill_date;
295+
}
296+
273297
/**
274298
* Getter method for the object attribute.
275299
* Object type

openapi/api.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23606,6 +23606,13 @@ components:
2360623606
subscription.
2360723607
items:
2360823608
"$ref": "#/components/schemas/SubscriptionRampIntervalResponse"
23609+
next_bill_date:
23610+
type: string
23611+
format: date-time
23612+
title: Next bill date
23613+
description: If present, this sets the date the subscription's next billing
23614+
period will start (`current_period_ends_at`). When combined with proration_settings,
23615+
proration calculation should occur, only supported when timeframe is now.
2360923616
SubscriptionChangeBillingInfo:
2361023617
type: object
2361123618
description: Accept nested attributes for three_d_secure_action_result_token_id
@@ -23766,6 +23773,13 @@ components:
2376623773
"$ref": "#/components/schemas/SubscriptionRampInterval"
2376723774
proration_settings:
2376823775
"$ref": "#/components/schemas/ProrationSettings"
23776+
next_bill_date:
23777+
type: string
23778+
format: date-time
23779+
title: Next bill date
23780+
description: If present, this sets the date the subscription's next billing
23781+
period will start (`current_period_ends_at`). When combined with proration_settings,
23782+
proration calculation should occur, only supported when timeframe is now.
2376923783
SubscriptionChangeShippingCreate:
2377023784
type: object
2377123785
title: Shipping details that will be changed on a subscription

0 commit comments

Comments
 (0)