diff --git a/CODE_SNIPPETS.md b/CODE_SNIPPETS.md index aff9108..1753502 100755 --- a/CODE_SNIPPETS.md +++ b/CODE_SNIPPETS.md @@ -57,11 +57,11 @@ curl https://api.lob.com/v1/addresses \ -d "company=Lob" \ -d "email=harry@lob.com" \ -d "phone=5555555555" \ - -d "address_line1=210 King St" \ - -d "address_line2=# 6100" \ + -d "address_line1=2261 Market Street" \ + -d "address_line2=Ste 5668" \ -d "address_city=San Francisco" \ -d "address_state=CA" \ - -d "address_zip=94107" \ + -d "address_zip=94114" \ -d "address_country=US" \ ``` @@ -78,11 +78,11 @@ addressCreate.SetName("Harry Zhang") addressCreate.SetCompany("Lob") addressCreate.SetEmail("harry@lob.com") addressCreate.SetPhone("5555555555") -addressCreate.SetAddressLine1("210 King St") -addressCreate.SetAddressLine2("# 6100") +addressCreate.SetAddressLine1("2261 Market Street") +addressCreate.SetAddressLine2("Ste 5668") addressCreate.SetAddressCity("San Francisco") addressCreate.SetAddressState("CA") -addressCreate.SetAddressZip("94107") +addressCreate.SetAddressZip("94114") addressCreate.SetAddressCountry("US") @@ -208,11 +208,11 @@ curl https://api.lob.com/v1/postcards \ --data-urlencode "front=Front HTML for {{name}}" \ --data-urlencode "back=Back HTML for {{name}}" \ -d "to[name]=Harry Zhang" \ - -d "to[address_line1]=210 King St" \ - -d "to[address_line2]=# 6100" \ + -d "to[address_line1]=2261 Market Street" \ + -d "to[address_line2]=Ste 5668" \ -d "to[address_city]=San Francisco" \ -d "to[address_state]=CA" \ - -d "to[address_zip]=94107" \ + -d "to[address_zip]=94114" \ -d "merge_variables[name]=Harry" \ ``` @@ -223,11 +223,11 @@ context = context.WithValue(suite.ctx, lob.ContextBasicAuth, lob.BasicAuth{UserN var apiClient = *lob.NewAPIClient(configuration) var to = *lob.NewAddressEditable() -to.SetAddressLine1("210 King St") -to.SetAddressLine2("# 6100") +to.SetAddressLine1("2261 Market Street") +to.SetAddressLine2("Ste 5668") to.SetAddressCity("San Francisco") to.SetAddressState("CA") -to.SetAddressZip("94107") +to.SetAddressZip("94114") to.SetAddressCountry(lob.COUNTRYEXTENDED_US) to.SetDescription("") to.SetName("Harry Zhang") @@ -327,11 +327,11 @@ curl https://api.lob.com/v1/self_mailers \ --data-urlencode "inside=Inside HTML for {{name}}" \ --data-urlencode "outside=Outside HTML for {{name}}" \ -d "to[name]=Harry Zhang" \ - -d "to[address_line1]=210 King St" \ - -d "to[address_line2]=# 6100" \ + -d "to[address_line1]=2261 Market Street" \ + -d "to[address_line2]=Ste 5668" \ -d "to[address_city]=San Francisco" \ -d "to[address_state]=CA" \ - -d "to[address_zip]=94107" \ + -d "to[address_zip]=94114" \ -d "merge_variables[name]=Harry" \ ``` @@ -342,11 +342,11 @@ context = context.WithValue(suite.ctx, lob.ContextBasicAuth, lob.BasicAuth{UserN var apiClient = *lob.NewAPIClient(configuration) var to = *lob.NewAddressEditable() -to.SetAddressLine1("210 King St") -to.SetAddressLine2("# 6100") +to.SetAddressLine1("2261 Market Street") +to.SetAddressLine2("Ste 5668") to.SetAddressCity("San Francisco") to.SetAddressState("CA") -to.SetAddressZip("94107") +to.SetAddressZip("94114") to.SetAddressCountry(lob.COUNTRYEXTENDED_US) to.SetDescription("") to.SetName("Harry Zhang") @@ -446,11 +446,11 @@ curl https://api.lob.com/v1/letters \ --data-urlencode "file=HTML Letter for {{name}}" \ -d "color=true" \ -d "to[name]=Harry Zhang" \ - -d "to[address_line1]=210 King St" \ - -d "to[address_line2]=# 6100" \ + -d "to[address_line1]=2261 Market Street" \ + -d "to[address_line2]=Ste 5668" \ -d "to[address_city]=San Francisco" \ -d "to[address_state]=CA" \ - -d "to[address_zip]=94107" \ + -d "to[address_zip]=94114" \ -d "merge_variables[name]=Harry" \ -d "cards[]=card_c51ae96f5cebf3e" ``` @@ -462,11 +462,11 @@ context = context.WithValue(suite.ctx, lob.ContextBasicAuth, lob.BasicAuth{UserN var apiClient = *lob.NewAPIClient(configuration) var to = *lob.NewAddressEditable() -to.SetAddressLine1("210 King St") -to.SetAddressLine2("# 6100") +to.SetAddressLine1("2261 Market Street") +to.SetAddressLine2("Ste 5668") to.SetAddressCity("San Francisco") to.SetAddressState("CA") -to.SetAddressZip("94107") +to.SetAddressZip("94114") to.SetAddressCountry(lob.COUNTRYEXTENDED_US) to.SetDescription("") to.SetName("Harry Zhang") @@ -569,11 +569,11 @@ curl https://api.lob.com/v1/checks \ --data-urlencode "check_bottom=

