Skip to content

Commit 24ef9f9

Browse files
Update generated code for v2190 and
1 parent 69a9b9b commit 24ef9f9

11 files changed

+16
-16
lines changed

CODEGEN_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ca2c688052c7535c51858606efdc6855b0c1f6a9
1+
2feaeea9e3c2b01dd5b7e4092d8364af4bf1e740

v2billing_cadence.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ type V2BillingCadenceSettingsDataCollectionPaymentMethodOptionsBancontact struct
453453
// Configuration options for setting up an eMandate for cards issued in India.
454454
type V2BillingCadenceSettingsDataCollectionPaymentMethodOptionsCardMandateOptions struct {
455455
// Amount to be charged for future payments.
456-
Amount string `json:"amount,omitempty"`
456+
Amount int64 `json:"amount,omitempty"`
457457
// The AmountType for the mandate. One of `fixed` or `maximum`.
458458
AmountType V2BillingCadenceSettingsDataCollectionPaymentMethodOptionsCardMandateOptionsAmountType `json:"amount_type,omitempty"`
459459
// A description of the mandate that is meant to be displayed to the customer.

v2billing_collectionsetting.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ type V2BillingCollectionSettingPaymentMethodOptionsBancontact struct {
182182
// Configuration options for setting up an eMandate for cards issued in India.
183183
type V2BillingCollectionSettingPaymentMethodOptionsCardMandateOptions struct {
184184
// Amount to be charged for future payments.
185-
Amount string `json:"amount,omitempty"`
185+
Amount int64 `json:"amount,omitempty"`
186186
// The AmountType for the mandate. One of `fixed` or `maximum`.
187187
AmountType V2BillingCollectionSettingPaymentMethodOptionsCardMandateOptionsAmountType `json:"amount_type,omitempty"`
188188
// A description of the mandate that is meant to be displayed to the customer.

v2billing_collectionsetting_params.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ type V2BillingCollectionSettingPaymentMethodOptionsBancontactParams struct {
5353
// Configuration options for setting up an eMandate for cards issued in India.
5454
type V2BillingCollectionSettingPaymentMethodOptionsCardMandateOptionsParams struct {
5555
// Amount to be charged for future payments.
56-
Amount *string `form:"amount" json:"amount,omitempty"`
56+
Amount *int64 `form:"amount" json:"amount,omitempty"`
5757
// The AmountType for the mandate. One of `fixed` or `maximum`.
5858
AmountType *string `form:"amount_type" json:"amount_type,omitempty"`
5959
// A description of the mandate that is meant to be displayed to the customer.
@@ -201,7 +201,7 @@ type V2BillingCollectionSettingCreatePaymentMethodOptionsBancontactParams struct
201201
// Configuration options for setting up an eMandate for cards issued in India.
202202
type V2BillingCollectionSettingCreatePaymentMethodOptionsCardMandateOptionsParams struct {
203203
// Amount to be charged for future payments.
204-
Amount *string `form:"amount" json:"amount,omitempty"`
204+
Amount *int64 `form:"amount" json:"amount,omitempty"`
205205
// The AmountType for the mandate. One of `fixed` or `maximum`.
206206
AmountType *string `form:"amount_type" json:"amount_type,omitempty"`
207207
// A description of the mandate that is meant to be displayed to the customer.
@@ -349,7 +349,7 @@ type V2BillingCollectionSettingUpdatePaymentMethodOptionsBancontactParams struct
349349
// Configuration options for setting up an eMandate for cards issued in India.
350350
type V2BillingCollectionSettingUpdatePaymentMethodOptionsCardMandateOptionsParams struct {
351351
// Amount to be charged for future payments.
352-
Amount *string `form:"amount" json:"amount,omitempty"`
352+
Amount *int64 `form:"amount" json:"amount,omitempty"`
353353
// The AmountType for the mandate. One of `fixed` or `maximum`.
354354
AmountType *string `form:"amount_type" json:"amount_type,omitempty"`
355355
// A description of the mandate that is meant to be displayed to the customer.

v2billing_collectionsettingversion.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ type V2BillingCollectionSettingVersionPaymentMethodOptionsBancontact struct {
182182
// Configuration options for setting up an eMandate for cards issued in India.
183183
type V2BillingCollectionSettingVersionPaymentMethodOptionsCardMandateOptions struct {
184184
// Amount to be charged for future payments.
185-
Amount string `json:"amount,omitempty"`
185+
Amount int64 `json:"amount,omitempty"`
186186
// The AmountType for the mandate. One of `fixed` or `maximum`.
187187
AmountType V2BillingCollectionSettingVersionPaymentMethodOptionsCardMandateOptionsAmountType `json:"amount_type,omitempty"`
188188
// A description of the mandate that is meant to be displayed to the customer.

v2billing_licensefee.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ type V2BillingLicenseFeeTier struct {
7373
// Apply a transformation to the reported usage or set quantity before computing the amount billed.
7474
type V2BillingLicenseFeeTransformQuantity struct {
7575
// Divide usage by this number.
76-
DivideBy string `json:"divide_by"`
76+
DivideBy int64 `json:"divide_by"`
7777
// After division, round the result up or down.
7878
Round V2BillingLicenseFeeTransformQuantityRound `json:"round"`
7979
}

v2billing_licensefee_params.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ type V2BillingLicenseFeeTierParams struct {
3535
// Apply a transformation to the reported usage or set quantity before computing the amount billed.
3636
type V2BillingLicenseFeeTransformQuantityParams struct {
3737
// Divide usage by this number.
38-
DivideBy *string `form:"divide_by" json:"divide_by"`
38+
DivideBy *int64 `form:"divide_by" json:"divide_by"`
3939
// After division, round the result up or down.
4040
Round *string `form:"round" json:"round"`
4141
}
@@ -107,7 +107,7 @@ type V2BillingLicenseFeeCreateTierParams struct {
107107
// Apply a transformation to the reported usage or set quantity before computing the amount billed.
108108
type V2BillingLicenseFeeCreateTransformQuantityParams struct {
109109
// Divide usage by this number.
110-
DivideBy *string `form:"divide_by" json:"divide_by"`
110+
DivideBy *int64 `form:"divide_by" json:"divide_by"`
111111
// After division, round the result up or down.
112112
Round *string `form:"round" json:"round"`
113113
}
@@ -181,7 +181,7 @@ type V2BillingLicenseFeeUpdateTierParams struct {
181181
// Apply a transformation to the reported usage or set quantity before computing the amount billed.
182182
type V2BillingLicenseFeeUpdateTransformQuantityParams struct {
183183
// Divide usage by this number.
184-
DivideBy *string `form:"divide_by" json:"divide_by"`
184+
DivideBy *int64 `form:"divide_by" json:"divide_by"`
185185
// After division, round the result up or down.
186186
Round *string `form:"round" json:"round"`
187187
}

v2billing_licensefeeversion.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ type V2BillingLicenseFeeVersionTier struct {
5353
// Apply a transformation to the reported usage or set quantity before computing the amount billed.
5454
type V2BillingLicenseFeeVersionTransformQuantity struct {
5555
// Divide usage by this number.
56-
DivideBy string `json:"divide_by"`
56+
DivideBy int64 `json:"divide_by"`
5757
// After division, round the result up or down.
5858
Round V2BillingLicenseFeeVersionTransformQuantityRound `json:"round"`
5959
}

v2billing_ratecardrate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ type V2BillingRateCardRateTier struct {
6363
// Apply a transformation to the reported usage or set quantity before computing the amount billed.
6464
type V2BillingRateCardRateTransformQuantity struct {
6565
// Divide usage by this number.
66-
DivideBy string `json:"divide_by"`
66+
DivideBy int64 `json:"divide_by"`
6767
// After division, round the result up or down.
6868
Round V2BillingRateCardRateTransformQuantityRound `json:"round"`
6969
}

v2billingratecards_rate_params.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ type V2BillingRateCardsRateTierParams struct {
4444
// Apply a transformation to the reported usage or set quantity before computing the amount billed.
4545
type V2BillingRateCardsRateTransformQuantityParams struct {
4646
// Divide usage by this number.
47-
DivideBy *string `form:"divide_by" json:"divide_by"`
47+
DivideBy *int64 `form:"divide_by" json:"divide_by"`
4848
// After division, round the result up or down.
4949
Round *string `form:"round" json:"round"`
5050
}
@@ -108,7 +108,7 @@ type V2BillingRateCardsRateCreateTierParams struct {
108108
// Apply a transformation to the reported usage or set quantity before computing the amount billed.
109109
type V2BillingRateCardsRateCreateTransformQuantityParams struct {
110110
// Divide usage by this number.
111-
DivideBy *string `form:"divide_by" json:"divide_by"`
111+
DivideBy *int64 `form:"divide_by" json:"divide_by"`
112112
// After division, round the result up or down.
113113
Round *string `form:"round" json:"round"`
114114
}

0 commit comments

Comments
 (0)