File tree Expand file tree Collapse file tree 4 files changed +52
-2
lines changed
src/main/java/com/stripe/model Expand file tree Collapse file tree 4 files changed +52
-2
lines changed Original file line number Diff line number Diff line change 1- 3602014a6583f6c0fbfdde3c575839ac7d0b4e9c
1+ 7b4fc6eca8bc61b5a52339eda297e0273fa6042c
Original file line number Diff line number Diff line change 1- v2141
1+ v2142
Original file line number Diff line number Diff line change @@ -2382,6 +2382,31 @@ public static class ScheduleDetails extends StripeObject {
23822382 /** The schedule that generated this invoice. */
23832383 @ SerializedName ("schedule" )
23842384 String schedule ;
2385+
2386+ /** The subscription associated with this schedule. */
2387+ @ SerializedName ("subscription" )
2388+ @ Getter (lombok .AccessLevel .NONE )
2389+ @ Setter (lombok .AccessLevel .NONE )
2390+ ExpandableField <Subscription > subscription ;
2391+
2392+ /** Get ID of expandable {@code subscription} object. */
2393+ public String getSubscription () {
2394+ return (this .subscription != null ) ? this .subscription .getId () : null ;
2395+ }
2396+
2397+ public void setSubscription (String id ) {
2398+ this .subscription = ApiResource .setExpandableFieldId (id , this .subscription );
2399+ }
2400+
2401+ /** Get expanded {@code subscription}. */
2402+ public Subscription getSubscriptionObject () {
2403+ return (this .subscription != null ) ? this .subscription .getExpanded () : null ;
2404+ }
2405+
2406+ public void setSubscriptionObject (Subscription expandableObject ) {
2407+ this .subscription =
2408+ new ExpandableField <Subscription >(expandableObject .getId (), expandableObject );
2409+ }
23852410 }
23862411
23872412 /**
Original file line number Diff line number Diff line change @@ -1250,6 +1250,31 @@ public static class ScheduleDetails extends StripeObject {
12501250 /** The schedule that generated this invoice. */
12511251 @ SerializedName ("schedule" )
12521252 String schedule ;
1253+
1254+ /** The subscription associated with this schedule. */
1255+ @ SerializedName ("subscription" )
1256+ @ Getter (lombok .AccessLevel .NONE )
1257+ @ Setter (lombok .AccessLevel .NONE )
1258+ ExpandableField <Subscription > subscription ;
1259+
1260+ /** Get ID of expandable {@code subscription} object. */
1261+ public String getSubscription () {
1262+ return (this .subscription != null ) ? this .subscription .getId () : null ;
1263+ }
1264+
1265+ public void setSubscription (String id ) {
1266+ this .subscription = ApiResource .setExpandableFieldId (id , this .subscription );
1267+ }
1268+
1269+ /** Get expanded {@code subscription}. */
1270+ public Subscription getSubscriptionObject () {
1271+ return (this .subscription != null ) ? this .subscription .getExpanded () : null ;
1272+ }
1273+
1274+ public void setSubscriptionObject (Subscription expandableObject ) {
1275+ this .subscription =
1276+ new ExpandableField <Subscription >(expandableObject .getId (), expandableObject );
1277+ }
12531278 }
12541279
12551280 /**
You can’t perform that action at this time.
0 commit comments