From 350b67271457c4162dfc64ecbab848a59a9d5c78 Mon Sep 17 00:00:00 2001 From: Said Atrahouch Date: Fri, 14 Oct 2022 16:33:56 +0200 Subject: [PATCH 1/2] [MM-46549] Allow update the cloud customer --- model/cloud.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/model/cloud.go b/model/cloud.go index a9e8a2a4cf..b80b0b7c62 100644 --- a/model/cloud.go +++ b/model/cloud.go @@ -107,11 +107,12 @@ type ValidateBusinessEmailResponse struct { // CloudCustomerInfo represents editable info of a customer. type CloudCustomerInfo struct { - Name string `json:"name"` - Email string `json:"email,omitempty"` - ContactFirstName string `json:"contact_first_name,omitempty"` - ContactLastName string `json:"contact_last_name,omitempty"` - NumEmployees int `json:"num_employees"` + Name string `json:"name"` + Email string `json:"email,omitempty"` + ContactFirstName string `json:"contact_first_name,omitempty"` + ContactLastName string `json:"contact_last_name,omitempty"` + NumEmployees int `json:"num_employees"` + MonthlySubscriptionIntentWireTransfer *string `json:"monthly_subscription_intent_wire_transfer"` } // Address model represents a customer's address. From 439048561e96b601a60fa0f06b6670a0164a8b02 Mon Sep 17 00:00:00 2001 From: Said Atrahouch Date: Fri, 14 Oct 2022 17:07:04 +0200 Subject: [PATCH 2/2] Fix model --- model/cloud.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/model/cloud.go b/model/cloud.go index b80b0b7c62..88d50b6001 100644 --- a/model/cloud.go +++ b/model/cloud.go @@ -107,12 +107,12 @@ type ValidateBusinessEmailResponse struct { // CloudCustomerInfo represents editable info of a customer. type CloudCustomerInfo struct { - Name string `json:"name"` - Email string `json:"email,omitempty"` - ContactFirstName string `json:"contact_first_name,omitempty"` - ContactLastName string `json:"contact_last_name,omitempty"` - NumEmployees int `json:"num_employees"` - MonthlySubscriptionIntentWireTransfer *string `json:"monthly_subscription_intent_wire_transfer"` + Name string `json:"name"` + Email string `json:"email,omitempty"` + ContactFirstName string `json:"contact_first_name,omitempty"` + ContactLastName string `json:"contact_last_name,omitempty"` + NumEmployees int `json:"num_employees"` + MonthlySubscriptionIntentWireTransfer string `json:"monthly_subscription_intent_wire_transfer"` } // Address model represents a customer's address.