You are here

public static function Braintree_Customer::createNoValidate in Commerce Braintree 7

attempts the create operation assuming all data will validate returns a Braintree_Customer object instead of a Result

@access public

Parameters

array $attribs:

Return value

object

Throws

Braintree_Exception_ValidationError

76 calls to Braintree_Customer::createNoValidate()
Braintree_AddressTest::testCreate in braintree_php/tests/integration/AddressTest.php
Braintree_AddressTest::testCreateNoValidate in braintree_php/tests/integration/AddressTest.php
Braintree_AddressTest::testCreateNoValidate_withValidationErrors in braintree_php/tests/integration/AddressTest.php
Braintree_AddressTest::testCreate_withValidationErrors in braintree_php/tests/integration/AddressTest.php
Braintree_AddressTest::testCreate_withValidationErrors_onCountryCodes in braintree_php/tests/integration/AddressTest.php

... See full list

File

braintree_php/lib/Braintree/Customer.php, line 104

Class

Braintree_Customer
Creates and manages Customers

Code

public static function createNoValidate($attribs = array()) {
  $result = self::create($attribs);
  return self::returnObjectOrThrowException(__CLASS__, $result);
}