From f96e2f914fe8f6916ea25fe7a94cd3ac1917d550 Mon Sep 17 00:00:00 2001 From: Ivan Novosad Date: Fri, 14 Jun 2024 10:08:09 +0200 Subject: [PATCH] misc: Change integration_customer param to integration_customers (#183) --- 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"`