File tree 3 files changed +44
-0
lines changed
src/main/java/com/stripe/model
3 files changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ // File generated from our OpenAPI spec
2
+ package com .stripe .model ;
3
+
4
+ import com .google .gson .annotations .SerializedName ;
5
+ import java .util .List ;
6
+ import lombok .EqualsAndHashCode ;
7
+ import lombok .Getter ;
8
+ import lombok .Setter ;
9
+
10
+ @ Getter
11
+ @ Setter
12
+ @ EqualsAndHashCode (callSuper = false )
13
+ public class CreditedItems extends StripeObject {
14
+ /** Invoice containing the credited invoice line items. */
15
+ @ SerializedName ("invoice" )
16
+ String invoice ;
17
+
18
+ /** Credited invoice line items. */
19
+ @ SerializedName ("invoice_line_items" )
20
+ List <String > invoiceLineItems ;
21
+ }
Original file line number Diff line number Diff line change @@ -95,6 +95,10 @@ public class InvoiceLineItem extends StripeObject implements HasId {
95
95
@ SerializedName ("proration" )
96
96
Boolean proration ;
97
97
98
+ /** Additional details for proration line items. */
99
+ @ SerializedName ("proration_details" )
100
+ ProrationDetails prorationDetails ;
101
+
98
102
/** The quantity of the subscription, if the line item is a subscription or a proration. */
99
103
@ SerializedName ("quantity" )
100
104
Long quantity ;
Original file line number Diff line number Diff line change
1
+ // File generated from our OpenAPI spec
2
+ package com .stripe .model ;
3
+
4
+ import com .google .gson .annotations .SerializedName ;
5
+ import lombok .EqualsAndHashCode ;
6
+ import lombok .Getter ;
7
+ import lombok .Setter ;
8
+
9
+ @ Getter
10
+ @ Setter
11
+ @ EqualsAndHashCode (callSuper = false )
12
+ public class ProrationDetails extends StripeObject {
13
+ /**
14
+ * For a credit proration {@code line_item}, the original debit line_items to which the credit
15
+ * proration applies.
16
+ */
17
+ @ SerializedName ("credited_items" )
18
+ CreditedItems creditedItems ;
19
+ }
You can’t perform that action at this time.
0 commit comments