Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
Fix capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
keithbrink committed Jul 30, 2018
1 parent 00b8357 commit 07181ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/AmazonPrepInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function setSkus($s)
}

/**
* Sets the shipToCountryCode. (Required*).
* Sets the ShipToCountryCode. (Required*).
*
* This method sets the country code to be sent in the next request.
*
Expand All @@ -75,15 +75,15 @@ public function setCountryCode($s)
{
if (is_string($s)) {
$this->resetCountryCode();
$this->options['shipToCountryCode'] = $s;
$this->options['ShipToCountryCode'] = $s;
} else {
return false;
}
}

private function resetCountryCode()
{
unset($this->options['shipToCountryCode']);
unset($this->options['ShipToCountryCode']);
}

/**
Expand Down Expand Up @@ -166,7 +166,7 @@ public function fetchPrepInstructions()
return false;
}

if (!array_key_exists('shipToCountryCode', $this->options)) {
if (!array_key_exists('ShipToCountryCode', $this->options)) {
$this->log('Country Code must be set in order to get prep instructions!', 'Warning');

return false;
Expand Down

0 comments on commit 07181ff

Please sign in to comment.