Demo Check for {{name}}

" \ -d "from=adr_210a8d4b0b76d77b" \ -d "to[name]=Harry Zhang" \ - -d "to[address_line1]=210 King St" \ - -d "to[address_line2]=# 6100" \ + -d "to[address_line1]=2261 Market Street" \ + -d "to[address_line2]=Ste 5668" \ -d "to[address_city]=San Francisco" \ -d "to[address_state]=CA" \ - -d "to[address_zip]=94107" \ + -d "to[address_zip]=94114" \ -d "merge_variables[name]=Harry" \ ``` @@ -584,11 +584,11 @@ context = context.WithValue(suite.ctx, lob.ContextBasicAuth, lob.BasicAuth{UserN var apiClient = *lob.NewAPIClient(configuration) var to = *lob.NewAddressEditable() -to.SetAddressLine1("210 King St") -to.SetAddressLine2("# 6100") +to.SetAddressLine1("2261 Market Street") +to.SetAddressLine2("Ste 5668") to.SetAddressCity("San Francisco") to.SetAddressState("CA") -to.SetAddressZip("94107") +to.SetAddressZip("94114") to.SetAddressCountry(lob.COUNTRYEXTENDED_US) to.SetDescription("") to.SetName("Harry Zhang") diff --git a/GETTING_STARTED.md b/GETTING_STARTED.md index befe7fb..79e9e83 100644 --- a/GETTING_STARTED.md +++ b/GETTING_STARTED.md @@ -45,10 +45,10 @@ Here is a sample of the CREATE method ```go address := *lob.AddressEditable address.SetName("Harry Zhang") -address.SetAddressLine1("210 King St") +address.SetAddressLine1("2261 Market Street") address.SetAddressCity("San Francisco") address.SetAddressState("CA") -address.SetAddressZip("94107") +address.SetAddressZip("94114") resp, _, err := apiClient.AddressesApi.Create(ctx).AddressEditable(address).Execute() diff --git a/README.md b/README.md index dca24b4..cd18598 100755 --- a/README.md +++ b/README.md @@ -38,10 +38,10 @@ apiClient := *lob.NewAPIClient(&config) address := *lob.AddressEditable address.SetName("Harry Zhang") -address.SetAddressLine1("210 King St") +address.SetAddressLine1("2261 Market Street") address.SetAddressCity("San Francisco") address.SetAddressState("CA") -address.SetAddressZip("94107") +address.SetAddressZip("94114") myAddress, _, createErr := apiClient.AddressesApi.Create(ctx).AddressEditable(address).Execute() diff --git a/docs/UsVerificationsWritable.md b/docs/UsVerificationsWritable.md index 13fe2a2..086660d 100755 --- a/docs/UsVerificationsWritable.md +++ b/docs/UsVerificationsWritable.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Address** | Pointer to **string** | The entire address in one string (e.g., \"210 King Street 94107\"). _Does not support a recipient and will error when other payload parameters are provided._ | [optional] +**Address** | Pointer to **string** | The entire address in one string (e.g., \"2261 Market Street 94114\"). _Does not support a recipient and will error when other payload parameters are provided._ | [optional] **Recipient** | Pointer to **NullableString** | The intended recipient, typically a person's or firm's name. | [optional] **PrimaryLine** | Pointer to **string** | The primary delivery line (usually the street address) of the address. Combination of the following applicable `components`: * `primary_number` * `street_predirection` * `street_name` * `street_suffix` * `street_postdirection` * `secondary_designator` * `secondary_number` * `pmb_designator` * `pmb_number` | [optional] **SecondaryLine** | Pointer to **string** | The secondary delivery line of the address. This field is typically empty but may contain information if `primary_line` is too long. | [optional] diff --git a/model_us_verifications_writable.go b/model_us_verifications_writable.go index 9a212e2..822a2e0 100755 --- a/model_us_verifications_writable.go +++ b/model_us_verifications_writable.go @@ -18,7 +18,7 @@ import ( // UsVerificationsWritable struct for UsVerificationsWritable type UsVerificationsWritable struct { - // The entire address in one string (e.g., \"210 King Street 94107\"). _Does not support a recipient and will error when other payload parameters are provided._ + // The entire address in one string (e.g., \"2261 Market Street 94114\"). _Does not support a recipient and will error when other payload parameters are provided._ Address *string `json:"address,omitempty"` // The intended recipient, typically a person's or firm's name. Recipient NullableString `json:"recipient,omitempty"`