original_string: protected function hydrateBuyerData(HpsBuyerData $buyer)
      {
          return array(
              'BillingAddress1'    => $buyer->address->address,
              'BillingCity'        => $buyer->address->city,
              'BillingCountryCode' => $buyer->countryCode,
              'BillingFirstName'   => $buyer->firstName,
              'BillingLastName'    => $buyer->lastName,
              'BillingMiddleName'  => $buyer->middleName,
              'BillingPhone'       => $buyer->phoneNumber,
              'BillingPostalCode'  => $buyer->address->zip,
              'BillingState'       => $buyer->address->state,
          );
      }
code: protected function hydrateBuyerData(HpsBuyerData $buyer)
      {
          return array(
              'BillingAddress1'    => $buyer->address->address,
              'BillingCity'        => $buyer->address->city,
              'BillingCountryCode' => $buyer->countryCode,
              'BillingFirstName'   => $buyer->firstName,
              'BillingLastName'    => $buyer->lastName,
              'BillingMiddleName'  => $buyer->middleName,
              'BillingPhone'       => $buyer->phoneNumber,
              'BillingPostalCode'  => $buyer->address->zip,
              'BillingState'       => $buyer->address->state,
          );
      }
code_tokens: protected function hydrateBuyerData ( HpsBuyerData $ buyer ) { return array ( 'BillingAddress1' => $ buyer -> address -> address , 'BillingCity' => $ buyer -> address -> city , 'BillingCountryCode' => $ buyer -> countryCode , 'BillingFirstName' => $ buyer -> firstName , 'BillingLastName' => $ buyer -> lastName , 'BillingMiddleName' => $ buyer -> middleName , 'BillingPhone' => $ buyer -> phoneNumber , 'BillingPostalCode' => $ buyer -> address -> zip , 'BillingState' => $ buyer -> address -> state , ) ; }
docstring: Converts HpsBuyerData into expected format for Cardinal
  
  @param HpsBuyerData $buyer buyer information
  
  @return array<string, string>
docstring_tokens: Converts HpsBuyerData into expected format for Cardinal