From bcb7aaf34f707beeab77cd9abd34831bc7027a7d Mon Sep 17 00:00:00 2001 From: Julien Bourdeau Date: Wed, 10 Jul 2024 14:57:41 +0200 Subject: [PATCH] feat(charges): Add Charge.RegroupPaidFees --- charge.go | 1 + plan.go | 1 + 2 files changed, 2 insertions(+) diff --git a/charge.go b/charge.go index 3b1109f..4bf1465 100644 --- a/charge.go +++ b/charge.go @@ -31,6 +31,7 @@ type Charge struct { CreatedAt time.Time `json:"created_at,omitempty"` PayInAdvance bool `json:"pay_in_advance,omitempty"` Invoiceable bool `json:"invoiceable,omitempty"` + RegroupPaidFees string `json:"regroup_paid_fees,omitempty"` InvoiceDisplayName string `json:"invoice_display_name,omitempty"` Prorated bool `json:"prorated,omitempty"` MinAmountCents int `json:"min_amount_cents,omitempty"` diff --git a/plan.go b/plan.go index 455a0e4..5cfa3f5 100644 --- a/plan.go +++ b/plan.go @@ -39,6 +39,7 @@ type PlanChargeInput struct { ChargeModel ChargeModel `json:"charge_model,omitempty"` PayInAdvance bool `json:"pay_in_advance,omitempty"` Invoiceable bool `json:"invoiceable,omitempty"` + RegroupPaidFees string `json:"regroup_paid_fees,omitempty"` Prorated bool `json:"prorated,omitempty"` MinAmountCents int `json:"min_amount_cents,omitempty"` Properties map[string]interface{} `json:"properties"`