diff --git a/.DS_Store b/.DS_Store
deleted file mode 100644
index 4c650ad..0000000
Binary files a/.DS_Store and /dev/null differ
diff --git a/CODE_SNIPPETS.md b/CODE_SNIPPETS.md
index c0126e4..372e63b 100644
--- a/CODE_SNIPPETS.md
+++ b/CODE_SNIPPETS.md
@@ -53,31 +53,28 @@ 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" \
```
```php
$apiInstance = new OpenAPI\Client\Api\AddressesApi($config, new GuzzleHttp\Client());
-$address_editable = new OpenAPI\Client\Model\AddressEditable(
- array(
- "description" => "Harry - Office",
- "name" => "Harry Zhang",
- "company" => "Lob",
- "email" => "harry@lob.com",
- "phone" => "5555555555",
- "address_line1" => "210 King St",
- "address_line2" => "# 6100",
- "address_city" => "San Francisco",
- "address_state" => "CA",
- "address_zip" => "94107",
- "address_country" => "US",
- )
-);
+$address_editable = new OpenAPI\Client\Model\AddressEditable();
+$address_editable->setDescription("Harry - Office");
+$address_editable->setName("Harry Zhang");
+$address_editable->setCompany("Lob");
+$address_editable->setEmail("harry@lob.com");
+$address_editable->setPhone("5555555555");
+$address_editable->setAddressLine1("2261 Market Street");
+$address_editable->setAddressLine2("STE 5668");
+$address_editable->setAddressCity("San Francisco");
+$address_editable->setAddressState("CA");
+$address_editable->setAddressZip("94114");
+$address_editable->setAddressCountry("US");
try {
$result = $apiInstance->create($address_editable);
@@ -100,7 +97,10 @@ $apiInstance = new OpenAPI\Client\Api\AddressesApi($config, new GuzzleHttp\Clien
try {
$result = $apiInstance->list(
- 2, // limit
+ 2, // limit
+ includeList, // include
+ dateCreated, // dateCreated
+ metadata, // metadata
);
print_r($result);
} catch (Exception $e) {
@@ -203,11 +203,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" \
```
@@ -215,11 +215,11 @@ curl https://api.lob.com/v1/postcards \
$to = new OpenAPI\Client\Model\AddressEditable(
array(
"name" => "Harry Zhang",
- "address_line1" => "210 King St",
- "address_line2" => "# 6100",
+ "address_line1" => "2261 Market Street",
+ "address_line2" => "STE 5668",
"address_city" => "San Francisco",
"address_state" => "CA",
- "address_zip" => "94107",
+ "address_zip" => "94114",
)
);
@@ -227,16 +227,13 @@ $merge_variables = new stdClass;
$merge_variables->name = "Harry";
$apiInstance = new OpenAPI\Client\Api\PostcardsApi($config, new GuzzleHttp\Client());
-$postcard_editable = new OpenAPI\Client\Model\PostcardEditable(
- array(
- "description" => "Demo Postcard job",
- "from" => "adr_210a8d4b0b76d77b",
- "front" => "Front HTML for {{name}}",
- "back" => "Back HTML for {{name}}",
- "to" => $to,
- "merge_variables" => $merge_variables,
- )
-);
+$postcard_editable = new OpenAPI\Client\Model\PostcardEditable();
+$postcard_editable->setDescription("Demo Postcard job");
+$postcard_editable->setFrom("adr_210a8d4b0b76d77b");
+$postcard_editable->setFront("Front HTML for {{name}}");
+$postcard_editable->setBack("Back HTML for {{name}}");
+$postcard_editable->setTo($to);
+$postcard_editable->setMergeVariables($merge_variables);
try {
$result = $apiInstance->create($postcard_editable);
@@ -259,7 +256,15 @@ $apiInstance = new OpenAPI\Client\Api\PostcardsApi($config, new GuzzleHttp\Clien
try {
$result = $apiInstance->list(
- 2, // limit
+ 2, // limit
+ includeList, // include
+ dateCreated, // dateCreated
+ metadata, // metadata
+ sizeArray, // size
+ true, // scheduled
+ sendDate, // sendDate
+ , // mailType
+ sortBy, // sortBy
);
print_r($result);
} catch (Exception $e) {
@@ -322,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" \
```
@@ -334,11 +339,11 @@ curl https://api.lob.com/v1/self_mailers \
$to = new OpenAPI\Client\Model\AddressEditable(
array(
"name" => "Harry Zhang",
- "address_line1" => "210 King St",
- "address_line2" => "# 6100",
+ "address_line1" => "2261 Market Street",
+ "address_line2" => "STE 5668",
"address_city" => "San Francisco",
"address_state" => "CA",
- "address_zip" => "94107",
+ "address_zip" => "94114",
)
);
@@ -346,16 +351,13 @@ $merge_variables = new stdClass;
$merge_variables->name = "Harry";
$apiInstance = new OpenAPI\Client\Api\SelfMailersApi($config, new GuzzleHttp\Client());
-$self_mailer_editable = new OpenAPI\Client\Model\SelfMailerEditable(
- array(
- "description" => "Demo Self Mailer job",
- "from" => "adr_210a8d4b0b76d77b",
- "inside" => "Inside HTML for {{name}}",
- "outside" => "Outside HTML for {{name}}",
- "to" => $to,
- "merge_variables" => $merge_variables,
- )
-);
+$self_mailer_editable = new OpenAPI\Client\Model\SelfMailerEditable();
+$self_mailer_editable->setDescription("Demo Self Mailer job");
+$self_mailer_editable->setFrom("adr_210a8d4b0b76d77b");
+$self_mailer_editable->setInside("Inside HTML for {{name}}");
+$self_mailer_editable->setOutside("Outside HTML for {{name}}");
+$self_mailer_editable->setTo($to);
+$self_mailer_editable->setMergeVariables($merge_variables);
try {
$result = $apiInstance->create($self_mailer_editable);
@@ -378,7 +380,15 @@ $apiInstance = new OpenAPI\Client\Api\SelfMailersApi($config, new GuzzleHttp\Cli
try {
$result = $apiInstance->list(
- 2, // limit
+ 2, // limit
+ includeList, // include
+ dateCreated, // dateCreated
+ metadata, // metadata
+ null, // size
+ true, // scheduled
+ sendDate, // sendDate
+ , // mailType
+ sortBy, // sortBy
);
print_r($result);
} catch (Exception $e) {
@@ -441,25 +451,24 @@ 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"
- -d "cards[]=card_thingy"
```
```php
$to = new OpenAPI\Client\Model\AddressEditable(
array(
"name" => "Harry Zhang",
- "address_line1" => "210 King St",
- "address_line2" => "# 6100",
+ "address_line1" => "2261 Market Street",
+ "address_line2" => "STE 5668",
"address_city" => "San Francisco",
"address_state" => "CA",
- "address_zip" => "94107",
+ "address_zip" => "94114",
)
);
@@ -467,20 +476,16 @@ $merge_variables = new stdClass;
$merge_variables->name = "Harry";
$apiInstance = new OpenAPI\Client\Api\LettersApi($config, new GuzzleHttp\Client());
-$letter_editable = new OpenAPI\Client\Model\LetterEditable(
- array(
- "description" => "Demo Letter",
- "from" => "adr_210a8d4b0b76d77b",
- "file" => "HTML Letter for {{name}}",
- "color" => "true",
- "to" => $to,
- "merge_variables" => $merge_variables,
- "cards" => array(
- "card_c51ae96f5cebf3e",
- "card_thingy",
- ),
- )
-);
+$letter_editable = new OpenAPI\Client\Model\LetterEditable();
+$letter_editable->setDescription("Demo Letter");
+$letter_editable->setFrom("adr_210a8d4b0b76d77b");
+$letter_editable->setFile("HTML Letter for {{name}}");
+$letter_editable->setColor("true");
+$letter_editable->setTo($to);
+$letter_editable->setMergeVariables($merge_variables);
+$letter_editable->setCards(array(
+ "card_c51ae96f5cebf3e",
+));
try {
$result = $apiInstance->create($letter_editable);
@@ -503,7 +508,14 @@ $apiInstance = new OpenAPI\Client\Api\LettersApi($config, new GuzzleHttp\Client(
try {
$result = $apiInstance->list(
- 2, // limit
+ 2, // limit
+ includeList, // include
+ dateCreated, // dateCreated
+ metadata, // metadata
+ true, // scheduled
+ sendDate, // sendDate
+ , // mailType
+ sortBy, // sortBy
);
print_r($result);
} catch (Exception $e) {
@@ -569,23 +581,23 @@ 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" \
```
```php
-$to = new OpenAPI\Client\Model\AddressEditable(
+$to = new OpenAPI\Client\Model\AddressDomestic(
array(
"name" => "Harry Zhang",
- "address_line1" => "210 King St",
- "address_line2" => "# 6100",
+ "address_line1" => "2261 Market Street",
+ "address_line2" => "STE 5668",
"address_city" => "San Francisco",
"address_state" => "CA",
- "address_zip" => "94107",
+ "address_zip" => "94114",
)
);
@@ -593,19 +605,16 @@ $merge_variables = new stdClass;
$merge_variables->name = "Harry";
$apiInstance = new OpenAPI\Client\Api\ChecksApi($config, new GuzzleHttp\Client());
-$check_editable = new OpenAPI\Client\Model\CheckEditable(
- array(
- "description" => "Demo Check",
- "bank_account" => "bank_8cad8df5354d33f",
- "amount" => "22.5",
- "memo" => "rent",
- "logo" => "https://s3-us-west-2.amazonaws.com/public.lob.com/assets/check_logo.png",
- "check_bottom" => "Demo Check for {{name}}
",
- "from" => "adr_210a8d4b0b76d77b",
- "to" => $to,
- "merge_variables" => $merge_variables,
- )
-);
+$check_editable = new OpenAPI\Client\Model\CheckEditable();
+$check_editable->setDescription("Demo Check");
+$check_editable->setBankAccount("bank_8cad8df5354d33f");
+$check_editable->setAmount("22.5");
+$check_editable->setMemo("rent");
+$check_editable->setLogo("https://s3-us-west-2.amazonaws.com/public.lob.com/assets/check_logo.png");
+$check_editable->setCheckBottom("Demo Check for {{name}}
");
+$check_editable->setFrom("adr_210a8d4b0b76d77b");
+$check_editable->setTo($to);
+$check_editable->setMergeVariables($merge_variables);
try {
$result = $apiInstance->create($check_editable);
@@ -628,7 +637,14 @@ $apiInstance = new OpenAPI\Client\Api\ChecksApi($config, new GuzzleHttp\Client()
try {
$result = $apiInstance->list(
- 2, // limit
+ 2, // limit
+ includeList, // include
+ dateCreated, // dateCreated
+ metadata, // metadata
+ true, // scheduled
+ sendDate, // sendDate
+ , // mailType
+ sortBy, // sortBy
);
print_r($result);
} catch (Exception $e) {
@@ -692,7 +708,10 @@ $apiInstance = new OpenAPI\Client\Api\BankAccountsApi($config, new GuzzleHttp\Cl
try {
$result = $apiInstance->list(
- 2, // limit
+ 2, // limit
+ includeList, // include
+ dateCreated, // dateCreated
+ metadata, // metadata
);
print_r($result);
} catch (Exception $e) {
@@ -706,9 +725,9 @@ try {
### Verify
```bash
curl https://api.lob.com/v1/bank_accounts/bank_dfceb4a2a05b57e/verify \
- -u test_0dc8d51e0acffcb1880e0f19c79b2f5b0cc: \
- -d "amounts[]=25" \
- -d "amounts[]=63" \
+ -u test_0dc8d51e0acffcb1880e0f19c79b2f5b0cc: \
+ -d "amounts[]=25" \
+ -d "amounts[]=63" \
```
```php
@@ -748,15 +767,12 @@ curl https://api.lob.com/v1/bank_accounts \
```php
$apiInstance = new OpenAPI\Client\Api\BankAccountsApi($config, new GuzzleHttp\Client());
-$bank_account_writable = new OpenAPI\Client\Model\BankAccountWritable(
- array(
- "description" => "Test Bank Account",
- "routing_number" => "322271627",
- "account_number" => "123456789",
- "signatory" => "John Doe",
- "account_type" => "company",
- )
-);
+$bank_account_writable = new OpenAPI\Client\Model\BankAccountWritable();
+$bank_account_writable->setDescription("Test Bank Account");
+$bank_account_writable->setRoutingNumber("322271627");
+$bank_account_writable->setAccountNumber("123456789");
+$bank_account_writable->setSignatory("John Doe");
+$bank_account_writable->setAccountType("company");
try {
$result = $apiInstance->create($bank_account_writable);
@@ -821,7 +837,10 @@ $apiInstance = new OpenAPI\Client\Api\TemplatesApi($config, new GuzzleHttp\Clien
try {
$result = $apiInstance->list(
- 2, // limit
+ 2, // limit
+ includeList, // include
+ dateCreated, // dateCreated
+ metadata, // metadata
);
print_r($result);
} catch (Exception $e) {
@@ -871,12 +890,9 @@ curl https://api.lob.com/v1/templates \
```php
$apiInstance = new OpenAPI\Client\Api\TemplatesApi($config, new GuzzleHttp\Client());
-$template_writable = new OpenAPI\Client\Model\TemplateWritable(
- array(
- "description" => "Test Template",
- "html" => "HTML for {{name}}",
- )
-);
+$template_writable = new OpenAPI\Client\Model\TemplateWritable();
+$template_writable->setDescription("Test Template");
+$template_writable->setHtml("HTML for {{name}}");
try {
$result = $apiInstance->create($template_writable);
@@ -941,8 +957,10 @@ $apiInstance = new OpenAPI\Client\Api\TemplateVersionsApi($config, new GuzzleHtt
try {
$result = $apiInstance->list(
- tmpl_dadaaf7b76c9f25, // tmplId
- 2, // limit
+ "tmpl_dadaaf7b76c9f25", // tmplId
+ 2, // limit
+ includeList, // include
+ dateCreated, // dateCreated
);
print_r($result);
} catch (Exception $e) {
@@ -990,12 +1008,9 @@ curl https://api.lob.com/v1/templates/tmpl_4aa14648113e45b/versions \
```php
$apiInstance = new OpenAPI\Client\Api\TemplateVersionsApi($config, new GuzzleHttp\Client());
-$template_version_writable = new OpenAPI\Client\Model\TemplateVersionWritable(
- array(
- "description" => "Second Version",
- "html" => "Second HTML for {{name}}",
- )
-);
+$template_version_writable = new OpenAPI\Client\Model\TemplateVersionWritable();
+$template_version_writable->setDescription("Second Version");
+$template_version_writable->setHtml("Second HTML for {{name}}");
try {
$result = $apiInstance->create("tmpl_4aa14648113e45b", $template_version_writable);
@@ -1005,6 +1020,8 @@ try {
}
```
+
+
## Creatives Api
@@ -1015,8 +1032,6 @@ curl -X PATCH https://api.lob.com/v1/crv_2a3b096c409b32c \
-u test_0dc8d51e0acffcb1880e0f19c79b2f5b0cc: \
-d "description=Our updated 4x6 postcard creative" \
```
-
-```php
$apiInstance = new OpenAPI\Client\Api\CreativesApi($config, new GuzzleHttp\Client());
$creativeUpdate = new OpenAPI\Client\Model\CreativePatch();
@@ -1137,14 +1152,14 @@ curl https://api.lob.com/v1/bulk/intl_verifications \
```php
-$verificationData0 = new OpenAPI\Client\Model\MultipleComponentsIntl(array(
+$verificationData0 = new OpenAPI\Client\Model\MultipleComponentsIntl(array(
'primary_line' => '35 Tower Hill',
'city' => 'London',
'postal_code' => 'EC3N 4DR',
'country' => 'GB',
));
-$verificationData1 = new OpenAPI\Client\Model\MultipleComponentsIntl(array(
+$verificationData1 = new OpenAPI\Client\Model\MultipleComponentsIntl(array(
'primary_line' => '370 Water St',
'city' => 'Summerside',
'state' => 'Prince Edward Island',
@@ -1174,10 +1189,10 @@ try {
curl https://api.lob.com/v1/bulk/us_verifications \
-u : \
--header 'Content-Type: application/x-www-form-urlencoded' \
- --data-urlencode 'addresses[0][primary_line]=210 King Street' \
+ --data-urlencode 'addresses[0][primary_line]=2261 Market Street' \
--data-urlencode 'addresses[0][city]=San Francisco' \
--data-urlencode 'addresses[0][state]=CA' \
- --data-urlencode 'addresses[0][zip_code]=94017' \
+ --data-urlencode 'addresses[0][zip_code]=94114' \
--data-urlencode 'addresses[1][primary_line]=185 BERRY ST STE 6600' \
--data-urlencode 'addresses[1][city]=SAN FRANCISCO' \
--data-urlencode 'addresses[1][state]=CA' \
@@ -1186,14 +1201,14 @@ curl https://api.lob.com/v1/bulk/us_verifications \
```php
-$verificationData0 = new OpenAPI\Client\Model\MultipleComponents(array(
- 'primary_line' => '210 King Street',
+$verificationData0 = new OpenAPI\Client\Model\MultipleComponents(array(
+ 'primary_line' => '2261 Market Street',
'city' => 'San Francisco',
'state' => 'CA',
- 'zip_code' => '94017',
+ 'zip_code' => '94114',
));
-$verificationData1 = new OpenAPI\Client\Model\MultipleComponents(array(
+$verificationData1 = new OpenAPI\Client\Model\MultipleComponents(array(
'primary_line' => '185 BERRY ST STE 6600',
'city' => 'SAN FRANCISCO',
'state' => 'CA',
@@ -1219,20 +1234,20 @@ try {
```bash
curl https://api.lob.com/v1/us_verifications \
-u : \
- -d "primary_line=210 King Street" \
+ -d "primary_line=2261 Market Street" \
-d "city=San Francisco" \
-d "state=CA" \
- -d "zip_code=94017" \
+ -d "zip_code=94114" \
```
```php
$apiInstance = new OpenAPI\Client\Api\UsVerificationsApi($config, new GuzzleHttp\Client());
$verificationData = new OpenAPI\Client\Model\UsVerificationsWritable(array(
- 'primary_line' => '210 King Street',
+ 'primary_line' => '2261 Market Street',
'city' => 'San Francisco',
'state' => 'CA',
- 'zip_code' => '94017',
+ 'zip_code' => '94114',
));
try {
diff --git a/config.php b/config.php
index 60547c2..f1706c0 100644
--- a/config.php
+++ b/config.php
@@ -19,11 +19,11 @@
$to = new OpenAPI\Client\Model\AddressEditable(
array(
"name" => "Harry Zhang",
- "address_line1" => "210 King St",
- "address_line2" => "# 6100",
+ "address_line1" => "2261 Market Street",
+ "address_line2" => "STE 5668",
"address_city" => "San Francisco",
"address_state" => "CA",
- "address_zip" => "94107",
+ "address_zip" => "94114",
)
);
diff --git a/docs/Model/SingleLineAddress.md b/docs/Model/SingleLineAddress.md
index d878be6..ab0a177 100644
--- a/docs/Model/SingleLineAddress.md
+++ b/docs/Model/SingleLineAddress.md
@@ -4,6 +4,6 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**address** | **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** | **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]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/docs/Model/UsVerificationsWritable.md b/docs/Model/UsVerificationsWritable.md
old mode 100644
new mode 100755
index f1de8c3..754b0da
--- a/docs/Model/UsVerificationsWritable.md
+++ b/docs/Model/UsVerificationsWritable.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**address** | **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** | **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** | **string** | The intended recipient, typically a person's or firm's name. | [optional]
**primary_line** | **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]
**secondary_line** | **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/lib/Model/UsVerificationsWritable.php b/lib/Model/UsVerificationsWritable.php
index 382bb92..c813edb 100755
--- a/lib/Model/UsVerificationsWritable.php
+++ b/lib/Model/UsVerificationsWritable.php
@@ -310,7 +310,7 @@ public function getAddress()
/**
* Sets address
*
- * @param string|null $address 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._
+ * @param string|null $address 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._
*
* @return self
*/
diff --git a/test/Integration/IdentityValidationApiSpecTest.php b/test/Integration/IdentityValidationApiSpecTest.php
index 20f6de2..4d37ae9 100644
--- a/test/Integration/IdentityValidationApiSpecTest.php
+++ b/test/Integration/IdentityValidationApiSpecTest.php
@@ -64,7 +64,7 @@ public static function setUpBeforeClass(): void
self::$cityStateMultiLineAddress = new MultiLineAddress();
self::$cityStateMultiLineAddress->setRecipient("Lob.com");
- self::$cityStateMultiLineAddress->setPrimaryLine("210 King St");
+ self::$cityStateMultiLineAddress->setPrimaryLine("2261 Market Street");
self::$cityStateMultiLineAddress->setCity("San Francisco");
self::$cityStateMultiLineAddress->setState("CA");
}
@@ -104,8 +104,8 @@ public function testIdentityValidationWithZipCode()
{
$zipCodeMultiLineAddress = new MultiLineAddress();
$zipCodeMultiLineAddress->setRecipient("Lob.com");
- $zipCodeMultiLineAddress->setPrimaryLine("210 King St");
- $zipCodeMultiLineAddress->setZipCode("94107");
+ $zipCodeMultiLineAddress->setPrimaryLine("2261 Market Street");
+ $zipCodeMultiLineAddress->setZipCode("94114");
try {
$identityValidationObject = self::$identityValidationApi->validate($zipCodeMultiLineAddress);
@@ -142,8 +142,8 @@ public function testIdentityValidationBadParameter()
try {
// error validation object
$invalidAddress = new MultiLineAddress();
- $invalidAddress->setPrimaryLine("210 King St");
- $invalidAddress->setZipCode("94107");
+ $invalidAddress->setPrimaryLine("2261 Market Street");
+ $invalidAddress->setZipCode("94114");
$this->expectException(\Exception::class);
$this->expectExceptionMessageMatches("/recipient is required/");
diff --git a/test/Integration/UsVerificationsApiSpecTest.php b/test/Integration/UsVerificationsApiSpecTest.php
index 7bb148b..a4a83b5 100644
--- a/test/Integration/UsVerificationsApiSpecTest.php
+++ b/test/Integration/UsVerificationsApiSpecTest.php
@@ -70,10 +70,10 @@ public static function setUpBeforeClass(): void
self::$invalidUsvApi = new UsVerificationsApi($wrongConfig);
self::$validAddress1 = new UsVerificationsWritable();
- self::$validAddress1->setPrimaryLine("210 KING ST");
+ self::$validAddress1->setPrimaryLine("2261 Market Street");
self::$validAddress1->setCity("SAN FRANCISCO");
self::$validAddress1->setState("CA");
- self::$validAddress1->setZipCode("94107");
+ self::$validAddress1->setZipCode("94114");
self::$validAddress2 = new UsVerificationsWritable();
self::$validAddress2->setPrimaryLine("001 CEMETERY LN");
@@ -83,10 +83,10 @@ public static function setUpBeforeClass(): void
self::$validAddress2->setZipCode("07000");
$mc1 = new MultipleComponents();
- $mc1->setPrimaryLine("210 KING ST");
+ $mc1->setPrimaryLine("2261 Market Street");
$mc1->setCity("SAN FRANCISCO");
$mc1->setState("CA");
- $mc1->setZipCode("94107");
+ $mc1->setZipCode("94114");
$mc2 = new MultipleComponents();
$mc2->setPrimaryLine("001 CEMETERY LN");
@@ -183,10 +183,10 @@ public function testBulkUsVerificationError()
{
try {
$mc1 = new MultipleComponents();
- $mc1->setPrimaryLine("210 KING ST");
+ $mc1->setPrimaryLine("2261 Market Street");
$mc1->setCity("SAN FRANCISCO");
$mc1->setState("CA");
- $mc1->setZipCode("94107");
+ $mc1->setZipCode("94114");
// second entry has no primary line, should error
$mc2 = new MultipleComponents();
diff --git a/test/assets/lobster-family.csv b/test/assets/lobster-family.csv
index 480ef97..09a05dd 100644
--- a/test/assets/lobster-family.csv
+++ b/test/assets/lobster-family.csv
@@ -1,12 +1,12 @@
recipient,primary line,city,state,zip_code
-Larry Lobster,210 King St,San Francisco,CA,94107
-Lloyd Lobster,210 King St,San Francisco,CA,94107
-Lisa Lobster,210 King St,San Francisco,CA,94107
-Linda Lobster,210 King St,San Francisco,CA,94107
-Leith Lobster,210 King St,San Francisco,CA,94107
+Larry Lobster,2261 Market Street,San Francisco,CA,94114
+Lloyd Lobster,2261 Market Street,San Francisco,CA,94114
+Lisa Lobster,2261 Market Street,San Francisco,CA,94114
+Linda Lobster,2261 Market Street,San Francisco,CA,94114
+Leith Lobster,2261 Market Street,San Francisco,CA,94114
Lala Lobster,Not A Real Street,San Francisco,CA,94107
Krusty Krab,212 King St,San Francisco,CA,94107
Patrick Star,211 King St,San Francisco,CA,94107
Christopher Crawdad,209 King St,San Francisco,CA,94107
-Lost Lobster,210 King St,,CA,
+Lost Lobster,2261 Market Street,,CA,