public static function buildClassName($name)
{
$responseKeysToClassNames = ['creditCard' => 'Braintree\\CreditCard', 'customer' => 'Braintree\\Customer', 'subscription' => 'Braintree\\Subscription', 'transaction' => 'Braintree\\Transaction', 'verification' => 'Braintree\\CreditCardVerification', 'addOn' => 'Braintree\\AddOn', 'discount' => 'Braintree\\Discount', 'plan' => 'Braintree\\Plan', 'address' => 'Braintree\\Address', 'settlementBatchSummary' => 'Braintree\\SettlementBatchSummary', 'merchantAccount' => 'Braintree\\MerchantAccount'];
return (string) $responseKeysToClassNames[$name];
}