Skip to content

Commit

Permalink
Merge pull request #153 from recurly/v3-v2019-10-10-1655332722
Browse files Browse the repository at this point in the history
Generated Latest Changes for v2019-10-10
  • Loading branch information
judith authored Jun 16, 2022
2 parents 0af76b9 + 512c573 commit 9e0307e
Show file tree
Hide file tree
Showing 12 changed files with 34 additions and 28 deletions.
3 changes: 3 additions & 0 deletions account_balance_amount.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ type AccountBalanceAmount struct {

// Total amount the account is past due.
Amount float64 `json:"amount,omitempty"`

// Total amount for the prepayment credit invoices in a `processing` state on the account.
ProcessingPrepaymentAmount float64 `json:"processing_prepayment_amount,omitempty"`
}

// GetResponse returns the ResponseMetadata that generated this resource
Expand Down
2 changes: 1 addition & 1 deletion add_on_pricing.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type AddOnPricing struct {
// Unit price
UnitAmount float64 `json:"unit_amount,omitempty"`

// Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to use this flag.
// This field is deprecated. Please do not use it.
TaxInclusive bool `json:"tax_inclusive,omitempty"`
}

Expand Down
2 changes: 1 addition & 1 deletion add_on_pricing_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type AddOnPricingCreate struct {
// Unit price
UnitAmount *float64 `json:"unit_amount,omitempty"`

// Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to use this flag.
// This field is deprecated. Please do not use it.
TaxInclusive *bool `json:"tax_inclusive,omitempty"`
}

Expand Down
39 changes: 21 additions & 18 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15426,11 +15426,13 @@ components:
- ko-KR
- nl-BE
- nl-NL
- pl-PL
- pt-BR
- pt-PT
- ro-RO
- ru-RU
- sk-SK
- sv-SE
- tr-TR
- zh-CN
cc_emails:
Expand Down Expand Up @@ -15556,11 +15558,13 @@ components:
- ko-KR
- nl-BE
- nl-NL
- pl-PL
- pt-BR
- pt-PT
- ro-RO
- ru-RU
- sk-SK
- sv-SE
- tr-TR
- zh-CN
cc_emails:
Expand Down Expand Up @@ -15714,6 +15718,12 @@ components:
format: float
title: Amount
description: Total amount the account is past due.
processing_prepayment_amount:
type: number
format: float
title: Amount
description: Total amount for the prepayment credit invoices in a `processing`
state on the account.
InvoiceAddress:
allOf:
- "$ref": "#/components/schemas/Address"
Expand Down Expand Up @@ -19127,9 +19137,8 @@ components:
type: boolean
title: Tax Inclusive?
default: false
description: Determines whether or not tax is included in the unit amount.
The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing
feature) must be enabled to use this flag.
description: This field is deprecated. Please do not use it.
deprecated: true
PlanUpdate:
type: object
properties:
Expand Down Expand Up @@ -19294,9 +19303,8 @@ components:
type: boolean
title: Tax Inclusive?
default: false
description: Determines whether or not tax is included in the unit amount.
The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing
feature) must be enabled to use this flag.
description: This field is deprecated. Please do not use it.
deprecated: true
required:
- currency
- unit_amount
Expand All @@ -19318,9 +19326,8 @@ components:
type: boolean
title: Tax Inclusive?
default: false
description: Determines whether or not tax is included in the unit amount.
The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing
feature) must be enabled to use this flag.
description: This field is deprecated. Please do not use it.
deprecated: true
required:
- currency
- unit_amount
Expand Down Expand Up @@ -20289,9 +20296,8 @@ components:
type: boolean
title: Tax Inclusive?
default: false
description: Determines whether or not tax is included in the unit amount.
The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing
feature) must be enabled to use this flag.
description: This field is deprecated. Please do not use it.
deprecated: true
quantity:
type: integer
title: Subscription quantity
Expand Down Expand Up @@ -20401,9 +20407,8 @@ components:
type: boolean
title: Tax Inclusive?
default: false
description: Determines whether or not tax is included in the unit amount.
The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing
feature) must be enabled to use this flag.
description: This field is deprecated. Please do not use it.
deprecated: true
quantity:
type: integer
title: Quantity
Expand Down Expand Up @@ -20862,9 +20867,7 @@ components:
type: boolean
title: Tax Inclusive?
default: false
description: This field is deprecated. Do not use it anymore to update a
subscription's tax inclusivity. Use the POST subscription change route
instead.
description: This field is deprecated. Please do not use it.
deprecated: true
shipping:
"$ref": "#/components/schemas/SubscriptionShippingUpdate"
Expand Down
2 changes: 1 addition & 1 deletion plan_pricing.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type PlanPricing struct {
// Unit price
UnitAmount float64 `json:"unit_amount,omitempty"`

// Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to use this flag.
// This field is deprecated. Please do not use it.
TaxInclusive bool `json:"tax_inclusive,omitempty"`
}

