From 09342f945a9d1c5e598dcffc162c697d3750ebeb Mon Sep 17 00:00:00 2001 From: Ivan Novosad Date: Thu, 13 Jun 2024 10:35:46 +0200 Subject: [PATCH] misc: Change integration_customer param to integration_customers --- customer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/customer.go b/customer.go index 65264f6..8560e11 100644 --- a/customer.go +++ b/customer.go @@ -85,7 +85,7 @@ type CustomerInput struct { Timezone string `json:"timezone,omitempty"` Metadata []CustomerMetadataInput `json:"metadata,omitempty"` BillingConfiguration CustomerBillingConfigurationInput `json:"billing_configuration,omitempty"` - IntegrationCustomer IntegrationCustomer `json:"integration_customer,omitempty"` + IntegrationCustomers []IntegrationCustomer `json:"integration_customers,omitempty"` TaxCodes []string `json:"tax_codes,omitempty"` } @@ -213,7 +213,7 @@ type Customer struct { Phone string `json:"phone,omitempty"` URL string `json:"url,omitempty"` BillingConfiguration CustomerBillingConfiguration `json:"billing_configuration,omitempty"` - IntegrationCustomer IntegrationCustomer `json:"integration_customer,omitempty"` + IntegrationCustomers []IntegrationCustomer `json:"integration_customers,omitempty"` Metadata []MetadataResponse `json:"metadata,omitempty"` Currency Currency `json:"currency,omitempty"` Timezone string `json:"timezone,omitempty"`