public static function Braintree_Address::createNoValidate in Commerce Braintree 7
attempts the create operation assuming all data will validate returns a Braintree_Address object instead of a Result
@access public
Parameters
array $attribs:
Return value
object
Throws
Braintree_Exception_ValidationError
8 calls to Braintree_Address::createNoValidate()
- Braintree_AddressTest::testCreateNoValidate in braintree_php/
tests/ integration/ AddressTest.php - Braintree_AddressTest::testCreateNoValidate_withValidationErrors in braintree_php/
tests/ integration/ AddressTest.php - Braintree_AddressTest::testDelete in braintree_php/
tests/ integration/ AddressTest.php - Braintree_AddressTest::testUpdate in braintree_php/
tests/ integration/ AddressTest.php - Braintree_AddressTest::testUpdateNoValidate in braintree_php/
tests/ integration/ AddressTest.php
File
- braintree_php/
lib/ Braintree/ Address.php, line 68
Class
- Braintree_Address
- Creates and manages Braintree Addresses
Code
public static function createNoValidate($attribs) {
$result = self::create($attribs);
return self::returnObjectOrThrowException(__CLASS__, $result);
}