File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// File generated from our OpenAPI spec
22package com .stripe .model .v2 .billing ;
33
4+ import com .google .gson .annotations .JsonAdapter ;
45import com .google .gson .annotations .SerializedName ;
56import com .stripe .model .HasId ;
7+ import com .stripe .model .StringInt64TypeAdapter ;
68import com .stripe .model .StripeObject ;
79import java .time .Instant ;
810import java .util .List ;
@@ -722,6 +724,7 @@ public static class Card extends StripeObject {
722724 public static class MandateOptions extends StripeObject {
723725 /** Amount to be charged for future payments. */
724726 @ SerializedName ("amount" )
727+ @ JsonAdapter (StringInt64TypeAdapter .class )
725728 Long amount ;
726729
727730 /** The AmountType for the mandate. One of {@code fixed} or {@code maximum}. */
Original file line number Diff line number Diff line change 11// File generated from our OpenAPI spec
22package com .stripe .model .v2 .billing ;
33
4+ import com .google .gson .annotations .JsonAdapter ;
45import com .google .gson .annotations .SerializedName ;
56import com .stripe .model .HasId ;
7+ import com .stripe .model .StringInt64TypeAdapter ;
68import com .stripe .model .StripeObject ;
79import java .time .Instant ;
810import java .util .List ;
@@ -247,6 +249,7 @@ public static class Card extends StripeObject {
247249 public static class MandateOptions extends StripeObject {
248250 /** Amount to be charged for future payments. */
249251 @ SerializedName ("amount" )
252+ @ JsonAdapter (StringInt64TypeAdapter .class )
250253 Long amount ;
251254
252255 /** The AmountType for the mandate. One of {@code fixed} or {@code maximum}. */
Original file line number Diff line number Diff line change 11// File generated from our OpenAPI spec
22package com .stripe .model .v2 .billing ;
33
4+ import com .google .gson .annotations .JsonAdapter ;
45import com .google .gson .annotations .SerializedName ;
56import com .stripe .model .HasId ;
7+ import com .stripe .model .StringInt64TypeAdapter ;
68import com .stripe .model .StripeObject ;
79import java .time .Instant ;
810import java .util .List ;
@@ -226,6 +228,7 @@ public static class Card extends StripeObject {
226228 public static class MandateOptions extends StripeObject {
227229 /** Amount to be charged for future payments. */
228230 @ SerializedName ("amount" )
231+ @ JsonAdapter (StringInt64TypeAdapter .class )
229232 Long amount ;
230233
231234 /** The AmountType for the mandate. One of {@code fixed} or {@code maximum}. */
Original file line number Diff line number Diff line change 11// File generated from our OpenAPI spec
22package com .stripe .model .v2 .billing ;
33
4+ import com .google .gson .annotations .JsonAdapter ;
45import com .google .gson .annotations .SerializedName ;
56import com .stripe .model .HasId ;
7+ import com .stripe .model .StringInt64TypeAdapter ;
68import com .stripe .model .StripeObject ;
79import java .time .Instant ;
810import java .util .List ;
@@ -196,6 +198,7 @@ public static class Tier extends StripeObject {
196198 public static class TransformQuantity extends StripeObject {
197199 /** Divide usage by this number. */
198200 @ SerializedName ("divide_by" )
201+ @ JsonAdapter (StringInt64TypeAdapter .class )
199202 Long divideBy ;
200203
201204 /**
Original file line number Diff line number Diff line change 11// File generated from our OpenAPI spec
22package com .stripe .model .v2 .billing ;
33
4+ import com .google .gson .annotations .JsonAdapter ;
45import com .google .gson .annotations .SerializedName ;
56import com .stripe .model .HasId ;
7+ import com .stripe .model .StringInt64TypeAdapter ;
68import com .stripe .model .StripeObject ;
79import java .time .Instant ;
810import java .util .List ;
@@ -124,6 +126,7 @@ public static class Tier extends StripeObject {
124126 public static class TransformQuantity extends StripeObject {
125127 /** Divide usage by this number. */
126128 @ SerializedName ("divide_by" )
129+ @ JsonAdapter (StringInt64TypeAdapter .class )
127130 Long divideBy ;
128131
129132 /**
Original file line number Diff line number Diff line change 11// File generated from our OpenAPI spec
22package com .stripe .model .v2 .billing ;
33
4+ import com .google .gson .annotations .JsonAdapter ;
45import com .google .gson .annotations .SerializedName ;
56import com .stripe .model .HasId ;
7+ import com .stripe .model .StringInt64TypeAdapter ;
68import com .stripe .model .StripeObject ;
79import java .time .Instant ;
810import java .util .List ;
@@ -167,6 +169,7 @@ public static class Tier extends StripeObject {
167169 public static class TransformQuantity extends StripeObject {
168170 /** Divide usage by this number. */
169171 @ SerializedName ("divide_by" )
172+ @ JsonAdapter (StringInt64TypeAdapter .class )
170173 Long divideBy ;
171174
172175 /**
Original file line number Diff line number Diff line change 11// File generated from our OpenAPI spec
22package com .stripe .model .v2 .reporting ;
33
4+ import com .google .gson .annotations .JsonAdapter ;
45import com .google .gson .annotations .SerializedName ;
56import com .stripe .model .HasId ;
7+ import com .stripe .model .StringInt64TypeAdapter ;
68import com .stripe .model .StripeObject ;
79import java .time .Instant ;
810import java .util .Map ;
@@ -122,6 +124,7 @@ public static class File extends StripeObject {
122124
123125 /** The total size of the file in bytes. */
124126 @ SerializedName ("size" )
127+ @ JsonAdapter (StringInt64TypeAdapter .class )
125128 Long size ;
126129
127130 /** A pre-signed URL that allows secure, time-limited access to download the file. */
Original file line number Diff line number Diff line change 11// File generated from our OpenAPI spec
22package com .stripe .param .v2 .billing ;
33
4+ import com .google .gson .annotations .JsonAdapter ;
45import com .google .gson .annotations .SerializedName ;
6+ import com .stripe .model .StringInt64TypeAdapter ;
57import com .stripe .net .ApiRequestParams ;
68import java .util .ArrayList ;
79import java .util .HashMap ;
@@ -1016,6 +1018,7 @@ public Builder setRequestThreeDSecure(
10161018 public static class MandateOptions {
10171019 /** Amount to be charged for future payments. */
10181020 @ SerializedName ("amount" )
1021+ @ JsonAdapter (StringInt64TypeAdapter .class )
10191022 Long amount ;
10201023
10211024 /** The AmountType for the mandate. One of {@code fixed} or {@code maximum}. */
Original file line number Diff line number Diff line change 11// File generated from our OpenAPI spec
22package com .stripe .param .v2 .billing ;
33
4+ import com .google .gson .annotations .JsonAdapter ;
45import com .google .gson .annotations .SerializedName ;
6+ import com .stripe .model .StringInt64TypeAdapter ;
57import com .stripe .net .ApiRequestParams ;
68import com .stripe .param .common .EmptyParam ;
79import java .util .ArrayList ;
@@ -1088,6 +1090,7 @@ public Builder setRequestThreeDSecure(
10881090 public static class MandateOptions {
10891091 /** Amount to be charged for future payments. */
10901092 @ SerializedName ("amount" )
1093+ @ JsonAdapter (StringInt64TypeAdapter .class )
10911094 Long amount ;
10921095
10931096 /** The AmountType for the mandate. One of {@code fixed} or {@code maximum}. */
Original file line number Diff line number Diff line change 11// File generated from our OpenAPI spec
22package com .stripe .param .v2 .billing ;
33
4+ import com .google .gson .annotations .JsonAdapter ;
45import com .google .gson .annotations .SerializedName ;
6+ import com .stripe .model .StringInt64TypeAdapter ;
57import com .stripe .net .ApiRequestParams ;
68import java .util .ArrayList ;
79import java .util .HashMap ;
@@ -516,6 +518,7 @@ public enum UpToInf implements ApiRequestParams.EnumParam {
516518 public static class TransformQuantity {
517519 /** <strong>Required.</strong> Divide usage by this number. */
518520 @ SerializedName ("divide_by" )
521+ @ JsonAdapter (StringInt64TypeAdapter .class )
519522 Long divideBy ;
520523
521524 /**
You can’t perform that action at this time.
0 commit comments