def to_hash
        hash = Hash.new
        hash.merge!(response_header: @response_header.to_h) if @response_header
        hash.merge!(capture_id: @capture_id) if @capture_id
        hash.merge!(status: @status) if @status