original_string: public function parameterize($method)
      {
          $parameterArray = parent::parameterize($method);
  
          if ('create' == $method) {
              if($this->getChecksumAction()) {
                  $parameterArray['checksum_action'] = $this->getChecksumAction();
              }
  
              if($this->getShippingAddress()) {
                  $parameterArray['shipping_address'] = $this->getShippingAddress();
              }
  
              if($this->getBillingAddress()) {
                  $parameterArray['billing_address'] = $this->getBillingAddress();
              }
  
              if($this->getItems()) {
                  $parameterArray['items'] = $this->getItems();
              }
  
              if($this->getShippingAmount()) {
                  $parameterArray['shipping_amount'] = $this->getShippingAmount();
              }
  
              if($this->getHandlingAmount()) {
                  $parameterArray['handling_amount'] = $this->getHandlingAmount();
              }
  
              if($this->getRequireReusablePayment()) {
                  $parameterArray['require_reusable_payment'] = $this->getRequireReusablePayment();
              }
  
              if($this->getReusablePaymentDescription()) {
                  $parameterArray['reusable_payment_description'] = $this->getReusablePaymentDescription();
              }
  
          }
  
          return $parameterArray;
      }
code: public function parameterize($method)
      {
          $parameterArray = parent::parameterize($method);
  
          if ('create' == $method) {
              if($this->getChecksumAction()) {
                  $parameterArray['checksum_action'] = $this->getChecksumAction();
              }
  
              if($this->getShippingAddress()) {
                  $parameterArray['shipping_address'] = $this->getShippingAddress();
              }
  
              if($this->getBillingAddress()) {
                  $parameterArray['billing_address'] = $this->getBillingAddress();
              }
  
              if($this->getItems()) {
                  $parameterArray['items'] = $this->getItems();
              }
  
              if($this->getShippingAmount()) {
                  $parameterArray['shipping_amount'] = $this->getShippingAmount();
              }
  
              if($this->getHandlingAmount()) {
                  $parameterArray['handling_amount'] = $this->getHandlingAmount();
              }
  
              if($this->getRequireReusablePayment()) {
                  $parameterArray['require_reusable_payment'] = $this->getRequireReusablePayment();
              }
  
              if($this->getReusablePaymentDescription()) {
                  $parameterArray['reusable_payment_description'] = $this->getReusablePaymentDescription();
              }
  
          }
  
          return $parameterArray;
      }
code_tokens: public function parameterize ( $ method ) { $ parameterArray = parent :: parameterize ( $ method ) ; if ( 'create' == $ method ) { if ( $ this -> getChecksumAction ( ) ) { $ parameterArray [ 'checksum_action' ] = $ this -> getChecksumAction ( ) ; } if ( $ this -> getShippingAddress ( ) ) { $ parameterArray [ 'shipping_address' ] = $ this -> getShippingAddress ( ) ; } if ( $ this -> getBillingAddress ( ) ) { $ parameterArray [ 'billing_address' ] = $ this -> getBillingAddress ( ) ; } if ( $ this -> getItems ( ) ) { $ parameterArray [ 'items' ] = $ this -> getItems ( ) ; } if ( $ this -> getShippingAmount ( ) ) { $ parameterArray [ 'shipping_amount' ] = $ this -> getShippingAmount ( ) ; } if ( $ this -> getHandlingAmount ( ) ) { $ parameterArray [ 'handling_amount' ] = $ this -> getHandlingAmount ( ) ; } if ( $ this -> getRequireReusablePayment ( ) ) { $ parameterArray [ 'require_reusable_payment' ] = $ this -> getRequireReusablePayment ( ) ; } if ( $ this -> getReusablePaymentDescription ( ) ) { $ parameterArray [ 'reusable_payment_description' ] = $ this -> getReusablePaymentDescription ( ) ; } } return $ parameterArray ; }
docstring: Converts the model into an array to prepare method calls
  @param string $method should be used for handling the required parameter
  @return array
docstring_tokens: Converts the model into an array to prepare method calls