Expand Down
2 changes: 1 addition & 1 deletion plan_pricing_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type PlanPricingCreate struct {
// Unit price
UnitAmount *float64 `json:"unit_amount,omitempty"`

// Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to use this flag.
// This field is deprecated. Please do not use it.
TaxInclusive *bool `json:"tax_inclusive,omitempty"`
}

Expand Down
2 changes: 1 addition & 1 deletion pricing.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Pricing struct {
// Unit price
UnitAmount float64 `json:"unit_amount,omitempty"`

// Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to use this flag.
// This field is deprecated. Please do not use it.
TaxInclusive bool `json:"tax_inclusive,omitempty"`
}

Expand Down
2 changes: 1 addition & 1 deletion pricing_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type PricingCreate struct {
// Unit price
UnitAmount *float64 `json:"unit_amount,omitempty"`

// Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to use this flag.
// This field is deprecated. Please do not use it.
TaxInclusive *bool `json:"tax_inclusive,omitempty"`
}

Expand Down
2 changes: 1 addition & 1 deletion subscription_change.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type SubscriptionChange struct {
// Unit amount
UnitAmount float64 `json:"unit_amount,omitempty"`

// Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to use this flag.
// This field is deprecated. Please do not use it.
TaxInclusive bool `json:"tax_inclusive,omitempty"`

// Subscription quantity
Expand Down
2 changes: 1 addition & 1 deletion subscription_change_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type SubscriptionChangeCreate struct {
// Optionally, sets custom pricing for the subscription, overriding the plan's default unit amount. The subscription's current currency will be used.
UnitAmount *float64 `json:"unit_amount,omitempty"`

// Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to use this flag.
// This field is deprecated. Please do not use it.
TaxInclusive *bool `json:"tax_inclusive,omitempty"`

// Optionally override the default quantity of 1.
Expand Down
2 changes: 1 addition & 1 deletion subscription_change_preview.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type SubscriptionChangePreview struct {
// Unit amount
UnitAmount float64 `json:"unit_amount,omitempty"`

// Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to use this flag.
// This field is deprecated. Please do not use it.
TaxInclusive bool `json:"tax_inclusive,omitempty"`

// Subscription quantity
Expand Down
2 changes: 1 addition & 1 deletion subscription_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type SubscriptionUpdate struct {
// Integer representing the number of days after an invoice's creation that the invoice will become past due. If an invoice's net terms are set to '0', it is due 'On Receipt' and will become past due 24 hours after it’s created. If an invoice is due net 30, it will become past due at 31 days exactly.
NetTerms *int `json:"net_terms,omitempty"`

// This field is deprecated. Do not use it anymore to update a subscription's tax inclusivity. Use the POST subscription change route instead.
// This field is deprecated. Please do not use it.
TaxInclusive *bool `json:"tax_inclusive,omitempty"`

// Subscription shipping details
Expand Down

0 comments on commit 9e0307e

Please sign in to comment.