public function encode( $charset ) {
		$this->merchantId         = base64_encode( $this->merchantId );
		$this->account            = base64_encode( $this->account );
		$this->amount             = base64_encode( $this->amount );
		$this->authCode           = base64_encode( $this->authCode );
		$this->batchId            = base64_encode( $this->batchId );
		$this->cavv               = base64_encode( $this->cavv );
		$this->cvnResult          = base64_encode( $this->cvnResult );
		$this->eci                = base64_encode( $this->eci );
		$this->commentOne         = base64_encode( $this->commentOne );
		$this->commentTwo         = base64_encode( $this->commentTwo );
		$this->message            = base64_encode( $this->message );
		$this->pasRef             = base64_encode( $this->pasRef );
		$this->hash               = base64_encode( $this->hash );
		$this->result             = base64_encode( $this->result );
		$this->xid                = base64_encode( $this->xid );
		$this->orderId            = base64_encode( $this->orderId );
		$this->timeStamp          = base64_encode( $this->timeStamp );
		$this->AVSAddressResult   = base64_encode( $this->AVSAddressResult );
		$this->AVSPostCodeResult = base64_encode( $this->AVSPostCodeResult );

		if (is_array($this->tss)) {
			foreach ( $this->tss as $key => $value ) {
				$this->tss[ $key ] = base64_encode( $value );
			}
		}

		if (is_array($this->supplementaryData)) {
			foreach ( $this->supplementaryData as $key => $value ) {
				$this->supplementaryData[ $key ] = base64_encode( $value );
			}
		}

		return $this;
	}