src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php
public function formatRequest($charSet)
	{
	    $this->account = $this->nullToEmptyString($this->account);
	    $this->amount = $this->nullToEmptyString($this->amount);
	    $this->autoSettleFlag = $this->nullToEmptyString($this->autoSettleFlag);
	    $this->billingCode = $this->nullToEmptyString($this->billingCode);
	    $this->billingCountry = $this->nullToEmptyString($this->billingCountry);
	    $this->cardPaymentButtonText = $this->nullToEmptyString($this->cardPaymentButtonText);
	    $this->cardStorageEnable = $this->nullToEmptyString($this->cardStorageEnable);
	    $this->commentOne = $this->nullToEmptyString($this->commentOne);
	    $this->commentTwo = $this->nullToEmptyString($this->commentTwo);
	    $this->currency = $this->nullToEmptyString($this->currency);
	    $this->customerNumber = $this->nullToEmptyString($this->customerNumber);
	    $this->hash = $this->nullToEmptyString($this->hash);
	    $this->language = $this->nullToEmptyString($this->language);
	    $this->merchantId = $this->nullToEmptyString($this->merchantId);
	    $this->offerSaveCard = $this->nullToEmptyString($this->offerSaveCard);
	    $this->orderId = $this->nullToEmptyString($this->orderId);
	    $this->payerExists = $this->nullToEmptyString($this->payerExists);
	    $this->payerReference = $this->nullToEmptyString($this->payerReference);
	    $this->paymentReference = $this->nullToEmptyString($this->paymentReference);
	    $this->productId = $this->nullToEmptyString($this->productId);
	    $this->returnTss = $this->nullToEmptyString($this->returnTss);
	    $this->shippingCode = $this->nullToEmptyString($this->shippingCode);
	    $this->shippingCountry = $this->nullToEmptyString($this->shippingCountry);
	    $this->timeStamp = $this->nullToEmptyString($this->timeStamp);
	    $this->variableReference = $this->nullToEmptyString($this->variableReference);
	    $this->validateCardOnly = $this->nullToEmptyString($this->validateCardOnly);
	    $this->dccEnable = $this->nullToEmptyString($this->dccEnable);
	    $this->hppVersion = $this->nullToEmptyString($this->hppVersion);
	    $this->hppSelectStoredCard = $this->nullToEmptyString($this->hppSelectStoredCard);
	    $this->postResponse = $this->nullToEmptyString($this->postResponse);
	    $this->postDimensions = $this->nullToEmptyString($this->postDimensions);
	    
	    if (is_array($this->supplementaryData)) {
	        foreach ($this->supplementaryData as $key => $value) {
	            $this->supplementaryData[$key] = $this->nullToEmptyString($value);
	        }
	    }
	    
	    return $this;
	}
public function formatRequest($charSet)
	{
	    $this->account = $this->nullToEmptyString($this->account);
	    $this->amount = $this->nullToEmptyString($this->amount);
	    $this->autoSettleFlag = $this->nullToEmptyString($this->autoSettleFlag);
	    $this->billingCode = $this->nullToEmptyString($this->billingCode);
	    $this->billingCountry = $this->nullToEmptyString($this->billingCountry);
	    $this->cardPaymentButtonText = $this->nullToEmptyString($this->cardPaymentButtonText);
	    $this->cardStorageEnable = $this->nullToEmptyString($this->cardStorageEnable);
	    $this->commentOne = $this->nullToEmptyString($this->commentOne);
	    $this->commentTwo = $this->nullToEmptyString($this->commentTwo);
	    $this->currency = $this->nullToEmptyString($this->currency);
	    $this->customerNumber = $this->nullToEmptyString($this->customerNumber);
	    $this->hash = $this->nullToEmptyString($this->hash);
	    $this->language = $this->nullToEmptyString($this->language);
	    $this->merchantId = $this->nullToEmptyString($this->merchantId);
	    $this->offerSaveCard = $this->nullToEmptyString($this->offerSaveCard);
	    $this->orderId = $this->nullToEmptyString($this->orderId);
	    $this->payerExists = $this->nullToEmptyString($this->payerExists);
	    $this->payerReference = $this->nullToEmptyString($this->payerReference);
	    $this->paymentReference = $this->nullToEmptyString($this->paymentReference);
	    $this->productId = $this->nullToEmptyString($this->productId);
	    $this->returnTss = $this->nullToEmptyString($this->returnTss);
	    $this->shippingCode = $this->nullToEmptyString($this->shippingCode);
	    $this->shippingCountry = $this->nullToEmptyString($this->shippingCountry);
	    $this->timeStamp = $this->nullToEmptyString($this->timeStamp);
	    $this->variableReference = $this->nullToEmptyString($this->variableReference);
	    $this->validateCardOnly = $this->nullToEmptyString($this->validateCardOnly);
	    $this->dccEnable = $this->nullToEmptyString($this->dccEnable);
	    $this->hppVersion = $this->nullToEmptyString($this->hppVersion);
	    $this->hppSelectStoredCard = $this->nullToEmptyString($this->hppSelectStoredCard);
	    $this->postResponse = $this->nullToEmptyString($this->postResponse);
	    $this->postDimensions = $this->nullToEmptyString($this->postDimensions);
	    
	    if (is_array($this->supplementaryData)) {
	        foreach ($this->supplementaryData as $key => $value) {
	            $this->supplementaryData[$key] = $this->nullToEmptyString($value);
	        }
	    }
	    
	    return $this;
	}
Format (non-encoded) request, remove null values

@param string $charSet

@return HppRequest