diff --git a/app/code/community/Bitpay/Bitcoins/Model/Source/Speed.php b/app/code/community/Bitpay/Bitcoins/Model/Source/Speed.php index 76b556b..145a1c6 100644 --- a/app/code/community/Bitpay/Bitcoins/Model/Source/Speed.php +++ b/app/code/community/Bitpay/Bitcoins/Model/Source/Speed.php @@ -1,24 +1,40 @@ 'low', - 'label' => 'Low', - ), - array( - 'value' => 'medium', - 'label' => 'Medium', - ), - array( - 'value' => 'high', - 'label' => 'High', - )); - } +/** + * ©2011,2012,2013,2014 BITPAY, INC. + * + * Permission is hereby granted to any person obtaining a copy of this software + * and associated documentation for use and/or modification in association with + * the bitpay.com service. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + * Bitcoin payment plugin using the bitpay.com service. + * + */ + +class Bitpay_Bitcoins_Model_Source_Speed { + public function toOptionArray() { + return array( + array( + 'value' => 'low', + 'label' => 'Low', + ), + array( + 'value' => 'medium', + 'label' => 'Medium', + ), + array( + 'value' => 'high', + 'label' => 'High', + )); + } } -?> \ No newline at end of file +?>